annotate level1/cmds/format.asm @ 556:28a203bbd2cc

findstr and signal finished.
author roug
date Tue, 22 Oct 2002 19:09:04 +0000
parents b6c34acda06c
children 92b575ffa143
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 ********************************************************************
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
2 * Format - Disk format program
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 * $Id$
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 * ------------------------------------------------------------------
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
8 * 22 From Tandy OS-9 Level Two Vr. 2.00.01
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 nam Format
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
11 ttl Disk format program
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
13 * Disassembled 02/07/17 11:00:13 by Disasm v1.6 (C) 1988 by RML
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 ifp1
104
0859906a95a8 Test assembly turned up some issues. See Makefile
roug
parents: 0
diff changeset
16 use defsfile
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
17 use rbfdefs
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 endc
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
19
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 tylg set Prgrm+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 rev set $01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
23 edition set $16
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
24
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 mod eom,name,tylg,atrv,start,size
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
26
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
27 SavedU rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
28 DiskPath rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
29 CurrTrak rmb 2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 u0005 rmb 2
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
31 CurrSct rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 u0008 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 u0009 rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
34 u000A rmb 2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 u000C rmb 2
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
36 u000E rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
37 MFM rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 u0011 rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
39 T4896 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
40 u0013 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
41 u0014 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
42 NCyls rmb 2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 u0017 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 u0018 rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
45 Sectors rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 u001A rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
47 Sectors0 rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 u001C rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
49 DType rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
50 u001E rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 u001F rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
52 u0020 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
53 Interlv rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
54 u0022 rmb 2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 u0024 rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
56 u0025 rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 u0026 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 u0027 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 u0028 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 u0029 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 u002A rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 u002B rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 u002C rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
64 u002D rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
65 u002E rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 u002F rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 u0030 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 u0031 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 u0032 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 u0033 rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
71 u0034 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
72 u0035 rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 u0036 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 u0038 rmb 2
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
75 u003A rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
76 u003C rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 u003D rmb 2
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
78 u003F rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
79 u0041 rmb 2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 u0043 rmb 1
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
81 u0044 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
82 u0045 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
83 DTEntry rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
84 u0048 rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
85 STOff rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
86 u004B rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
87 u004C rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
88 u004D rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
89 u004E rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
90 u004F rmb 1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
91 u0050 rmb 5
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
92 u0055 rmb 15
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
93 u0064 rmb 7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
94 u006B rmb 4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
95 u006F rmb 32
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
96 u008F rmb 40
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
97 u00B7 rmb 14
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
98 u00C5 rmb 12
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
99 TimePkt rmb 5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
100 u00D6 rmb 18
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
101 u00E8 rmb 14
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
102 u00F6 rmb 177
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
103 u01A7 rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
104 u01A9 rmb 2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
105 u01AB rmb 12
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
106 OptBuf rmb 256
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
107 u02B7 rmb 3
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
108 u02BA rmb 9924
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
109 u297E rmb 451
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
110 size equ .
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
111
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
112 name fcs /Format/
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 168
diff changeset
113 fcb edition
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
114
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
115 L0014 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
116 L0016 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
117 L0018 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
118 L001A fdb $80E5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
119 fdb $80E5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
120 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
121 L0020 fdb $0100
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
122 fdb $28FF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
123 fdb $0600
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
124 fdb $01FC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
125 fdb $0CFF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
126 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
127 fdb $0600
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
128 fdb $01FE
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
129 fdb $0400
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
130 fdb $01F7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
131 fdb $0AFF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
132 fdb $0600
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
133 fdb $01FB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
134 fdb $80E5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
135 fdb $80E5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
136 fdb $01F7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
137 fdb $0AFF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
138 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
139 fcb $Ff
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
140 fdb $0043
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
141 fdb $0128
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
142 L0049 fdb $504E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
143 fdb $0C00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
144 fdb $03F6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
145 fdb $01Fc
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
146 fdb $204E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
147 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
148 fdb $0C00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
149 fdb $03F5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
150 fdb $01FE
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
151 fdb $0400
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
152 fdb $01F7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
153 fdb $164E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
154 fdb $0C00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
155 fdb $03F5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
156 fdb $01FB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
157 fdb $80E5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
158 fdb $80E5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
159 fdb $01F7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
160 fdb $164E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
161 fdb $0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
162 fcb $4E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
163 fcb $00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
164 fcb $90
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
165 fcb $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
166 fcb $52 R
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
167 L0076 fcb $20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
168 fcb $4E N
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
169 fcb $00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
170 fcb $00
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
171 fcb $0C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
172 fcb $00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
173 fcb $03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
174 fcb $F5 u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
175 fcb $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
176 fcb $FE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
177 fcb $04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
178 fcb $00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
179 fcb $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
180 fcb $F7 w
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
181 fcb $16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
182 fcb $4E N
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
183 fcb $0C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
184 fcb $00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
185 fcb $03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
186 fcb $F5 u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
187 fcb $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
188 fcb $FB
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
189 fcb $80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
190 fcb $E5 e
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
191 fcb $80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
192 fcb $E5 e
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
193 fcb $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
194 fcb $F7 w
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
195 fcb $18
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
196 fcb $4E N
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
197 fcb $00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
198 fcb $00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
199 fcb $4E N
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
200 fcb $00
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
201 fcb $30 0
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
202 fcb $01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
203 fcb $54 T
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
204
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
205 start stu <SavedU
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
206 bsr ClrWork cleark work area
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
207 bsr OpenDev get device name and open it
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
208 bsr L011A
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
209 lbsr GetDTyp
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
210 lbsr L03C7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
211 lbsr L052F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
212 lbsr L0612
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
213 lbsr L0648
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
214 lbsr L0843
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
215 ldu <DTEntry
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
216 os9 I$Detach
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
217 clrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
218 L00BB os9 F$Exit
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
219 ClrWork leay DiskPath,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
220 pshs y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
221 leay >u00B7,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
222 L00C6 clr ,-y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
223 cmpy ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
224 bhi L00C6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
225 puls pc,y
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
226
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
227 OpenDev lda ,x+
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
228 cmpa #PDELIM
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
229 beq L00DA
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
230 L00D5 ldb #E$BPNam
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
231 lbra L0961
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
232 L00DA os9 F$PrsNam
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
233 lbcs L0961
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
234 lda #PDELIM
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
235 cmpa ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
236 beq L00D5
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
237 sty <u0022
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
238 leay <u004F,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
239 L00ED sta ,y+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
240 lda ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
241 decb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
242 bpl L00ED
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
243 leax <u0050,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
244 lda #C$SPAC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
245 sta ,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
246 clra
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
247 os9 I$Attach
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
248 lbcs L0961
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
249 stu <DTEntry
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
250 ldu <SavedU
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
251 lda #PENTIR
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
252 ldb #C$SPAC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
253 std ,y
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
254 lda #WRITE.
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
255 leax <u004F,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
256 os9 I$Open
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
257 bcs L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
258 sta <DiskPath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
259 rts
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
260
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
261 L011A bsr GetOpts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
262 bsr L0183
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
263 lbsr L025E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
264 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
265
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
266 GetOpts leax >OptBuf,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
267 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
268 os9 I$GetStt
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
269 bcs L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
270 ldb PD.SID-PD.OPT,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
271 stb <u0013
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
272 stb <u0014
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
273 ldb PD.SToff-PD.OPT,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
274 beq L0143
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
275 tfr b,a
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
276 anda #$0F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
277 sta <STOff
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
278 lsrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
279 lsrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
280 lsrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
281 lsrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
282 stb <u004B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
283 L0143 ldb PD.DNS-PD.OPT,x
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
284 pshs b
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
285 andb #DNS.MFM
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
286 stb <MFM
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
287 stb <u0011
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
288 ldb ,s
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
289 lsrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
290 pshs b
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
291 andb #$01 (PD.DTD)
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
292 stb <T4896
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
293 puls b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
294 lsrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
295 andb <u0011
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
296 stb <u004C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
297 puls b
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
298 ldb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
299 stb <u004D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
300 beq L0169
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
301 stb <u004B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
302 clr <STOff
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
303 L0169 ldd PD.CYL-PD.OPT,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
304 std <NCyls
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
305 ldb PD.TYP-PD.OPT,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
306 stb <DType
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
307 ldd PD.SCT-PD.OPT,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
308 std <Sectors
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
309 ldd PD.T0S-PD.OPT,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
310 std <Sectors0
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
311 ldb PD.ILV-PD.OPT,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
312 stb <Interlv
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
313 ldb #$01
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
314 stb <u0027
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
315 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
316 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
317 L0183 ldx <u0022
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
318 L0185 leay >OptTbl,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
319 bsr L019C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
320 bcs L01A5
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
321 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
322 ldd $02,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
323 leay d,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
324 puls b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
325 jsr ,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
326 bcc L0185
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
327 lbra L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
328 L019C lda ,x+
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
329 L019E cmpa ,y
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
330 bne L01A6
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
331 ldb $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
332 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
333 L01A5 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
334 L01A6 leay $04,y
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
335 tst ,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
336 bne L019E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
337 coma
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
338 rts
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
339
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
340 OptTbl
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
341 opt.1 fcc /R/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
342 fcc /Y/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
343 fdb DoReady-opt.1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
344 opt.2 fcc /r/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
345 fcc /Y/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
346 fdb DoReady-opt.2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
347 opt.3 fcc /"/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
348 fcb $00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
349 fdb DoQuote-opt.3
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
350 opt.4 fcc /:/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
351 fcb $00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
352 fdb DoColon-opt.4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
353 opt.5 fcc /1/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
354 fcb $01
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
355 fdb Do1-opt.5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
356 opt.6 fcc /2/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
357 fcb $02
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
358 fdb Do2-opt.6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
359 opt.7 fcc /'/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
360 fcb 0
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
361 fdb DoSQuote-opt.7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
362 opt.8 fcc /L/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
363 fcb $01
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
364 fdb DoL-opt.8
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
365 opt.9 fcc /l/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
366 fcb 01
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
367 fdb DoL-opt.9
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
368 opt.10 fcc /(/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
369 fcb $00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
370 fdb DoLParen-opt.10
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
371 opt.11 fcc /)/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
372 fcb $00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
373 fdb DoRParen-opt.11
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
374 opt.12 fcc /,/
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
375 fcb $00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
376 fdb DoComa-opt.12
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
377 opt.13 fcb C$SPAC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
378 fcb 00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
379 fdb DoSpace-opt.13
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
380
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
381 fcb $00
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
382
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
383 cmpb <u0011
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
384 bgt L01FE
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
385 cmpb <u004C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
386 blt L01FE
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
387 stb <MFM
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
388 clrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
389
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
390 DoComa
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
391 DoRParen
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
392 DoLParen
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
393 DoSpace rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
394
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
395 DoReady stb <u001E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
396 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
397
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
398 Do2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
399 Do1 cmpb <u0013
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
400 bgt L01FE
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
401 stb <u0013
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
402 clrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
403 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
404
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
405 DoL stb <u004E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
406 clrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
407 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
408
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
409 L01FE leax >AbortOp,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
410 lbra L06F9
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
411
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
412 DoQuote leay <u006F,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
413 ldb #C$SPAC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
414 L020A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
415 koQuote lda ,x+
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
416 cmpa #'"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
417 beq L0221
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
418 sta ,y+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
419 decb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
420 bne L020A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
421 L0215 ldb ,x+
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
422 cmpb #'"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
423 beq L0227
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
424 cmpb #C$SPAC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
425 bcc L0215
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
426 bra L0227
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
427 L0221 lda #C$SPAC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
428 cmpb #C$SPAC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
429 beq L022B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
430 L0227 leay -$01,y
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
431 lda ,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
432 L022B adda #$80
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
433 sta ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
434 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
435 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
436
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
437 DoSQuote lbsr L092C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
438 ldd <u001F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
439 std <NCyls
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
440 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
441
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
442 DoColon lbsr L092C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
443 ldd <u001F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
444 tsta
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
445 beq L0243
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
446 ldb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
447 L0243 stb <Interlv
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
448 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
449 lbsr L092C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
450 ldd <u001F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
451 tsta
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
452 beq L0250
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
453 ldb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
454 L0250 stb <u0027
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
455 negb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
456 decb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
457 andb <u0027
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
458 beq L025C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
459 ldb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
460 stb <u0027
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
461 L025C clrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
462 L025D rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
463 L025E leax >Title,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
464 lbsr L02E2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
465 leay >OptBuf,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
466 ldx PD.T0S-PD.OPT,y
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
467 tst <MFM
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
468 beq L0271
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
469 ldx PD.SCT-PD.OPT,y
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
470 L0271 stx <Sectors
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
471 leax >FmtMsg,pcr
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
472 ldy #FmtMLen
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
473 lbsr L02E6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
474 leax <u004F,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
475 tfr x,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
476 L0283 lda ,y+
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
477 cmpa #PENTIR
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
478 bne L0283
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
479 pshs y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
480 lda #C$CR
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
481 sta -$01,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
482 lbsr L02E2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
483 puls y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
484 lda #PENTIR
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
485 sta -$01,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
486 lda <u001E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
487 bne L02BC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
488 tst <DType
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
489 bpl L02AB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
490 leax >HDFmt,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
491 ldy #$002A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
492 lbsr L02E6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
493 L02AB leax >Query,pcr
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
494 ldy #QueryLen
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
495 lbsr L02EC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
496 anda #$DF
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
497 cmpa #'Y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
498 bne L02D5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
499 L02BC tst <DType
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
500 bpl L025D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
501 leax >HDFmt,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
502 ldy #$0038
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
503 lbsr L02EC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
504 anda #$DF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
505 cmpa #'Y
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
506 beq L025D
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
507 clrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
508 lbra L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
509 L02D5 clrb
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
510 cmpa #'N
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
511 lbeq L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
512 bra L02AB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
513 L02DE leax >HelpCR,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
514 L02E2 ldy #80
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
515 L02E6 lda #$01
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
516 os9 I$WritLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
517 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
518 L02EC pshs u,y,x,b,a
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
519 bsr L02E6
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
520 leax ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
521 ldy #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
522 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
523 os9 I$Read
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
524 lbcs L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
525 bsr L02DE
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
526 puls u,y,x,b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
527 anda #$7F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
528 rts
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
529
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
530 GetDTyp leax >L001A,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
531 stx <u000A
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
532 ldb <DType
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
533 bitb #TYP.HARD+TYP.NSF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
534 bne L0323
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
535 tst <u004D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
536 beq L031B
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
537 leax >L0076,pcr
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
538 bra L032D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
539 L031B leax >L0020,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
540 tst <MFM
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
541 beq L032D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
542 L0323 stx <u000A
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
543 leax >L0049,pcr
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
544 tst <u004C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
545 beq L032F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
546 L032D stx <u000A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
547 L032F stx <u000C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
548 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
549 ldb <u0013
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
550 tfr d,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
551 clrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
552 ldx <NCyls
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
553 bsr L0379
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
554 exg d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
555 subd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
556 bcc L0344
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
557 leax -$01,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
558 L0344 exg d,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
559 ldy <Sectors
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
560 bsr L0379
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
561 exg d,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
562 addd <Sectors0
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
563 std <u0025
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
564 exg d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
565 adcb #$00
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
566 stb <u0024
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
567 lda #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
568 pshs a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
569 ldx <u0025
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
570 ldb <u0024
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
571 bsr L03C2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
572 lda <u0027
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
573 pshs a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
574 bsr L03C2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
575 tstb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
576 beq L0374
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
577 leax >ClustMsg,pcr
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
578 lbsr L02E2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
579 lbra L05B1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
580 L0374 leas $02,s
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
581 stx <u0028
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
582 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
583 L0379 lda #$08
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
584 L037B clr ,-s
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
585 deca
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
586 bne L037B
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
587 sty ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
588 stb $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
589 stx $03,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
590 L0387 ldd ,s
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
591 beq L03AA
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
592 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
593 rorb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
594 std ,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
595 bcc L039D
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
596 ldd $03,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
597 addd $06,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
598 std $06,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
599 lda $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
600 adca $05,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
601 sta $05,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
602 L039D ldd $03,s
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
603 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
604 rola
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
605 std $03,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
606 lda $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
607 rola
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
608 sta $02,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
609 bra L0387
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
610 L03AA leas $05,s
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
611 puls pc,x,b
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
612 L03AE pshs x,b
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
613 lsr ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
614 ror $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
615 ror $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
616 puls x,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
617 exg d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
618 adcb #$00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
619 adca #$00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
620 exg d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
621 adcb #$00
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
622 L03C2 lsr $02,s
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
623 bne L03AE
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
624 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
625 L03C7 tst <u004E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
626 bne L03E4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
627 tst <DType
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
628 bpl L03E5
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
629 leax >Both,pcr
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
630 ldy #BothLen
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
631 lbsr L02EC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
632 anda #$DF
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
633 cmpa #'Y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
634 beq L03E5
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
635 cmpa #'N
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
636 bne L03C7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
637 L03E4 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
638 L03E5 lda <DiskPath
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
639 ldb #SS.Reset
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
640 os9 I$SetStt
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
641 lbcs L00BB
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
642 ldd #$0000
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
643 std <CurrTrak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
644 inca
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
645 sta <CurrSct
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
646 L03F8 clr <u0005
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
647 L03FA bsr L045C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
648 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
649 ldd <CurrTrak
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
650 addd <u0048
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
651 tfr d,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
652 clrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
653 tst <u004D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
654 bne L041B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
655 tst <MFM
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
656 beq L041D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
657 tst <u004C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
658 bne L041B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
659 tst <CurrTrak+1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
660 bne L041B
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
661 tst <u0005
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
662 beq L041D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
663 L041B orb #$02
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
664 L041D tst <T4896
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
665 beq L0423
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
666 orb #$04
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
667 L0423 lda <u0005
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
668 beq L0429
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
669 orb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
670 L0429 tfr d,y
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
671 lda <DiskPath
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
672 ldb #SS.WTrk
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
673 os9 I$SetStt
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
674 lbcs L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
675 ldu <SavedU
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
676 ldb <u0005
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
677 incb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
678 stb <u0005
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
679 cmpb <u0013
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
680 bcs L03FA
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
681 ldd <CurrTrak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
682 addd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
683 std <CurrTrak
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
684 cmpd <NCyls
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
685 bcs L03F8
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
686 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
687 L044E ldy <u000E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
688 L0451 ldd ,y++
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
689 beq L046B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
690 L0455 stb ,x+
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
691 deca
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
692 bne L0455
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
693 bra L0451
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
694 L045C lda <DType
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
695 bita #$C0
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
696 beq L046C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
697 ldy <u000C
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
698 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
699 bsr L0451
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
700 L046B rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
701 L046C ldy <u000C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
702 ldb <u001A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
703 tst <CurrTrak+1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
704 bne L047E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
705 tst <u0005
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
706 bne L047E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
707 ldy <u000A
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
708 ldb <u001C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
709 L047E sty <u000E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
710 stb <u0009
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
711 stb <u0018
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
712 bsr L04EC
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
713 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
714 bsr L0451
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
715 sty <u000E
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
716 L0490 bsr L044E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
717 dec <u0009
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
718 bne L0490
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
719 lda ,y+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
720 sty <u000E
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
721 stx <u003D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
722 leay >u297E,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
723 sty <u001F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
724 tfr a,b
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
725 L04A6 std ,x++
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
726 cmpx <u001F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
727 bcs L04A6
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
728 ldy <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
729 ldd ,y++
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
730 std <u003F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
731 ldd ,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
732 std <u0041
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
733 clr <u0009
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
734 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
735 ldd <u003F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
736 leay >u008F,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
737 L04C3 leax d,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
738 ldd <CurrTrak+1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
739 adda <STOff
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
740 std ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
741 ldb <u0009
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
742 lda b,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
743 incb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
744 stb <u0009
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
745 ldb <CurrSct
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
746 adda <u004B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
747 bcs L04E5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
748 std $02,x
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
749 lda <u0009
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
750 cmpa <u0018
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
751 bcc L04E4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
752 ldd <u0041
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
753 bra L04C3
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
754 L04E4 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
755 L04E5 leax >AbortSct,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
756 lbra L06F9
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
757 L04EC pshs y,b
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
758 tfr b,a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
759 ldb <CurrTrak+1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
760 cmpb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
761 bhi L0518
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
762 leax >u008F,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
763 leay a,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
764 ldb <Interlv
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
765 bne L0507
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
766 L0500 leax >AbortIlv,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
767 lbra L06F9
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
768 L0507 cmpb <u0018
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
769 bhi L0500
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
770 nega
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
771 pshs y,x,b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
772 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
773 L050F sta ,x
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
774 inca
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
775 cmpa <u0018
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
776 bne L051A
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
777 leas $06,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
778 L0518 puls pc,y,b
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
779 L051A ldb <Interlv
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
780 abx
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
781 cmpx $04,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
782 bcs L0525
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
783 ldb ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
784 leax b,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
785 L0525 cmpx $02,s
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
786 bne L050F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
787 leax $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
788 stx $02,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
789 bra L050F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
790 L052F lbsr L0898
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
791 ldd <u0025
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
792 std $01,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
793 ldb <u0024
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
794 stb ,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
795 ldd <Sectors
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
796 std <$11,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
797 stb $03,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
798 lda <u0027
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
799 sta $07,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
800 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
801 ldb <u0028
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
802 tst <u0029
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
803 beq L054F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
804 addd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
805 L054F addd #$0001
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
806 std $09,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
807 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
808 tst <MFM
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
809 beq L0561
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
810 ora #$02
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
811 tst <u004C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
812 beq L0561
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
813 ora #$08
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
814 L0561 ldb <u0013
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
815 cmpb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
816 beq L0569
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
817 ora #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
818 L0569 tst <T4896
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
819 beq L056F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
820 ora #$04
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
821 L056F sta <$10,x
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
822 ldd <u0028
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
823 std $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
824 lda #$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
825 sta $0D,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
826 leax >TimePkt,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
827 os9 F$Time
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
828 leax >u00D6,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
829 leay <u006F,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
830 tst ,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
831 beq L0594
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
832 L058C lda ,y+
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
833 sta ,x+
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
834 bpl L058C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
835 bra L05C7
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
836 L0594 leax >DName,pcr
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
837 ldy #DNameLen
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
838 lbsr L02E6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
839 leax >u00D6,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
840 ldy #$0021
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
841 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
842 os9 I$ReadLn
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
843 bcc L05B8
168
3a847d2b4492 Cobbler, OS9Gen and format are all hardware dependent.
roug
parents: 162
diff changeset
844 cmpa #E$EOF
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
845 bne L0594
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
846 L05B1 leax >Aborted,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
847 lbra L06F9
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
848 L05B8 tfr y,d
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
849 leax d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
850 clr ,-x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
851 decb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
852 beq L0594
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
853 lda ,-x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
854 ora #$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
855 sta ,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
856 L05C7 leax >TimePkt,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
857 leay <$40,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
858 pshs y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
859 ldd #$0000
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
860 L05D3 addd ,x++
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
861 cmpx ,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
862 bcs L05D3
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
863 leas $02,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
864 std >u00C5,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
865 ldd >L0014,pcr
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
866 std >u01A7,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
867 ldd >L0016,pcr
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
868 std >u01A9,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
869 ldd >L0018,pcr
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
870 std >u01AB,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
871 lda <DiskPath
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
872 ldb #SS.Opt
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
873 leax >u00F6,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
874 os9 I$GetStt
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
875 ldb #SS.Reset
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
876 os9 I$SetStt
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
877 lbcs L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
878 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
879 lbra L08A4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
880 L0612 lda <DiskPath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
881 os9 I$Close
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
882 leax <u004F,u
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
883 lda #READ.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
884 os9 I$Open
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
885 lbcs L06F5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
886 sta <DiskPath
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
887 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
888 ldy #256
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
889 os9 I$Read
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
890 lbcs L06F5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
891 lda <DiskPath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
892 os9 I$Close
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
893 leax <u004F,u
162
3310d08dd353 Analysis of format.
roug
parents: 119
diff changeset
894 lda #UPDAT.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
895 os9 I$Open
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
896 lbcs L06F5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
897 sta <DiskPath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
898 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
899 L0648 lda <DType
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
900 clr <u0045
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
901 bita #$80
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
902 beq L0667
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
903 L0650 leax >Verify,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
904 ldy #VerifyL
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
905 lbsr L02EC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
906 anda #$DF
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
907 cmpa #$59
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
908 beq L0667
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
909 cmpa #$4E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
910 bne L0650
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
911 sta <u0045
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
912 L0667 ldd <Sectors0
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
913 std <u0017
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
914 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
915 clrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
916 std <u0036
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
917 std <CurrTrak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
918 std <u0008
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
919 std <u0032
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
920 stb <u0031
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
921 sta <u003C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
922 leax >OptBuf,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
923 stx <u0038
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
924 lbsr L089C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
925 leax >$0100,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
926 stx <u003A
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
927 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
928 ldb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
929 std <u0034
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
930 lda <u0027
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
931 sta <u002B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
932 clr <u002A
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
933 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
934 ldb <u0028
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
935 tst <u0029
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
936 beq L069D
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
937 addd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
938 L069D addd #$0009
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
939 std <u002D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
940 lda <u0027
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
941 L06A4 lsra
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
942 bcs L06B5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
943 lsr <u002D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
944 ror <u002E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
945 bcc L06A4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
946 inc <u002E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
947 bne L06A4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
948 inc <u002D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
949 bra L06A4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
950 L06B5 ldb <u002E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
951 stb <u002F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
952 lda <u0027
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
953 mul
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
954 std <u002D
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
955 subd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
956 subb <u0028
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
957 sbca #$00
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
958 tst <u0029
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
959 beq L06CC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
960 subd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
961 L06CC stb <u002C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
962 L06CE tst <u0045
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
963 bne L0700
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
964 lda <DiskPath
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
965 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
966 ldy #256
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
967 os9 I$Read
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
968 bcc L0700
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
969 os9 F$PErr
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
970 lbsr L08C8
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
971 lda #$FF
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
972 sta <u002A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
973 tst <u0031
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
974 bne L0700
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
975 ldx <u0032
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
976 cmpx <u002D
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
977 bhi L0700
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
978 L06F5 leax >BadSect,pcr
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
979 L06F9 lbsr L02E2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
980 clrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
981 lbra L00BB
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
982 L0700 ldd <u0008
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
983 addd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
984 std <u0008
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
985 cmpd <u0017
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
986 bcs L0745
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
987 clr <u0008
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
988 clr <u0009
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
989 tst <u0045
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
990 bne L073A
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
991 lda #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
992 pshs a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
993 lda <CurrTrak+1
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
994 lbsr L07A7
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
995 pshs b,a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
996 lda <CurrTrak
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
997 lbsr L07A7
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
998 pshs b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
999 tfr s,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1000 ldy #$0004
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1001 lbsr L02E6
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1002 lda $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1003 cmpa #$46
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1004 bne L0738
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1005 lbsr L02DE
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1006 L0738 leas $04,s
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1007 L073A ldd <CurrTrak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1008 addd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1009 std <CurrTrak
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1010 ldd <Sectors
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1011 std <u0017
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1012 L0745 dec <u002B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1013 bne L075B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1014 bsr L0784
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1015 tst <u002A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1016 bne L0755
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1017 ldx <u0036
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1018 leax $01,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1019 stx <u0036
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1020 L0755 clr <u002A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1021 lda <u0027
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1022 sta <u002B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1023 L075B ldb <u0031
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1024 ldx <u0032
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1025 leax $01,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1026 bne L0764
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1027 incb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1028 L0764 cmpb <u0024
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1029 bcs L076C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1030 cmpx <u0025
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1031 bcc L0773
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1032 L076C stb <u0031
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1033 stx <u0032
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1034 lbra L06CE
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1035 L0773 lda #$FF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1036 sta <u002A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1037 leay >OptBuf,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1038 L077B cmpy <u0038
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1039 beq L07BF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1040 bsr L0784
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1041 bra L077B
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1042 L0784 ldx <u0038
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1043 lda <u002A
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1044 rora
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1045 rol ,x+
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1046 inc <u003C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1047 lda <u003C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1048 cmpa #$08
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1049 bcs L07A6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1050 clr <u003C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1051 stx <u0038
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1052 cmpx <u003A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1053 bne L07A6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1054 bsr L0803
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1055 leax >OptBuf,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1056 stx <u0038
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1057 lbsr L089C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1058 L07A6 rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1059 L07A7 tfr a,b
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1060 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1061 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1062 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1063 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1064 andb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1065 addd #$3030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1066 cmpa #$39
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1067 bls L07B8
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1068 adda #$07
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1069 L07B8 cmpb #$39
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1070 bls L07BE
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1071 addb #$07
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1072 L07BE rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1073 L07BF lbsr L02DE
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1074 leax >NumGood,pcr
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1075 ldy #NumGoodLen
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1076 lbsr L02E6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1077 ldb <u0027
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1078 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1079 ldx <u0036
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1080 pshs x,a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1081 L07D4 lsrb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1082 bcs L07DF
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1083 lsl $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1084 rol $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1085 rol ,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1086 bra L07D4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1087 L07DF puls x,a
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1088 ldb #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1089 pshs b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1090 tfr d,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1091 tfr x,d
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1092 tfr b,a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1093 bsr L07A7
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1094 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1095 tfr x,d
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1096 bsr L07A7
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1097 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1098 tfr y,d
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1099 bsr L07A7
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1100 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1101 tfr s,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1102 lbsr L02E2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1103 leas $07,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1104 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1105 L0803 pshs y
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1106 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1107 ldb #$01
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1108 cmpd <u0034
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1109 bne L081E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1110 leax >OptBuf,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1111 clra
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1112 ldb <u002F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1113 tfr d,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1114 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1115 os9 F$AllBit
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1116 lbcs L06F5
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1117 L081E lbsr L08B2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1118 leax >OptBuf,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1119 lbsr L08A4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1120 ldd <u0024
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1121 cmpd <u0031
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1122 bcs L083A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1123 bhi L0837
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1124 ldb <u0026
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1125 cmpb <u0033
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1126 bcc L083A
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1127 L0837 lbsr L08C8
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1128 L083A ldd <u0034
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1129 addd #$0001
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1130 std <u0034
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1131 puls pc,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1132 L0843 bsr L08B2
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1133 leax >u02B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1134 bsr L089C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1135 leax >u02BA,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1136 os9 F$Time
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1137 leax >u02B7,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1138 lda #$BF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1139 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1140 lda #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1141 sta $08,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1142 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1143 ldb #$40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1144 std $0B,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1145 ldb <u002C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1146 decb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1147 stb <$14,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1148 ldd <u0034
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1149 addd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1150 std <$11,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1151 bsr L08A4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1152 bsr L0898
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1153 ldd #$2EAE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1154 std ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1155 stb <$20,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1156 ldd <u0034
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1157 std <$1E,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1158 std <$3E,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1159 bsr L08A4
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1160 bsr L0898
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1161 ldb <u002C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1162 decb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1163 L088C decb
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1164 bne L0890
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1165 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1166 L0890 pshs b
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1167 bsr L08A4
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1168 puls b
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1169 bra L088C
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1170 L0898 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1171 L089C clra
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1172 clrb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1173 L089E sta d,x
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1174 decb
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1175 bne L089E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1176 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1177 L08A4 lda <DiskPath
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1178 ldy #256
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1179 os9 I$Write
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1180 lbcs L00BB
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1181 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1182 L08B2 clra
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1183 ldb <u0034
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1184 tfr d,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1185 lda <u0035
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1186 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1187 tfr d,u
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1188 L08BC lda <DiskPath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1189 os9 I$Seek
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1190 ldu <SavedU
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1191 lbcs L00BB
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1192 rts
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1193 L08C8 ldx <u0031
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1194 lda <u0033
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1195 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1196 addd #$0100
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1197 tfr d,u
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1198 bcc L08BC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1199 leax $01,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1200 bra L08BC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1201 ldd ,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1202 leau >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1203 leax >L0920,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1204 ldy #$2F20
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1205 L08E6 leay >$0100,y
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1206 subd ,x
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1207 bcc L08E6
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1208 addd ,x++
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1209 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1210 ldd ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1211 tfr y,d
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1212 beq L090E
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1213 ldy #$2F30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1214 cmpd #$3020
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1215 bne L0908
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1216 ldy #$2F20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1217 tfr b,a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1218 L0908 sta ,u+
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1219 puls b,a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1220 bra L08E6
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1221 L090E sta ,u+
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1222 lda #C$CR
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1223 sta ,u
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1224 ldu <SavedU
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1225 leas $02,s
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1226 leax >u00B7,u
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1227 lbsr L02E2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1228 rts
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1229
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1230 L0920 fdb $2710,$03e8,$0064,$000a,$0001,$0000
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1231
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1232 L092C ldd #$0000
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1233 L092F bsr L093F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1234 bcs L0939
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1235 bne L092F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1236 std <u001F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1237 bne L093E
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1238 L0939 ldd #$0001
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1239 std <u001F
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1240 L093E rts
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1241 L093F pshs y,b,a
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1242 ldb ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1243 subb #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1244 cmpb #$0A
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1245 bcc L095D
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1246 lda #$00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1247 ldy #$000A
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1248 L094F addd ,s
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1249 bcs L095B
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1250 leay -$01,y
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1251 bne L094F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1252 std ,s
203
7dea3d77ba0b Used symbolics for andcc/orcc
boisy
parents: 200
diff changeset
1253 andcc #^Zero
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1254 L095B puls pc,y,b,a
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1255 L095D orcc #Zero
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1256 puls pc,y,b,a
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1257 L0961 lda #$02
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1258 os9 F$PErr
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1259 leax <HelpMsg,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1260 ldy #$0154
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1261 lda #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1262 os9 I$WritLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1263 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1264 os9 F$Exit
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1265
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1266 Title fcb C$LF
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1267 fcc "COLOR COMPUTER FORMATTER"
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1268 HelpCR fcb C$CR
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1269
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1270 HelpMsg fcc "Use: FORMAT /devname <opts>"
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1271 fcb C$LF
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1272 fcc " opts: R - Ready"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1273 fcb C$LF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1274 fcc " L - Logical format only"
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1275 fcb C$LF
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1276 fcc / "disk name"/
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1277 fcb C$LF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1278 fcc " 1/2 - number of sides"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1279 fcb C$LF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1280 fcc " 'No. of cylinders' (in decimal)"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1281 fcb C$LF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1282 fcc " :Interleave value: (in decimal)"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1283 fcb C$CR
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1284 HelpLen equ *-HelpMsg
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1285
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1286 FmtMsg fcc "Formatting drive "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1287 FmtMLen equ *-FmtMsg
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1288
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1289 Query fcc "y (yes) or n (no)"
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1290 fcb C$LF
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1291 fcc "Ready? "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1292 QueryLen equ *-Query
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1293 AbortIlv fcc "ABORT Interleave value out of range"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1294 fcb C$CR
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1295 AbortSct fcc "ABORT Sector number out of range"
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1296 fcb C$CR
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1297 AbortOp fcc "ABORT Option not allowed on Device"
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1298 fcb C$CR
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1299 DName fcc "Disk name: "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1300 DNameLen equ *-DName
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1301 fcc "How many Cylinders (Tracks?) : "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1302 BadSect fcc "Bad system sector, "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1303 Aborted fcc "FORMAT ABORTED"
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1304 fcb C$CR
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1305 ClustMsg fcc "Cluster size mismatch"
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1306 fcb C$CR
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1307 fcc "Double density? "
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1308 fcc "Track 0 Double density? "
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1309 TPIChg fcc "Change from 96tpi to 48tpi? "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1310 DSided fcc "Double sided? "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1311 NumGood fcc "Number of good sectors: $"
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1312 NumGoodLen equ *-NumGood
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1313 HDFmt fcc "WARNING: You are formatting a HARD Disk.."
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1314 fcb C$LF
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1315 fcc "Are you sure? "
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1316 HDFmtLen equ *-HDFmt
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1317 Both fcc "Both PHYSICAL and LOGICAL format? "
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1318 BothLen equ *-Both
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1319 Verify fcc "Physical Verify desired? "
312
b6c34acda06c Migrated from OS-9 Level Two
boisy
parents: 263
diff changeset
1320 VerifyL equ *-Verify
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1321
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1322 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1323 eom equ *
119
f418bf788bfa Disassembled format #17 from Tandy OS-9
boisy
parents: 104
diff changeset
1324 end