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

Made major changes to headers for consistency and identification
author boisy
date Mon, 15 Jul 2002 03:42:42 +0000
parents fad2545d83fc
children 1810b051d07e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 ********************************************************************
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 188
diff changeset
2 * Copy - Copy files
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 * ------------------------------------------------------------------
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 188
diff changeset
8 * 9 From Tandy OS-9 Level Two VR 02.00.01
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 nam Copy
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 188
diff changeset
11 ttl Copy files
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
13 * Disassembled 02/07/06 13:08:43 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
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
16 use defsfile
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 endc
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
18
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 tylg set Prgrm+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 rev set $01
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 188
diff changeset
22 edition set 9
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
23
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 mod eom,name,tylg,atrv,start,size
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
25
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 u0000 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 u0001 rmb 1
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 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 u0006 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 u0008 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 u000A rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 u000C rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 u000E rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 u000F rmb 1
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
37 u0010 rmb 16
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
38 u0020 rmb 480
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 u0200 rmb 256
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 u0300 rmb 4096
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 size equ .
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 188
diff changeset
42
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 188
diff changeset
43 name fcs /Copy/
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 188
diff changeset
44 fcb edition
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
45
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
46 L0012 fcc "Ready SOURCE, hit C to continue: "
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
47 L0033 fcc "Ready DESTINATION, hit C to continue: "
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
48 L0059 fcb C$CR
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
49 L005A fcc "Use: Copy <Path1> <Path2> [-s]"
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
50 fcb C$LF
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
51 fcc " -s = single drive copy (Path2 must be complete pathlist)"
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
52 fcb C$CR
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
53 L00B4 fcb C$BELL
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
54 fcc "Error - write verification failed."
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
55 fcb C$CR
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
56
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
57 start leas >u0200,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 pshs u
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
59 leau <u0020,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 L00E1 clr ,-u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 cmpu ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 bhi L00E1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 tfr y,d
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 subd ,s++
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 subd #$0300
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 std <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 pshs x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 L00F4 lda ,x+
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
70 cmpa #'-
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 beq L0100
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 cmpa #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 bne L00F4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 bra L0113
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 L0100 ldd ,x+
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
76 eora #'S
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 anda #$DF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 bne L0110
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 cmpb #$30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 bcc L0110
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 inc <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82 bra L00F4
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
83 L0110 lbra L0281
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 L0113 puls x
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
85 lda #READ.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
86 os9 I$Open
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
87 bcc L0125
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
88 cmpb #$D7
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
89 lbeq L0281
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
90 lbra L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
91 L0125 sta <u0000
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
92 pshs x
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
93 leax <u0010,u
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
94 ldy #$0010
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
95 ldb #SS.FD
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
96 os9 I$GetStt
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
97 puls x
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
98 bcs L0147
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
99 tst <u000E
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
100 beq L0147
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
101 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
102 ldb #$D7
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
103 cmpa #'/
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
104 lbne L0288
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
105 L0147 pshs x
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
106 lda <u0000
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
107 leax <u0020,u
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
108 ldb #SS.Opt
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 os9 I$GetStt
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
110 lbcs L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
112 sta <u0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
113 ldb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
114 cmpa #$01
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
115 bne L0177
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
116 pshs u,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
117 lda <u0000
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
118 ldb #SS.Size
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
119 os9 I$GetStt
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
120 lbcs L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
121 stx <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
122 stu <u0008
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
123 puls u,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
124 ldb <$13,x
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
125 L0177 stb <u000F
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
126 ldx ,s
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
127 lda #$01
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
128 lbsr L0295
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
129 lda #UPDAT.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
130 ldb <u000F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
131 os9 I$Create
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
132 puls x
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
133 bcc L0198
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
134 inc <u0003
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
135 lda #WRITE.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
136 ldb <u000F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
137 os9 I$Create
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
138 lbcs L0288
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
139 L0198 sta <u0001
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
140 leax <u0020,u
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
141 ldb #SS.Opt
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
142 os9 I$GetStt
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
143 lbcs L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
144 ldb ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
145 cmpb #$01
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
146 beq L01B0
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
147 inc <u0003
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
148 bra L01E8
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
149 L01B0 tst <u0003
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
150 bne L01C1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
151 ldb #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
152 stb $08,x
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
153 ldb #SS.Opt
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
154 os9 I$SetStt
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
155 lbcs L0288
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
156 L01C1 lda <u0002
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
157 cmpa #$01
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
158 bne L01E8
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
159 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
160 lda <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
161 ldb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
162 ldx <u0006
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
163 ldu <u0008
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
164 os9 I$SetStt
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
165 lbcs L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
166 puls u
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
167 lda <u0001
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
168 leax <u0010,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
169 ldy #$0010
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
170 ldb #SS.FD
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
171 os9 I$SetStt
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
172 L01E8 leax >u0300,u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
173 clra
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
174 lbsr L0295
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
175 lda <u0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
176 ldy <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
177 os9 I$Read
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
178 bcs L0265
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
179 lda #$01
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
180 lbsr L0295
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
181 lda <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
182 os9 I$Write
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
183 lbcs L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
184 tst <u0003
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
185 bne L0258
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
186 pshs u,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
187 ldx <u000A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
188 ldu <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
189 lda <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
190 os9 I$Seek
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
191 bcs L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
192 ldu $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
193 leau >u0300,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
194 ldd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
195 addd <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
196 std <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
197 ldd ,s
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
198 bcc L022D
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
199 leax $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
200 stx <u000A
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
201 L022D ldy #$0100
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
202 std ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
203 tsta
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
204 bne L0238
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
205 tfr d,y
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
206 L0238 ldx $02,s
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
207 leax >$0200,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
208 lda <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
209 os9 I$Read
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
210 bcs L0288
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
211 L0245 lda ,u+
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
212 cmpa ,x+
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
213 bne L0276
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
214 leay -$01,y
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
215 bne L0245
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
216 ldd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
217 subd #$0100
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
218 bhi L022D
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
219 puls u,y
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
220 L0258 lda <u0000
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
221 ldb #SS.EOF
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
222 os9 I$GetStt
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
223 bcc L01E8
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
224 cmpb #E$EOF
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
225 beq L026D
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
226 L0265 cmpb #E$EOF
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
227 bne L0288
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
228 lda #$01
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
229 bsr L0295
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
230 L026D lda <u0001
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
231 os9 I$Close
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
232 bcc L0287
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
233 bra L0288
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
234 L0276 leax >L00B4,pcr
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
235 bsr L028B
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
236 comb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
237 ldb #$01
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
238 bra L0288
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
239 L0281 leax >L005A,pcr
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
240 bsr L028B
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
241 L0287 clrb
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
242 L0288 os9 F$Exit
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
243 L028B ldy #256
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
244 L028F lda #$01
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
245 os9 I$WritLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
246 rts
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
247 L0295 tst <u000E
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
248 beq L02D2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
249 pshs y,x
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
250 L029B pshs a
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
251 tsta
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
252 bne L02AA
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
253 leax >L0012,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
254 ldy #$0021
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
255 bra L02B2
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
256 L02AA leax >L0033,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
257 ldy #$0026
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
258 L02B2 bsr L028F
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
259 leax ,-s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
260 ldy #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
261 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
262 os9 I$Read
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
263 lda ,s+
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
264 eora #'C
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
265 anda #$DF
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
266 beq L02CC
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
267 bsr L02D3
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
268 puls a
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
269 bne L029B
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
270 L02CC bsr L02D3
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
271 puls a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
272 puls y,x
188
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
273 L02D2 rts
fad2545d83fc build and copy are now from OS-9 Level Two
boisy
parents: 15
diff changeset
274 L02D3 pshs y,x,a
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
275 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
276 leax >L0059,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
277 ldy #$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
278 os9 I$WritLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
279 puls pc,y,x,a
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
280
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
281 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
282 eom equ *
15
0912ac5dc2ff Added initial and dates to some source files
boisy
parents: 0
diff changeset
283 end