mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
111 lines
1.6 KiB
Plaintext
111 lines
1.6 KiB
Plaintext
|
||
; Definitions for offsets in ZCPR33 code
|
||
|
||
offvers equ 5 ; Offset to version byte
|
||
offopt equ 6 ; Offset to first option byte
|
||
offparse equ 16 ; Offset to entry point to REPARSE
|
||
offscan equ 22 ; Offset to entry point for SCAN
|
||
offcmd equ 25 ; Offset to command table
|
||
|
||
; Offset in message buffer for new data
|
||
|
||
offcdrv equ 2fh ; Current drive
|
||
offcusr equ 2eh
|
||
offsrun equ 2dh ; SUBMIT running flag
|
||
offxsub equ 2ch ; XSUB input redirection flag
|
||
|
||
; Bit positions and offsets within option bytes of various options
|
||
|
||
obadduecp equ 0
|
||
bbadduecp equ 7
|
||
|
||
orootonly equ 0
|
||
brootonly equ 6
|
||
|
||
ondrenv equ 0
|
||
bndrenv equ 5
|
||
|
||
ofcpenv equ 0
|
||
bfcpenv equ 4
|
||
|
||
orcpenv equ 0
|
||
brcpenv equ 3
|
||
|
||
oinclenv equ 0
|
||
binclenv equ 2
|
||
|
||
oaduenv equ 0
|
||
baduenv equ 1
|
||
|
||
oduenv equ 0
|
||
bduenv equ 0
|
||
|
||
ohighuser equ 1
|
||
bhighuser equ 7
|
||
|
||
odrvprefix equ 1
|
||
bdrvprefix equ 6
|
||
|
||
oscancur equ 1
|
||
bscancur equ 5
|
||
|
||
oincldir equ 1
|
||
bincldir equ 4
|
||
|
||
oincldu equ 1
|
||
bincldu equ 3
|
||
|
||
odufirst equ 1
|
||
bdufirst equ 2
|
||
|
||
oaccptdir equ 1
|
||
baccptdir equ 1
|
||
|
||
oaccptdu equ 1
|
||
baccptdu equ 0
|
||
|
||
opwcheck equ 2
|
||
bpwcheck equ 6
|
||
|
||
opwnoecho equ 2
|
||
bpwnoecho equ 5
|
||
|
||
owdu equ 2
|
||
bwdu equ 4
|
||
|
||
owpass equ 2
|
||
bwpass equ 3
|
||
|
||
owprefix equ 2
|
||
bwprefix equ 2
|
||
|
||
ofastecp equ 2
|
||
bfastecp equ 1
|
||
|
||
oskippath equ 2
|
||
bskippath equ 0
|
||
|
||
oshellif equ 3
|
||
bshellif equ 7
|
||
|
||
oattsys equ 3
|
||
battsys equ 6
|
||
|
||
oattdir equ 3
|
||
battdir equ 5
|
||
|
||
oattchk equ 3
|
||
battchk equ 4
|
||
|
||
osubecho equ 3
|
||
bsubecho equ 3
|
||
|
||
osubquiet equ 3
|
||
bsubquiet equ 2
|
||
|
||
osubclue equ 3
|
||
bsubclue equ 1
|
||
|
||
osubon equ 3
|
||
bsubon equ 0
|
||
|