About
Docs
Files
Support
Index

Essentials
AutoDocs
Library functions
Cooperate
Process mastering
Debug
Own debugging kit
FGE
Smart modeid pick
Loader
Shared lib. loader
Macros
Helper macros
Structs
All the structures
Logs
Library changelogs
Tools
Progs baked inside

Tools
amiscreen0.3
ansifilter0.1
auto2guide0.1
ccfilter0.1
chipset0.1
cputype0.1
device640.1
dupfilter0.1
expandlogs0.1
findsm0.2
fmpp0.1
fsmount0.1
genanim0.3
gensymtab0.1
hashlab0.4
ktm0.6
linkpoint0.1
logo2ilbm0.1
lpradio0.1
lzwpack0.1
minism0.2
mkheader0.1
modeidctrl0.1
mss0.6
multisum0.3
newterm0.2
numconv0.1
palhack1.1
patmat0.1
pfr0.2
playamitape0.1
qdbflags0.1
qfill0.1
resmodinit0.2
sadctrl0.2
saveassign0.1
setanim0.2
systime0.1
tokendump0.1
uassign0.1
viewlogo0.1
waitback0.4
wrapmount0.1



C
H
I
P
S
E
T

chipset-0.1
------------

---

If you ever needed to tell what chipset your Miggy is running on or what is
currently being emulated by software then here it is, a proggy that reports
chipset of effect.

---

NOTES:

[*]
Requires 68020(no FPU)+, OS3.x(absolute minimum)+, 2+ kilos of free memory.

[*]
Output can be either textual of numerical(it all depends on how the command
will be invoked).  Each chipset was given its numerical value in such a way
that the lowest  possible value means less  features and the  highest means
most  features. The  assignments  are: 0 = OCS, 1 = ECS, 2 = AGA.  This way
AmigaDOS 'if-else-endif' comes in handy.

---

HELP:

   > chipset ?

     ENVVARNAME



   ENVVARNAME  -  When passed then that name will be used as an environment
                  variable which will hold the  chipset type as an integer!
                  If not passed then the chipset of effect will be shown as
                  text.

---

USAGE:

   ; Informational output, the chipset name will be
   ; printed
   chipset

   ; Practical usage, the  '$CHIPSET' will memorise
   ; the value
   chipset CHIPSET
   echo "$CHIPSET"


   ; Example  script, we  set the dummy  chipset in
   ; order to protect from lack of 'chipset'
   failat 21
   set CHIPSET 2
   chipset CHIPSET
   if $CHIPSET eq 2 val
     echo "Oh yeah! Smells like 256 colors for me!"
   endif
   if $CHIPSET eq 1 val
     echo "Enhanced eh? At least High Res is here!"
   endif
   if $CHIPSET eq 0 val
     echo "Mooooh! Wotcha using, an old Amiga 500?"
   endif

---
megacz
    
































No more fear cus pure HTML is here!
Copyright (C) 2013-2014 by Burnt Chip Dominators