-
Notifications
You must be signed in to change notification settings - Fork 0
/
tables.aii
127 lines (118 loc) · 3.15 KB
/
tables.aii
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
string asis
tables record
export max_pcount
; this table is actually max+1
max_pcount
dc.w 0
dc.w 8 ; ($01) Create
dc.w 2 ; ($02) Destroy
dc.w 0 ; ($03) OS Shutdown
dc.w 4 ; ($04) Change Path
dc.w 13 ; ($05) Set File Info
dc.w 13 ; ($06) Get File Info
dc.w 7 ; ($07) Judge Name
dc.w 7 ; ($08) Volume
dc.w 0 ; ($09) Set Prefix
dc.w 0 ; ($0A) Get Prefix
dc.w 2 ; ($0B) Clear Backup Bit
dc.w 0 ; ($0C) Set Sys Prefs
dc.w 0 ; ($0D) Null
dc.w 0 ; ($0E) Expand Path
dc.w 0 ; ($0F) Get Sys Prefs
dc.w 16 ; ($10) Open
dc.w 0 ; ($11) NewLine
dc.w 6 ; ($12) Read
dc.w 6 ; ($13) Write
dc.w 2 ; ($14) Close
dc.w 3 ; ($15) Flush
dc.w 4 ; ($16) Set Mark
dc.w 3 ; ($17) Get Mark
dc.w 4 ; ($18) Set EOF
dc.w 3 ; ($19) Get EOF
dc.w 0 ; ($1A) Set Level
dc.w 0 ; ($1B) Get Level
dc.w 18 ; ($1C) Get Dir Entry
dc.w 0 ; ($1D)
dc.w 0 ; ($1E)
dc.w 0 ; ($1F)
dc.w 3 ; ($20) Get Dev Num
dc.w 0 ; ($21) Get Last Dev
dc.w 0 ; ($22) Read Block
dc.w 0 ; ($23) Write Block
dc.w 7 ; ($24) Format
dc.w 7 ; ($25) Erase Disk
dc.w 0 ; ($26)
dc.w 0 ; ($27) Get Name
dc.w 0 ; ($28) Get Boot Vol
dc.w 0 ; ($29) Quit
dc.w 0 ; ($2A) Get Version
dc.w 0 ; ($2B) Get FST Info
dc.w 0 ; ($2C) D_INFO
dc.w 0 ; ($2D) D_STATUS
dc.w 0 ; ($2E) D_CONTROL
dc.w 0 ; ($2F) D_READ
dc.w 0 ; ($30) D_WRITE
dc.w 0 ; ($31) Alloc Interrupt
dc.w 0 ; ($32) Dealloc Interrupt
dc.w 0 ; ($33) FST Specific
;
; gs/os checks minimums.
;
if 0 then
export min_pcount
min_pcount
dc.w 0
dc.w 1 ; ($01) Create
dc.w 1 ; ($02) Destroy
dc.w 0 ; ($03) OS Shutdown
dc.w 2 ; ($04) Change Path
dc.w 2 ; ($05) Set File Info
dc.w 2 ; ($06) Get File Info
dc.w 3 ; ($07) Judge Name
dc.w 2 ; ($08) Volume
dc.w 0 ; ($09) Set Prefix
dc.w 0 ; ($0A) Get Prefix
dc.w 1 ; ($0B) Clear Backup Bit
dc.w 0 ; ($0C) Set Sys Prefs
dc.w 0 ; ($0D) Null
dc.w 0 ; ($0E) Expand Path
dc.w 0 ; ($0F) Get Sys Prefs
dc.w 2 ; ($10) Open
dc.w 0 ; ($11) NewLine
dc.w 4 ; ($12) Read
dc.w 4 ; ($13) Write
dc.w 1 ; ($14) Close
dc.w 1 ; ($15) Flush
dc.w 3 ; ($16) Set Mark
dc.w 2 ; ($17) Get Mark
dc.w 3 ; ($18) Set EOF
dc.w 2 ; ($19) Get EOF
dc.w 0 ; ($1A) Set Level
dc.w 0 ; ($1B) Get Level
dc.w 5 ; ($1C) Get Dir Entry
dc.w 0 ; ($1D)
dc.w 0 ; ($1E)
dc.w 0 ; ($1F)
dc.w 2 ; ($20) Get Dev Num
dc.w 0 ; ($21) Get Last Dev
dc.w 0 ; ($22) Read Block
dc.w 0 ; ($23) Write Block
dc.w 3 ; ($24) Format
dc.w 3 ; ($25) Erase Disk
dc.w 0 ; ($26)
dc.w 0 ; ($27) Get Name
dc.w 0 ; ($28) Get Boot Vol
dc.w 0 ; ($29) Quit
dc.w 0 ; ($2A) Get Version
dc.w 0 ; ($2B) Get FST Info
dc.w 0 ; ($2C) D_INFO
dc.w 0 ; ($2D) D_STATUS
dc.w 0 ; ($2E) D_CONTROL
dc.w 0 ; ($2F) D_READ
dc.w 0 ; ($30) D_WRITE
dc.w 0 ; ($31) Alloc Interrupt
dc.w 0 ; ($32) Dealloc Interrupt
dc.w 1 ; ($33) FST Specific
endif
endr
end