annotate level1/cmds/dir.asm @ 200:e9ce43cc215e

Made major changes to headers for consistency and identification
author boisy
date Mon, 15 Jul 2002 03:42:42 +0000
parents 6641a883d6b0
children bdd31b961b6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 ********************************************************************
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2 * Dir - Show directory
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 * ------------------------------------------------------------------
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 0
diff changeset
8 * 5 From Tandy OS-9 Level One VR 02.00.00
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 0
diff changeset
9 * 7 Made compliant with 1900-2155 BGP 99/05/11
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 nam Dir
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 ttl Show directory
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 * Disassembled 99/04/11 17:39:33 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 use defsfile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19
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
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 edition set 7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 mod eom,name,tylg,atrv,start,size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 u0000 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 u0002 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 u0003 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 u0004 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 u0005 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 u0006 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 u0007 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 u0008 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 u0009 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 u000A rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 u000B rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 u000C rmb 3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 u000F rmb 3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 u0012 rmb 29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 u002F rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 u0030 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 u0031 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 u0032 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 u0033 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 u0035 rmb 6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 u003B rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 u003D rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 u003F rmb 530
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 size equ .
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 name fcs /Dir/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 fcb edition
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 L0011 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 fcs " Directory of "
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 L0020 fcc "."
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 L0022 fcc "@"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 WideDir fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 fcc "Owner Last modified Attributes Sector Bytecount Name"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 fcc "----- --------------- ---------- ------ --------- ----------"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 WideDirL equ *-WideDir
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 NrrwDir fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 fcc "Modified on Owner Name"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 fcc " Attr Sector Size"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 fcc "==============================="
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 NrrwDirL equ *-NrrwDir
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 start leay <u003F,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 sty <u000A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 clr <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 clr <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 clr <u0009
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82 lda #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83 ldb #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 std <u0007
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
85 pshs y,x,b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
86 lda #1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
87 ldb #$26
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
88 os9 I$GetStt
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
89 bcc L0111
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
90 cmpb #$D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
91 beq L011E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
92 puls y,x,b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
93 lbra L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
94 L0111 cmpx #80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
95 beq L011E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
96 inc <u0009
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
97 lda #$0A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
98 ldb #$14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
99 std <u0007
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
100 L011E puls y,x,b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
101 lbsr L032F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
102 lda ,-x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
103 cmpa #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
104 bne L012D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
105 leax >L0020,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
106 L012D stx <u0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
107 lda #$81
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
108 ora <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 pshs x,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
110 os9 I$Open
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111 sta <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
112 puls x,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
113 lbcs L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
114 os9 I$ChgDir
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
115 lbcs L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
116 pshs x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
117 leay >L0011,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
118 lbsr L02CC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
119 ldx <u0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
120 L0152 lda ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
121 lbsr L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
122 cmpx ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
123 bcs L0152
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
124 leas $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
125 lbsr L032F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
126 lbsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
127 lbsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
128 leax u000C,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
129 os9 F$Time
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
130 leax u000F,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
131 lbsr L0302
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
132 lbsr L02D7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
133 tst <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
134 beq L01A3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
135 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
136 ora <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
137 leax >L0022,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
138 os9 I$Open
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
139 lbcs L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
140 sta <u0005
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
141 tst <u0009
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
142 bne L0196
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
143 leax >WideDir,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
144 ldy #WideDirL
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
145 bra L019E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
146 L0196 leax >NrrwDir,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
147 ldy #NrrwDirL
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
148 L019E lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
149 os9 I$WritLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
150 L01A3 lda <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
151 ldx #$0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
152 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
153 ldu #$0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
154 os9 I$Seek
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
155 puls u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
156 lbra L0243
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
157 L01B5 tst <u0012
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
158 lbeq L0243
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
159 tst <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
160 bne L01D8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
161 leay <u0012,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
162 lbsr L02CC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
163 L01C5 lbsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
164 ldb <u000B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
165 subb #$3F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
166 cmpb <u0008
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
167 bhi L021C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
168 L01D0 subb <u0007
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
169 bhi L01D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
170 bne L01C5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
171 bra L0243
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
172 L01D8 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
173 lda <u0031
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
174 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
175 tfr d,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
176 ldx <u002F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
177 lda <u0005
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
178 os9 I$Seek
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
179 puls u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
180 bcs L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
181 leax <u0032,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
182 ldy #$000D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
183 os9 I$Read
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
184 bcs L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
185 tst <u0009
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
186 bne L0221
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
187 ldd <u0033
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
188 clr <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
189 bsr L0263
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
190 lbsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
191 lbsr L02ED
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
192 lbsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
193 lbsr L02B9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
194 lbsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
195 lbsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
196 bsr L025D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
197 bsr L026F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
198 leay <u0012,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
199 lbsr L02CC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
200 L021C lbsr L02D7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
201 bra L0243
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
202 L0221 lbsr L02ED
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
203 ldd <u0033
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
204 clr <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
205 bsr L0263
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
206 bsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
207 leay <u0012,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
208 lbsr L02CC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
209 lbsr L02D7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
210 lbsr L02B9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
211 bsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
212 bsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
213 bsr L025D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
214 bsr L026F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
215 lbsr L02D7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
216 L0243 leax <u0012,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
217 ldy #$0020
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
218 lda <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
219 os9 I$Read
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
220 lbcc L01B5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
221 cmpb #$D3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
222 bne L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
223 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
224 L0258 bsr L02D7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
225 os9 F$Exit
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
226 L025D lda <u002F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
227 bsr L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
228 ldd <u0030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
229 L0263 bsr L0289
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
230 tfr b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
231 bsr L027D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
232 inc <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
233 bsr L028B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
234 bra L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
235 L026F ldd <u003B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
236 bsr L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
237 tfr b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
238 bsr L0289
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
239 bsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
240 ldd <u003D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
241 bra L0263
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
242 L027D pshs a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
243 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
244 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
245 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
246 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
247 bsr L028D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
248 puls pc,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
249 L0287 clr <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
250 L0289 bsr L027D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
251 L028B anda #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
252 L028D tsta
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
253 beq L0292
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
254 sta <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
255 L0292 tst <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
256 bne L029A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
257 lda #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
258 bra L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
259 L029A adda #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
260 cmpa #$39
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
261 bls L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
262 adda #$07
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
263 bra L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
264 L02A4 lda #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
265 L02A6 pshs x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
266 ldx <u000A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
267 sta ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
268 stx <u000A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
269 puls pc,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
270 L02B0 fcc "dsewrewr"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
271 fcb $FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
272 L02B9 fcb $D6,$32
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
273 leax <L02B0,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
274 lda ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
275 L02C0 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
276 bcs L02C5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
277 lda #$2D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
278 L02C5 bsr L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
279 lda ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
280 bpl L02C0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
281 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
282 L02CC lda ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
283 anda #$7F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
284 bsr L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
285 lda ,y+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
286 bpl L02CC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
287 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
288 L02D7 pshs y,x,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
289 lda #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
290 bsr L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
291 leax <u003F,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
292 stx <u000A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
293 ldy #$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
294 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
295 os9 I$WritLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
296 puls pc,y,x,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
297 L02ED leax <u0035,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
298 ldb ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
299 cmpb #100
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
300 blo L1900
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
301 subb #100
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
302 cmpb #100
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
303 blo L2000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
304 L2100 subb #100
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
305 stb ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
306 ldb #21
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
307 bra PrCnty
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
308 L1900 stb ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
309 ldb #19
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
310 bra PrCnty
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
311 L2000 stb ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
312 ldb #20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
313 PrCnty bsr L030C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
314 bsr L030A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
315 bsr L02FE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
316 bsr L02FE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
317 bsr L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
318 bsr L030A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
319 bsr L030A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
320 bra L02A4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
321 L02FE lda #$2F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
322 bra L0308
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
323 L0302 bsr L030A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
324 bsr L0306
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
325 L0306 lda #$3A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
326 L0308 lbsr L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
327 L030A ldb ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
328 L030C lda #$2F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
329 cmpb #$64
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
330 bcs L0313
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
331 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
332 L0313 inca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
333 subb #$64
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
334 bcc L0313
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
335 cmpa #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
336 beq L031E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
337 lbsr L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
338 L031E lda #$3A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
339 L0320 deca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
340 addb #$0A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
341 bcc L0320
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
342 lbsr L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
343 tfr b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
344 adda #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
345 lbra L02A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
346 L032F ldd ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
347 cmpa #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
348 beq L032F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
349 cmpa #$2C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
350 beq L032F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
351 eora #$45
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
352 anda #$DF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
353 bne L0347
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
354 cmpb #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
355 bcc L0347
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
356 inc <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
357 bra L032F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
358 L0347 lda -$01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
359 eora #$58
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
360 anda #$DF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
361 bne L0359
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
362 cmpb #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
363 bcc L0359
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
364 lda #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
365 sta <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
366 bra L032F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
367 L0359 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
368
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
369 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
370 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
371 end