annotate level2/cmds/mdir.asm @ 962:8a0993b04c8a

*** empty log message ***
author boisy
date Fri, 31 Jan 2003 17:35:49 +0000
parents 0303f3fa9df5
children bf6f854a4299
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 * MDir - Show module information
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 * ------------------------------------------------------------------
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 * 7 Original Tandy/Microware version
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
9 * 8 Changed option to -e, optimized slightly BGP 03/01/14
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
10 * Could use greater optimization
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 nam MDir
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 ttl Show module information
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 * Disassembled 98/09/11 11:57:27 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 use defsfile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 tylg set Prgrm+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 rev set $01
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
24 edition set 8
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 mod eom,name,tylg,atrv,start,size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 u0000 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 u0002 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 u0003 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 u0004 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 u0005 rmb 3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 u0008 rmb 3
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
34 narrow rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 u000C rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 u000D rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 u000E rmb 80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 u005E rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 u0060 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 u0062 rmb 4096
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 u1062 rmb 64
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 u10A2 rmb 269
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 size equ .
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 name fcs /MDir/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 fcb edition
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
48 header fcs " Module Directory at "
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
49 header2 fcs "Block Offset Size Typ Rev Attr Use Module Name"
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
50 header3 fcs "----- ------ ---- --- --- ---- ---- ------------"
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
51 sheader1 fcs "Blk Ofst Size Ty Rv At Uc Name"
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
52 sheader2 fcs "___ ____ ____ __ __ __ __ ______"
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
53 lock fcs "Lock "
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
54 slock fcs "Lk"
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 start pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 leau >u1062,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 L00D4 clr ,-u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 cmpu ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 bhi L00D4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 puls u
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
62 clr <narrow
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
63 ldd #$0C30
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 std <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 stx <u0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 leax u000E,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 stx <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 lbsr L02A3
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
69 lda #$01 standard output
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
70 ldb #SS.ScSiz get size of screen
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
71 os9 I$GetStt get it!
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
72 bcc L00FF branch if ok
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
73 cmpb #E$UnkSvc unknown service?
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
74 lbne L0241 branch if not
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
75 bra L010C else ignore screen width test
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
76 L00FF cmpx #50 compare against 50
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
77 bge L010C if greater or equal, go on
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
78 inc <narrow else set narrow flag
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
79 ldd #$0A15
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 std <u000C
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
81 L010C leay >header,pcr point to header
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82 lbsr L0298
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83 leax u0005,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 os9 F$Time
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
85 leax u0008,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
86 lbsr L02B8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
87 lbsr L02A3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
88 leax <u0062,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
89 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
90 os9 F$GModDr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
91 sty <u005E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
92 stu <u0060
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
93 puls u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
94 leax -$08,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
95 ldy <u0000
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
96 ldd ,y+
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
97 andb #$DF
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
98 cmpd #$2D45 -e option?
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
99 bne L018E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
100 lbsr L02A3
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
101 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
102 beq L0149
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
103 leay >sheader1,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
104 bra L014D
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
105 L0149 leay >header2,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
106 L014D lbsr L0298
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
107 lbsr L02A3
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
108 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 beq L015D
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
110 leay >sheader2,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111 bra L0161
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
112 L015D leay >header3,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
113 L0161 lbsr L0298
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
114 lbsr L02A3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
115 leax <u0062,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
116 lbra L023A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
117 L016D lbsr L0308
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
118 beq L018E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
119 lbsr L02DE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
120 lbsr L0298
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
121 L0178 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
122 ldb <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
123 subb #$0E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
124 cmpb <u000D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
125 bhi L018B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
126 L0183 subb <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
127 bhi L0183
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
128 bne L0178
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
129 bra L018E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
130 L018B lbsr L02A3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
131 L018E leax $08,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
132 cmpx <u005E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
133 bcs L016D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
134 lbsr L02A3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
135 lbra L0240
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
136 L019A lbsr L0308
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
137 lbeq L0238
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
138 tfr d,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
139 ldd ,y
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
140 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
141 beq L01B1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
142 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
143 lbsr L024C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
144 bra L01B4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
145 L01B1 lbsr L0244
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
146 L01B4 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
147 bne L01BE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
148 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
149 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
150 L01BE ldd $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
151 lbsr L0244
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
152 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
153 bne L01CA
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
154 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
155 L01CA lbsr L02DE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
156 leay >u10A2,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
157 ldd $02,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
158 bsr L0244
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
159 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
160 bne L01DC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
161 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
162 L01DC lda $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
163 bsr L0252
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
164 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
165 bne L01E7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
166 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
167 L01E7 lda $07,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
168 anda #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
169 bsr L0252
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
170 ldb $07,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
171 lda #$72
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
172 lbsr L0291
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
173 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
174 bne L0207
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
175 lda #$3F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
176 lbsr L0291
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
177 lda #$3F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
178 lbsr L0291
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
179 lda #$3F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
180 lbsr L0291
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
181 L0207 bsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
182 ldd $06,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
183 cmpd #$FFFF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
184 bne L0223
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
185 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
186 beq L021B
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
187 leay >slock,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
188 bra L021F
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
189 L021B leay >lock,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
190 L021F bsr L0298
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
191 bra L0230
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
192 L0223 tst <narrow
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
193 beq L022E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
194 lbsr L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
195 bsr L024C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
196 bra L0230
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
197 L022E bsr L0244
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
198 L0230 leay >u1062,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
199 bsr L0298
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
200 bsr L02A3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
201 L0238 leax $08,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
202 L023A cmpx <u005E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
203 lbcs L019A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
204 L0240 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
205 L0241 os9 F$Exit
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
206 L0244 bsr L0256
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
207 tst <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
208 bne L024C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
209 dec <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
210 L024C tfr b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
211 bsr L0258
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
212 bra L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
213 L0252 bsr L0256
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
214 bra L0285
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
215 L0256 clr <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
216 L0258 pshs a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
217 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
218 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
219 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
220 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
221 bsr L026C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
222 tst <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
223 bpl L0268
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
224 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
225 sta <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
226 L0268 lda ,s+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
227 anda #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
228 L026C tsta
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
229 beq L0271
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
230 sta <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
231 L0271 tst <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
232 bmi L0277
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
233 bne L027B
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
234 L0277 lda #C$SPAC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
235 bra L0287
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
236 L027B adda #'0
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
237 cmpa #'9
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
238 bls L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
239 adda #$07
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
240 bra L0287
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
241 L0285 lda #C$SPAC
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
242 L0287 pshs x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
243 ldx <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
244 sta ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
245 stx <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
246 puls pc,x
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
247
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
248 L0291 rolb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
249 bcs L0287
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
250 lda #'.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
251 bra L0287
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
252
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
253 L0298 lda ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
254 anda #$7F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
255 bsr L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
256 lda ,y+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
257 bpl L0298
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
258 rts
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
259
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
260 L02A3 pshs y,x,a
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
261 lda #C$CR
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
262 bsr L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
263 leax u000E,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
264 stx <u0003
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
265 ldy #80
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
266 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
267 os9 I$WritLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
268 puls pc,y,x,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
269 L02B8 bsr L02C0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
270 bsr L02BC
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
271 L02BC lda #':
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
272 bsr L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
273 L02C0 ldb ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
274 lda #$2F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
275 L02C4 inca
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
276 subb #100
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
277 bcc L02C4
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
278 cmpa #'0
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
279 beq L02CF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
280 bsr L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
281 L02CF lda #$3A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
282 L02D1 deca
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
283 addb #10
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
284 bcc L02D1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
285 bsr L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
286 tfr b,a
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
287 adda #'0
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
288 bra L0287
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
289 L02DE pshs u,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
290 bsr L0308
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
291 ldx $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
292 ldy #$000D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
293 leau >u10A2,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
294 os9 F$CpyMem
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
295 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
296 ldd u0004,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
297 leax d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
298 puls b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
299 ldu $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
300 leau >u1062,u
839
0303f3fa9df5 Changed e option to -e, optimized *slightly*
boisy
parents: 0
diff changeset
301 ldy #64
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
302 os9 F$CpyMem
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
303 tfr u,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
304 puls pc,u,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
305 L0308 ldd ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
306 beq L0319
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
307 pshs y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
308 leay <u0062,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
309 pshs y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
310 subd <u0060
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
311 addd ,s++
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
312 puls y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
313 L0319 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
314
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
315 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
316 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
317 end