useMIDI
Type Definitions
DeferredTask contains information describing the task being deferred
SysParmType configuration data defined in non-volatile clock-chip RAM
QHdr structure found at the start of a queue
QElem generic queue element
DateTimeRec structure used in GetTime, Date2Secs, et.al
SysEnvRec structure used by SysEnvirons
typedef unsigned short QTypes;
typedef unsigned char TrapType;
Note: all 'raw seconds' values are a count of seconds which have elapsed since
Midnight January 1, 1904.
Standard queue types for En queue, et. al
vType 1 vertical retrace queue element
ioQType 2 file I/O or device I/O queue element
drvType 3 drive queue
evType 4 event queue
fsQType 5 volume queue
macXLMachine 0 machine codes returned from Environs
macMachine 1
OSTrap 0 trap types for NGetTrapAddress
ToolTrap 1
useFree 0
useATalk 1
useAsync 2
useExtClk 3 Externally clocked
useMIDI
curSysEnvVers 2 Updated to equal latest SysEnvirons version
Constants used in SysEnvRec; ie, calls to SysEnvirons
envXL -2 Mac XL / Lisa
envMac -1 original Mac with 64K ROMs
envMachUnknown 0 some Mac newer than Mac II
env512KE 1 Mac 512K Enhanced
envMacPlus 2 Mac Plus
envSE 3 Mac SE
envMacII 4 Mac II
envMacIIx 5 Mac IIx
envMacIIcx 6 Mac IIcx
envSE30 7 Mac SE30
envPor table 8 Mac Por table
envMacIIci 9 Mac IIci
envMacIIfx 11 Mac IIfx
envCPUUnknown 0 some CPU newer than 68020
env68000 1 MC68000 processor
env68010 2 MC68010 processor
env68020 3 MC68020 processor
env68030 4 MC68030 processor
env68040 5 MC68040 processor
envUnknownKbd 0 some newer keyboard than listed below
envMacKbd 1 Original Mac Keyboard
envMacAndPad 2 original with separate keypad
envMacPlusKbd 3 Macintosh Plus Keyboard
envAExtendKbd 4 Apple Extended Keyboard.See Extended Keyboard
envStandADBKbd 5 Standard ADB keyboard. See Mac II Keyboard
envPrtblADBKbd 6
envPrtblISOKbd 7
envStdISOADBKbd 8
envExtISOADBKbd 9
Addressing mode constants
false32b 0 24-bit addressing mode
true32b 1 32-bit addressing mode
Result types for RelString call
sortsBefore -1 first string < second string
sortsEqual 0 first string = second string
sortsAfter 1 first string > second string
Values for QTypes
dummyType 0
vType 1
ioQType 2
drvQType 3
evType 4
fsQType 5
sIQType 6
dtQType 7
Do not use low memory global variables that are not documented.
No undocumented location below the system heap is guaranteed to be available
for use in future systems.
Variables
Name Address Size Description
CrsrThresh 0x08EC 2 mouse scaling threshold
DTQueue 0x0D92 10 Deferred task queue header
JDTInstall 0x0D9C 4 Jump vector for DTInstall routine
MMU32Bit 0x0CB2 1 current address mode
SdVolume 0x260 1 (low 3 bits) speaker volume (0=off; 7=loudest)
SPAlarm 0x0200 2 fields of SysParmType (see that topic)
SPATalkA 0x01F9 1
SPATalkB 0x01FA 1
SPClikCaret 0x0209 1
SPConfig 0x01FB 1
SPFont 0x0204 2
SPKbd 0x0206 1
SPMisc2 0x020B 1
SPPortA 0x01FC 2
SPPortB 0x01FE 2
SPPrint 0x0207 1
SPValid 0x01F8 1
SPVolCtl 0x0208 1
SysParam 0x01F8 20 SysParmType system configuration record
SysVersion 0x015A 2 RAM-based operating system version number
Time 0x020C 4 seconds elapsed since Midnight 01/01/1904