-
Notifications
You must be signed in to change notification settings - Fork 85
/
equate
55 lines (55 loc) · 1.23 KB
/
equate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.PAGE 'EQUATE'
;
; EQUATES
;
ROM = $C000 ; START OF DOS
LRF = $80
DYFILE = $40
OVRFLO = $20
NSSL = 6
SSIOFF = 4+NSSL+NSSL
NSSP = 120
HITRK = 5
MXCHNS = 8
MAXSA = 18
CR = $0D ; CARRIAGE RETURN
BFCNT = 12
BAMJOB = BFCNT
BAM0 = $4100
BAM1 = $4200
CBPTR = BAMJOB+BAMJOB+4
ERRCHN = MXCHNS-1
ERRSA = 16
CMDCHN = MXCHNS-2
LXINT = $3F
CMDSA = 15
APMODE = 2
MDMODE = 3
RDMODE = 0
WTMODE = 1
RELTYP = 4 ; RELATIVE TYPE FILE
DIRTYP = 7 ; DIRECT TYPE FILE
SEQTYP = 1 ; SEQUENTIAL TYPE FILE
PRGTYP = 2 ; PROGRAM TYPE FILE
USRTYP = 3 ; USER TYPE FILE
TYPMSK = 7
IRSA = 17 ; INTERNAL READ CHANNEL
IWSA = 18 ; INTERNAL WRITE CHANNEL
DOSVER = 2 ; DOS VERSION
;
;CONTROLLER JOB TYPES
;
READ = $80 ; READ
WRITE = $90 ; WRITE
WVERFY = $A0 ; WRITE VERIFY
SEEK = $B0 ; SEEK
SECSEK = $B8 ; SECTOR SEEK
BUMP = $C0 ; RESTORE
JUMPC = $D0 ; JUMP
EXEC = $E0 ; EXECUTE
MXFILS = 5 ; MAX # FILENAMES IN STRING
CMDIND = 30 ; CMD BUFFER INDEX (*2)
DIRLEN = 24 ; DIRECTORY LENGTH USED
NBSIZ = 27 ; NAMBUF TEXT SIZE
CMDLEN = 58 ; COMMAND LENGTH
.END