annotate level2/cmds/wcreate.asm @ 1500:b00cf13c9f61

Major changes for new NitrOS-9 manual
author boisy
date Mon, 05 Jan 2004 00:51:19 +0000
parents 90a09e6e9f12
children
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 * WCreate - Create a window
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 *
1255
bf6f854a4299 Changed revisions to 0
boisy
parents: 922
diff changeset
6 * Edt/Rev YYYY/MM/DD Modified by
bf6f854a4299 Changed revisions to 0
boisy
parents: 922
diff changeset
7 * Comment
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 * ------------------------------------------------------------------
1255
bf6f854a4299 Changed revisions to 0
boisy
parents: 922
diff changeset
9 * 3 ????/??/??
bf6f854a4299 Changed revisions to 0
boisy
parents: 922
diff changeset
10 * Original Tandy/Microware version.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 nam WCreate
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 ttl Create a window
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 * Disassembled 98/09/11 18:26:55 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
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
21 DOHELP set 0
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
22
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 tylg set Prgrm+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 atrv set ReEnt+rev
1255
bf6f854a4299 Changed revisions to 0
boisy
parents: 922
diff changeset
25 rev set $00
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 edition set 3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 mod eom,name,tylg,atrv,start,size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 u0000 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 u0002 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 u0003 rmb 7
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
33 newtype rmb 1
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
34 winpath rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 u000C rmb 1
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
36 zflag rmb 1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 u000E rmb 480
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 size equ .
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 name fcs /WCreate/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 fcb edition
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
42
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
43 IFNE DOHELP
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
44 HelpMsg fcb C$CR
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 fcc "WCreate <windpath> [-s=stype] xpos ypos width height fcol bcol [bord]"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 fcc "Use: Create a new window"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 fcc "Options: -s=stype place the window on a new screen, must also"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 fcc " include the border color."
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 fcc " -z receive commands from standard input"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 fcb C$LF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 fcc " -? receive help message"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 fcb C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 fcb C$LF
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
64 ENDC
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
65
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
66 CurOn fdb $1B21
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
68 start clr <zflag
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 coma
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 sta <u000C
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
72 lbsr skipspc skip spaces
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
73 lda ,x get next character
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
74 cmpa #PDELIM path delimiter?
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
75 bne L015D branch if not
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 bsr L01B2
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
77 bra Exit
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 L015D cmpa #'-
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
79 lbne ShowHelp
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 leax 1,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 lda ,x+
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
82 IFNE DOHELP
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
83 cmpa #'?
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
84 lbeq ShowHelp
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
85 ENDC
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
86 cmpa #'z
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
87 beq L0177
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
88 cmpa #'Z
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
89 lbne ShowHelp
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
90 L0177 lda #$01
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
91 sta <zflag
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
92 L017B clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
93 leax u000E,u
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
94 ldy #80
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
95 os9 I$ReadLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
96 bcs L019C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
97 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
98 cmpa #$2A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
99 beq L0177
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
100 lbsr skipspc skip spaces
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
101 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
102 cmpa #C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
103 beq L01A0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
104 bsr L01B5
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
105 bcs Exit
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
106 bra L017B
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
107 L019C cmpb #E$EOF
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
108 bne Exit
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 L01A0 lda #$01
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
110 lbsr cursoron turn on text cursor
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111 lda <u000C
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
112 bmi ExitOk
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
113 os9 I$Close
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
114 bcs Exit
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
115 ExitOk clrb
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
116 Exit os9 F$Exit
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
117
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
118 L01B2 lbsr skipspc skip spaces
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
119 L01B5 clr <newtype
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
120 clr <u0002
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
121 lda ,x get character at X
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
122 cmpa #PDELIM pathlist delimiter?
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
123 lbne Exiting branch if not
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
124 lda #UPDAT.
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
125 pshs u,x,a
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
126 leax 1,x point past pathlist delimiter
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
127 os9 I$Attach attach device
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
128 puls u,x,a
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
129 lbcs L0253 branch if error
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
130 os9 I$Open open device
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
131 bcs L0253 branch if error
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
132 sta <winpath save path
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
133 lbsr skipspc skip spaces
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
134 lda ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
135 cmpa #'-
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
136 bne Get6
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
137 lda ,x+
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
138 cmpa #'s
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
139 beq L01EA
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
140 cmpa #'S
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
141 bne Exiting
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
142 L01EA lda ,x+
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
143 cmpa #'=
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
144 bne Exiting
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
145 leay u0002,u
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
146 lbsr asc2num
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
147 bcs Exiting
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
148 inc <newtype
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
149 ldb #$07 get 7 numbers (last one is border)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
150 bra L0203
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
151 Get6 leay u0003,u
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
152 ldb #$06 get 6 numbers
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
153 leax -1,x
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
154 L0203 bsr asc2num
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
155 bcs Exiting
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
156 decb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
157 bne L0203
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
158 leax ,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
159 lda #$1B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
160 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
161 lda #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
162 sta 1,x
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
163 tst <newtype
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
164 beq L021E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
165 ldy #$000A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
166 bra L0222
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
167 L021E ldy #$0009
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
168 L0222 lda <winpath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
169 os9 I$Write
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
170 bcs L0253
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
171 tst <zflag
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
172 beq L024E
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
173 tst <newtype
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
174 beq L024E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
175 tst <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
176 bpl L0239
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
177 lda #$01
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
178 bsr cursoron turn on text cursor
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
179 L0239 lda <winpath
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
180 bsr cursoron turn on text cursor
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
181 bcs L0253
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
182 tst <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
183 bmi L0248
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
184 lda <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
185 os9 I$Close
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
186 L0248 lda <winpath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
187 sta <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
188 bra L0253
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
189 L024E lda <winpath
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
190 os9 I$Close
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
191 L0253 rts
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
192
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
193 cursoron leax >CurOn,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
194 ldy #$0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
195 os9 I$Write
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
196 rts
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
197
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
198 skipspc lda ,x+
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
199 cmpa #C$SPAC
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
200 beq skipspc
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
201 leax -1,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
202 rts
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
203
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
204 Exiting leas $02,s
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
205 ShowHelp equ *
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
206 IFNE DOHELP
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
207 lda #$01
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
208 leax >HelpMsg,pcr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
209 ldy #$0133
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
210 os9 I$Write
922
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
211 ENDC
b62985f61614 Added DOHELP conditional, montype now requires dash before options
boisy
parents: 0
diff changeset
212 lbra ExitOk
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
213
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
214 * Entry: X = address of ASCII string to convert
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
215 * Y = location to store byte
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
216 * Exit: B = converted value
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
217 asc2num pshs b
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
218 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
219 stb ,y
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
220 L0280 lda ,x+
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
221 cmpa #'0
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
222 blt L029B
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
223 cmpa #'9
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
224 bhi L029B
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
225 suba #'0
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
226 pshs a
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
227 lda #10
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
228 ldb ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
229 mul
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
230 addb ,s+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
231 stb ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
232 bvs L02A7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
233 bra L0280
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
234 L029B cmpa #C$CR
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
235 beq L02AA
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
236 cmpa #C$SPAC
1440
90a09e6e9f12 source improvements
boisy
parents: 1255
diff changeset
237 bsr skipspc skip spaces
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
238 bra L02AA
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
239 bne L02A7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
240 L02A7 comb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
241 bra L02AD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
242 L02AA clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
243 leay $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
244 L02AD puls pc,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
245
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
246 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
247 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
248 end
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
249