undoCmd
'DRVR' code header offsets
drvrFlags 0 (word) various flags and permissions
drvrDelay 2 (word) ticks between system task calls
drvrEMask 4 (word) event mask
drvrMenu 6 (word) driver menu ID
drvrOpen 8 (word) open routine offset
drvrPrime 10 (word) prime routine offset
drvrCtl 12 (word) control routine offset
drvrStatus 14 (word) status routine offset
drvrClose 16 (word) warm start reset routine offset
drvrName 18 (word) length byte and name of driver
dNeedTime 5 set bit 5 of hi byte of drvrFlags if DA needs time
slice
cutCmd 2
copyCmd 3
pasteCmd 4
clearCmd 5
Driver messages found in cntrlParam.csCode
accEvent 0x40 event message from SystemEvent
accRun 0x41 run message from SystemTask
accCursor 0x42 cursor message from SystemTask
accMenu 0x43 menu message from SystemMenu
accUndo 0x44 undo message from SystemEdit
accCut 0x46 cut message from SystemEdit
accCopy 0x47 copy message from SystemEdit
accPaste 0x48 paste message from SystemEdit
accClear 0x49 clear message from SystemEdit
goodBye -1 goodbye message
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.
Name Address Size Description
MBarEnable 0x0A20 2 Menu ID for DA, when DA is active