annotate level1/cmds/ded.asm @ 1045:3ebe2a5977d9

drvr51 moved into MODULES
author boisy
date Sun, 16 Mar 2003 14:19:19 +0000
parents 69757400b240
children 93328dc6e3f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
968
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1 IFNE 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2 L0000 fcb $87,$CD,$17,$A2,$00,$1C,$11,$82 .M."....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3 L0008 fcb $8F,$06,$65,$03,$16,$0C,$1F,$20 ..e....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
4 L0010 fcb $00,$1F,$21,$00,$04,$0B,$05,$21 ..!....!
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
5 L0018 fcb $00,$05,$20,$00,$64,$45,$E4,$05 .. .dEd.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
6 L0020 fcb $43,$6F,$70,$79,$72,$69,$67,$68 Copyrigh
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
7 L0028 fcb $74,$20,$31,$39,$38,$37,$20,$44 t 1987 D
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
8 L0030 fcb $6F,$75,$67,$20,$44,$65,$4D,$61 oug DeMa
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
9 L0038 fcb $72,$74,$69,$6E,$69,$73,$4C,$53 rtinisLS
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
10 L0040 fcb $4E,$3D,$A4,$53,$45,$43,$54,$4F N=$SECTO
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
11 L0048 fcb $52,$20,$3D,$20,$A4,$20,$20,$20 R = $
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
12 L0050 fcb $20,$20,$20,$30,$20,$20,$31,$20 0 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
13 L0058 fcb $20,$32,$20,$20,$33,$20,$20,$34 2 3 4
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
14 L0060 fcb $20,$20,$35,$20,$20,$36,$20,$20 5 6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
15 L0068 fcb $37,$20,$20,$38,$20,$20,$39,$20 7 8 9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
16 L0070 fcb $20,$41,$20,$20,$42,$20,$20,$43 A B C
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
17 L0078 fcb $20,$20,$44,$20,$20,$45,$20,$20 D E
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
18 L0080 fcb $46,$20,$20,$20,$20,$30,$20,$32 F 0 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
19 L0088 fcb $20,$34,$20,$36,$20,$38,$20,$41 4 6 8 A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
20 L0090 fcb $20,$43,$20,$45,$20,$0D,$43,$4D C E .CM
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
21 L0098 fcb $44,$3A,$A0,$3C,$42,$52,$45,$41 D: <BREA
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
22 L00A0 fcb $4B,$3E,$20,$74,$6F,$67,$67,$6C K> toggl
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
23 L00A8 fcb $65,$73,$20,$48,$45,$58,$2F,$41 es HEX/A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
24 L00B0 fcb $53,$43,$49,$49,$20,$65,$64,$69 SCII edi
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
25 L00B8 fcb $74,$20,$6D,$6F,$64,$65,$73,$20 t modes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
26 L00C0 fcb $20,$20,$20,$20,$3C,$45,$4E,$54 <ENT
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
27 L00C8 fcb $45,$52,$3E,$20,$65,$78,$69,$74 ER> exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
28 L00D0 fcb $73,$20,$65,$64,$69,$74,$20,$6D s edit m
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
29 L00D8 fcb $6F,$64,$E5,$5A,$61,$70,$A0,$62 odeZap b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
30 L00E0 fcb $79,$74,$65,$3A,$A0,$63,$68,$61 yte: cha
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
31 L00E8 fcb $72,$3A,$A0,$41,$72,$65,$20,$79 r: Are y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
32 L00F0 fcb $6F,$75,$20,$73,$75,$72,$65,$3F ou sure?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
33 L00F8 fcb $20,$28,$59,$2F,$4E,$29,$A0,$57 (Y/N) W
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
34 L0100 fcb $72,$69,$74,$69,$6E,$67,$20,$73 riting s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
35 L0108 fcb $65,$63,$74,$6F,$72,$2E,$2E,$AE ector...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
36 L0110 fcb $4F,$55,$54,$46,$49,$4C,$45,$3A OUTFILE:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
37 L0118 fcb $A0,$56,$65,$72,$69,$66,$79,$69 Verifyi
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
38 L0120 fcb $6E,$67,$2E,$2E,$AE,$56,$65,$72 ng...Ver
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
39 L0128 fcb $69,$66,$79,$20,$61,$62,$6F,$72 ify abor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
40 L0130 fcb $74,$65,$64,$2E,$2E,$AE,$73,$68 ted...sh
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
41 L0138 fcb $65,$6C,$EC,$4C,$69,$6E,$6B,$20 ellLink
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
42 L0140 fcb $74,$6F,$20,$77,$68,$69,$63,$68 to which
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
43 L0148 fcb $20,$6D,$6F,$64,$75,$6C,$65,$3F module?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
44 L0150 fcb $A0,$4F,$66,$66,$20,$20,$4C,$65 Off Le
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
45 L0158 fcb $6E,$20,$20,$4E,$61,$6D,$65,$0A n Name.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
46 L0160 fcb $2D,$2D,$2D,$2D,$20,$2D,$2D,$2D ---- ---
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
47 L0168 fcb $2D,$20,$2D,$2D,$2D,$2D,$0D,$4D - ----.M
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
48 L0170 fcb $4F,$44,$55,$4C,$45,$3A,$20,$A0 ODULE:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
49 L0178 fcb $4F,$46,$46,$53,$45,$54,$3A,$20 OFFSET:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
50 L0180 fcb $A4,$1F,$24,$2D,$20,$45,$78,$70 $.$- Exp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
51 L0188 fcb $65,$72,$74,$20,$4D,$6F,$64,$65 ert Mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
52 L0190 fcb $20,$2D,$1F,$A5,$46,$69,$6E,$64 -.%Find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
53 L0198 fcb $20,$62,$79,$74,$65,$20,$73,$74 byte st
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
54 L01A0 fcb $72,$69,$6E,$67,$20,$A4,$46,$69 ring $Fi
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
55 L01A8 fcb $6E,$64,$20,$63,$68,$61,$72,$20 nd char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
56 L01B0 fcb $73,$74,$72,$69,$6E,$67,$3A,$A0 string:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
57 L01B8 fcb $53,$65,$61,$72,$63,$68,$69,$6E Searchin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
58 L01C0 fcb $67,$2E,$2E,$AE,$43,$75,$72,$72 g...Curr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
59 L01C8 fcb $65,$6E,$74,$20,$46,$69,$6C,$65 ent File
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
60 L01D0 fcb $20,$4C,$65,$6E,$67,$74,$68,$20 Length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
61 L01D8 fcb $A4,$4E,$65,$77,$20,$4C,$65,$6E $New Len
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
62 L01E0 fcb $67,$74,$68,$3F,$20,$A4,$2A,$2A gth? $**
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
63 L01E8 fcb $20,$52,$45,$53,$54,$41,$52,$54 RESTART
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
64 L01F0 fcb $2C,$20,$45,$6E,$74,$65,$72,$20 , Enter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
65 L01F8 fcb $70,$61,$74,$68,$6E,$61,$6D,$65 pathname
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
66 L0200 fcb $3A,$A0,$42,$41,$4D,$3A,$20,$46 : BAM: F
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
67 L0208 fcb $72,$6F,$6D,$20,$53,$65,$63,$74 rom Sect
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
68 L0210 fcb $6F,$72,$3A,$24,$20,$20,$20,$20 or:$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
69 L0218 fcb $20,$20,$20,$74,$6F,$20,$24,$20 to $
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
70 L0220 fcb $20,$20,$20,$20,$20,$A0,$42,$69 Bi
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
71 L0228 fcb $74,$73,$BA,$07,$53,$65,$63,$74 ts:.Sect
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
72 L0230 fcb $6F,$72,$20,$53,$74,$61,$63,$6B or Stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
73 L0238 fcb $20,$46,$75,$6C,$6C,$A0,$20,$20 Full
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
74 L0240 fcb $20,$55,$70,$2F,$44,$6F,$77,$6E Up/Down
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
75 L0248 fcb $20,$41,$72,$72,$6F,$77,$73,$20 Arrows
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
76 L0250 fcb $20,$52,$65,$61,$64,$20,$26,$20 Read &
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
77 L0258 fcb $64,$69,$73,$70,$6C,$61,$79,$20 display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
78 L0260 fcb $4E,$65,$78,$74,$2F,$50,$72,$65 Next/Pre
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
79 L0268 fcb $76,$69,$6F,$75,$73,$20,$73,$65 vious se
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
80 L0270 fcb $63,$74,$6F,$72,$0A,$20,$3C,$43 ctor. <C
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
81 L0278 fcb $52,$3E,$20,$43,$6C,$65,$61,$6E R> Clean
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
82 L0280 fcb $20,$75,$70,$20,$74,$68,$65,$20 up the
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
83 L0288 fcb $73,$63,$72,$65,$65,$6E,$20,$64 screen d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
84 L0290 fcb $69,$73,$70,$6C,$61,$79,$0A,$20 isplay.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
85 L0298 fcb $20,$20,$2A,$20,$20,$52,$65,$73 * Res
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
86 L02A0 fcb $74,$61,$72,$74,$0A,$20,$20,$20 tart.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
87 L02A8 fcb $24,$20,$20,$46,$6F,$72,$6B,$20 $ Fork
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
88 L02B0 fcb $61,$20,$53,$48,$45,$4C,$4C,$20 a SHELL
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
89 L02B8 fcb $28,$43,$74,$72,$6C,$2D,$42,$52 (Ctrl-BR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
90 L02C0 fcb $45,$41,$4B,$20,$74,$6F,$20,$72 EAK to r
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
91 L02C8 fcb $65,$74,$75,$72,$6E,$29,$0A,$20 eturn).
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
92 L02D0 fcb $20,$20,$41,$20,$20,$41,$70,$70 A App
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
93 L02D8 fcb $65,$6E,$64,$20,$64,$69,$73,$70 end disp
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
94 L02E0 fcb $6C,$61,$79,$65,$64,$20,$73,$65 layed se
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
95 L02E8 fcb $63,$74,$6F,$72,$20,$74,$6F,$20 ctor to
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
96 L02F0 fcb $6F,$75,$74,$70,$75,$74,$20,$66 output f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
97 L02F8 fcb $69,$6C,$65,$0A,$20,$20,$20,$43 ile. C
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
98 L0300 fcb $20,$20,$43,$6C,$6F,$73,$65,$20 Close
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
99 L0308 fcb $6F,$75,$74,$70,$75,$74,$20,$66 output f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
100 L0310 fcb $69,$6C,$65,$0A,$20,$20,$20,$44 ile. D
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
101 L0318 fcb $20,$20,$44,$69,$64,$64,$6C,$65 Diddle
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
102 L0320 fcb $20,$28,$61,$64,$6A,$75,$73,$74 (adjust
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
103 L0328 fcb $29,$20,$66,$69,$6C,$65,$20,$6C ) file l
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
104 L0330 fcb $65,$6E,$67,$74,$68,$0A,$20,$20 ength.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
105 L0338 fcb $20,$45,$20,$20,$45,$64,$69,$74 E Edit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
106 L0340 fcb $20,$74,$68,$65,$20,$64,$69,$73 the dis
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
107 L0348 fcb $70,$6C,$61,$79,$65,$64,$20,$73 played s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
108 L0350 fcb $65,$63,$74,$6F,$72,$0A,$20,$20 ector.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
109 L0358 fcb $20,$46,$20,$20,$46,$69,$6E,$64 F Find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
110 L0360 fcb $20,$61,$20,$62,$79,$74,$65,$20 a byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
111 L0368 fcb $6F,$72,$20,$74,$65,$78,$74,$20 or text
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
112 L0370 fcb $73,$74,$72,$69,$6E,$67,$20,$28 string (
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
113 L0378 fcb $42,$52,$45,$41,$4B,$20,$61,$62 BREAK ab
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
114 L0380 fcb $6F,$72,$74,$73,$29,$0A,$20,$20 orts).
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
115 L0388 fcb $20,$48,$20,$20,$48,$65,$6C,$70 H Help
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
116 L0390 fcb $20,$73,$63,$72,$65,$65,$6E,$20 screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
117 L0398 fcb $28,$61,$6C,$73,$6F,$20,$75,$73 (also us
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
118 L03A0 fcb $65,$20,$27,$3F,$27,$29,$0A,$20 e '?').
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
119 L03A8 fcb $20,$20,$4C,$20,$20,$4C,$69,$6E L Lin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
120 L03B0 fcb $6B,$20,$74,$6F,$20,$61,$20,$6D k to a m
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
121 L03B8 fcb $6F,$64,$75,$6C,$65,$20,$2D,$20 odule -
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
122 L03C0 fcb $4C,$69,$73,$74,$20,$61,$6C,$6C List all
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
123 L03C8 fcb $20,$6D,$6F,$64,$75,$6C,$65,$73 modules
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
124 L03D0 fcb $0A,$20,$20,$20,$4E,$20,$20,$4E . N N
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
125 L03D8 fcb $65,$78,$74,$20,$6F,$63,$63,$75 ext occu
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
126 L03E0 fcb $72,$72,$65,$6E,$63,$65,$20,$6F rrence o
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
127 L03E8 fcb $66,$20,$62,$79,$74,$65,$28,$73 f byte(s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
128 L03F0 fcb $29,$20,$6F,$72,$20,$73,$74,$72 ) or str
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
129 L03F8 fcb $69,$6E,$67,$20,$28,$46,$69,$6E ing (Fin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
130 L0400 fcb $64,$29,$0A,$20,$20,$20,$4F,$20 d). O
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
131 L0408 fcb $20,$4F,$70,$65,$6E,$20,$61,$20 Open a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
132 L0410 fcb $66,$69,$6C,$65,$20,$66,$6F,$72 file for
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
133 L0418 fcb $20,$6F,$75,$74,$70,$75,$74,$20 output
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
134 L0420 fcb $28,$75,$73,$65,$20,$77,$69,$74 (use wit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
135 L0428 fcb $68,$20,$41,$70,$70,$65,$6E,$64 h Append
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
136 L0430 fcb $29,$0A,$20,$20,$20,$50,$20,$20 ). P
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
137 L0438 fcb $50,$75,$73,$68,$20,$63,$75,$72 Push cur
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
138 L0440 fcb $72,$65,$6E,$74,$20,$73,$65,$63 rent sec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
139 L0448 fcb $74,$6F,$72,$20,$6F,$6E,$74,$6F tor onto
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
140 L0450 fcb $20,$73,$74,$61,$63,$6B,$0A,$20 stack.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
141 L0458 fcb $20,$20,$51,$20,$20,$51,$75,$69 Q Qui
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
142 L0460 fcb $74,$20,$64,$45,$64,$20,$2D,$20 t dEd -
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
143 L0468 fcb $45,$78,$69,$74,$20,$74,$6F,$20 Exit to
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
144 L0470 fcb $4F,$53,$39,$0A,$20,$20,$20,$52 OS9. R
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
145 L0478 fcb $20,$20,$52,$65,$6D,$6F,$76,$65 Remove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
146 L0480 fcb $20,$61,$6E,$64,$20,$64,$69,$73 and dis
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
147 L0488 fcb $70,$6C,$61,$79,$20,$61,$20,$73 play a s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
148 L0490 fcb $65,$63,$74,$6F,$72,$20,$66,$72 ector fr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
149 L0498 fcb $6F,$6D,$20,$73,$74,$61,$63,$6B om stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
150 L04A0 fcb $0A,$20,$20,$20,$53,$20,$20,$53 . S S
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
151 L04A8 fcb $6B,$69,$70,$20,$74,$6F,$20,$67 kip to g
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
152 L04B0 fcb $69,$76,$65,$6E,$20,$73,$65,$63 iven sec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
153 L04B8 fcb $74,$6F,$72,$20,$28,$73,$65,$63 tor (sec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
154 L04C0 fcb $74,$6F,$72,$20,$23,$20,$69,$6E tor # in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
155 L04C8 fcb $20,$68,$65,$78,$29,$0A,$20,$20 hex).
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
156 L04D0 fcb $20,$55,$20,$20,$55,$6E,$6C,$69 U Unli
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
157 L04D8 fcb $6E,$6B,$20,$66,$72,$6F,$6D,$20 nk from
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
158 L04E0 fcb $6D,$6F,$64,$75,$6C,$65,$0A,$20 module.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
159 L04E8 fcb $20,$20,$56,$20,$20,$56,$65,$72 V Ver
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
160 L04F0 fcb $69,$66,$79,$20,$61,$6C,$6C,$20 ify all
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
161 L04F8 fcb $6D,$6F,$64,$75,$6C,$65,$73,$20 modules
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
162 L0500 fcb $69,$6E,$20,$66,$69,$6C,$65,$0A in file.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
163 L0508 fcb $20,$20,$20,$57,$20,$20,$57,$72 W Wr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
164 L0510 fcb $69,$74,$65,$20,$74,$68,$65,$20 ite the
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
165 L0518 fcb $73,$65,$63,$74,$6F,$72,$20,$62 sector b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
166 L0520 fcb $61,$63,$6B,$20,$74,$6F,$20,$74 ack to t
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
167 L0528 fcb $68,$65,$20,$64,$69,$73,$6B,$0A he disk.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
168 L0530 fcb $20,$20,$20,$58,$20,$20,$65,$58 X eX
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
169 L0538 fcb $70,$65,$72,$74,$20,$6D,$6F,$64 pert mod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
170 L0540 fcb $65,$20,$74,$6F,$67,$67,$6C,$65 e toggle
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
171 L0548 fcb $20,$6F,$6E,$2F,$6F,$66,$66,$0A on/off.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
172 L0550 fcb $20,$20,$20,$5A,$20,$20,$5A,$61 Z Za
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
173 L0558 fcb $70,$20,$28,$66,$69,$6C,$6C,$20 p (fill
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
174 L0560 fcb $69,$6E,$29,$20,$74,$68,$65,$20 in) the
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
175 L0568 fcb $73,$65,$63,$74,$6F,$72,$20,$64 sector d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
176 L0570 fcb $69,$73,$70,$6C,$61,$79,$65,$64 isplayed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
177 L0578 fcb $0A,$0A,$20,$20,$20,$20,$20,$20 ..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
178 L0580 fcb $28,$50,$72,$65,$73,$73,$20,$61 (Press a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
179 L0588 fcb $6E,$79,$20,$6B,$65,$79,$20,$74 ny key t
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
180 L0590 fcb $6F,$20,$72,$65,$74,$75,$72,$6E o return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
181 L0598 fcb $20,$74,$6F,$20,$63,$6F,$6D,$6D to comm
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
182 L05A0 fcb $61,$6E,$64,$20,$70,$72,$6F,$6D and prom
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
183 L05A8 fcb $70,$74,$29,$3A,$55,$73,$65,$3A pt):Use:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
184 L05B0 fcb $20,$20,$64,$45,$64,$20,$3C,$70 dEd <p
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
185 L05B8 fcb $61,$74,$68,$6C,$69,$73,$74,$3E athlist>
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
186 L05C0 fcb $0D,$98,$96,$80,$0F,$42,$40,$01 .....B@.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
187 L05C8 fcb $86,$A0,$00,$27,$10,$00,$03,$E8 . .'...h
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
188 L05D0 fcb $00,$00,$64,$00,$00,$0A,$00,$00 ..d.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
189 L05D8 fcb $01,$0C,$0A,$40,$0A,$0A,$4E,$2A ...@..N*
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
190 L05E0 fcb $06,$27,$24,$10,$BD,$0D,$10,$EF .'$.=..o
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
191 L05E8 fcb $73,$0A,$67,$7A,$0B,$23,$77,$0B s.gz.#w.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
192 L05F0 fcb $D4,$6F,$0C,$26,$61,$0C,$AD,$63 To.&a.-c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
193 L05F8 fcb $0C,$97,$65,$0D,$37,$71,$0D,$22 ..e.7q."
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
194 L0600 fcb $76,$11,$16,$6C,$12,$23,$75,$13 v..l.#u.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
195 L0608 fcb $CA,$78,$13,$EB,$68,$14,$13,$3F Jx.kh..?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
196 L0610 fcb $14,$13,$66,$14,$2B,$6E,$15,$F9 ..f.+n.y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
197 L0618 fcb $64,$16,$12,$70,$16,$A9,$72,$16 d..p.)r.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
198 L0620 fcb $E2,$00,$E7,$C9,$00,$8B,$3B,$10 b.gI..;.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
199 L0628 fcb $DE,$1D,$DE,$1B,$03,$1A,$17,$0A ^.^.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
200 L0630 fcb $C4,$17,$01,$5B,$30,$8D,$FB,$AE D..[0...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
201 L0638 fcb $17,$01,$1E,$17,$01,$72,$30,$C9 .....r0I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
202 L0640 fcb $01,$D6,$9F,$D6,$10,$8E,$00,$50 .V.V...P
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
203 L0648 fcb $4F,$10,$3F,$8B,$10,$25,$06,$66 O.?..%.f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
204 L0650 fcb $10,$8C,$00,$01,$26,$08,$0F,$1A ....&...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
205 L0658 fcb $17,$0A,$9A,$16,$00,$AD,$96,$00 .....-..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
206 L0660 fcb $10,$3F,$8F,$20,$0D,$9F,$D6,$30 .?. ..V0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
207 L0668 fcb $8D,$FF,$B7,$10,$3F,$09,$10,$25 ..7.?..%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
208 L0670 fcb $06,$44,$4F,$C6,$D6,$30,$C4,$A7 .DOFV0D'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
209 L0678 fcb $80,$5A,$26,$FB,$DF,$1B,$10,$DF .Z&._.._
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
210 L0680 fcb $1D,$CC,$00,$02,$DD,$0A,$32,$E8 .L..].2h
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
211 L0688 fcb $E0,$30,$E4,$4F,$5F,$10,$3F,$8D `0dO_.?.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
212 L0690 fcb $10,$25,$06,$22,$A6,$04,$97,$19 .%."&...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
213 L0698 fcb $32,$E8,$20,$9E,$D6,$34,$10,$0F 2h .V4..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
214 L06A0 fcb $8C,$A6,$80,$81,$0D,$27,$06,$81 .&...'..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
215 L06A8 fcb $40,$26,$F6,$03,$8C,$35,$10,$86 @&v..5..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
216 L06B0 fcb $03,$10,$3F,$84,$24,$11,$C1,$D6 ..?.$.AV
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
217 L06B8 fcb $10,$26,$06,$78,$9E,$D6,$86,$83 .&.x.V..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
218 L06C0 fcb $10,$3F,$84,$10,$25,$06,$6D,$97 .?..%.m.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
219 L06C8 fcb $00,$C6,$02,$10,$3F,$8D,$9F,$49 .F..?..I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
220 L06D0 fcb $DF,$4B,$DE,$1B,$0F,$1A,$17,$0A _K^.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
221 L06D8 fcb $1C,$17,$00,$DE,$0D,$8C,$27,$15 ...^..'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
222 L06E0 fcb $17,$00,$E1,$9E,$12,$EC,$04,$DD ..a..l.]
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
223 L06E8 fcb $8D,$1F,$01,$CC,$01,$00,$17,$10 ...L....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
224 L06F0 fcb $37,$30,$01,$9F,$8F,$17,$00,$CC 70.....L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
225 L06F8 fcb $10,$9F,$1F,$DC,$02,$DD,$05,$96 ...\.]..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
226 L0700 fcb $04,$97,$07,$CC,$00,$00,$DD,$42 ...L..]B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
227 L0708 fcb $17,$01,$14,$17,$00,$81,$30,$8D ......0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
228 L0710 fcb $F9,$84,$8D,$45,$30,$8D,$F8,$FD y..E0.x.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
229 L0718 fcb $10,$8E,$00,$01,$10,$3F,$8A,$10 .....?..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
230 L0720 fcb $25,$05,$93,$30,$C9,$01,$D6,$17 %..0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
231 L0728 fcb $00,$BE,$A6,$84,$81,$41,$25,$02 .>&..A%.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
232 L0730 fcb $8A,$20,$30,$8D,$FE,$A3,$A1,$80 . 0..#!.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
233 L0738 fcb $27,$08,$30,$02,$6D,$84,$26,$F6 '.0.m.&v
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
234 L0740 fcb $20,$C9,$0D,$2E,$27,$0B,$0D,$2D I..'..-
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
235 L0748 fcb $27,$07,$34,$12,$17,$04,$A1,$35 '.4...!5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
236 L0750 fcb $12,$EC,$84,$30,$8D,$F8,$A9,$6E .l.0.x)n
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
237 L0758 fcb $8B,$31,$C9,$01,$D6,$5F,$5C,$A6 .1I.V_\&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
238 L0760 fcb $80,$2B,$04,$A7,$A0,$20,$F7,$84 .+.' w.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
239 L0768 fcb $7F,$A7,$A4,$30,$C9,$01,$D6,$4F '$0I.VO
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
240 L0770 fcb $1F,$02,$20,$04,$10,$8E,$00,$78 .. ....x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
241 L0778 fcb $86,$01,$10,$3F,$8C,$10,$25,$05 ...?..%.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
242 L0780 fcb $35,$39,$10,$8E,$00,$03,$4F,$10 59....O.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
243 L0788 fcb $3F,$8B,$10,$25,$05,$28,$39,$CC ?..%.(9L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
244 L0790 fcb $20,$36,$30,$4A,$ED,$02,$10,$8E 60Jm...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
245 L0798 fcb $00,$04,$20,$DC,$30,$8D,$F8,$6E .. \0.xn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
246 L07A0 fcb $10,$8E,$00,$02,$20,$D2,$30,$8D .... R0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
247 L07A8 fcb $F8,$67,$10,$8E,$00,$02,$20,$C8 xg.... H
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
248 L07B0 fcb $30,$8D,$F8,$60,$10,$8E,$00,$01 0.x`....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
249 L07B8 fcb $20,$BE,$30,$8D,$F8,$4F,$10,$8E >0.xO..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
250 L07C0 fcb $00,$01,$20,$B4,$8D,$2B,$30,$C9 .. 4.+0I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
251 L07C8 fcb $00,$D6,$9F,$12,$0D,$4D,$27,$0A .V...M'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
252 L07D0 fcb $DC,$23,$90,$04,$26,$04,$1F,$02 \#..&...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
253 L07D8 fcb $20,$04,$10,$8E,$01,$00,$96,$00 .......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
254 L07E0 fcb $10,$3F,$89,$10,$25,$04,$CF,$39 .?..%.O9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
255 L07E8 fcb $4F,$10,$8E,$00,$01,$10,$3F,$89 O.....?.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
256 L07F0 fcb $39,$0D,$4D,$26,$13,$9E,$02,$96 9.M&....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
257 L07F8 fcb $04,$5F,$1F,$03,$96,$00,$10,$3F ._.....?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
258 L0800 fcb $88,$10,$25,$04,$B1,$DE,$1B,$39 ..%.1^.9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
259 L0808 fcb $DC,$23,$83,$00,$01,$91,$04,$24 \#.....$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
260 L0810 fcb $05,$C6,$D3,$16,$04,$A0,$DC,$08 .FS.. \.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
261 L0818 fcb $9B,$04,$8E,$00,$00,$20,$DB,$CC ..... [L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
262 L0820 fcb $20,$20,$17,$FF,$6D,$30,$8D,$F8 ..m0.x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
263 L0828 fcb $15,$17,$FF,$2D,$8D,$82,$17,$00 ...-....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
264 L0830 fcb $B5,$30,$C9,$01,$D6,$17,$FF,$3C 50I.V..<
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
265 L0838 fcb $0D,$4D,$27,$03,$17,$0B,$5B,$0D .M'...[.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
266 L0840 fcb $01,$27,$03,$17,$04,$31,$CC,$20 .'...1L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
267 L0848 fcb $22,$17,$FF,$46,$30,$8D,$F7,$BE "..F0.w>
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
268 L0850 fcb $10,$8E,$00,$02,$17,$FF,$23,$30 ......#0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
269 L0858 fcb $8D,$F7,$F2,$17,$FF,$16,$30,$8D .wr...0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
270 L0860 fcb $F7,$AF,$10,$8E,$00,$02,$17,$FF w/......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
271 L0868 fcb $11,$17,$01,$20,$96,$0F,$8B,$10 ... ....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
272 L0870 fcb $97,$0F,$26,$F5,$30,$C9,$00,$D6 ..&u0I.V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
273 L0878 fcb $9F,$12,$0D,$8C,$27,$4C,$DC,$03 ....'L\.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
274 L0880 fcb $10,$83,$00,$01,$25,$44,$10,$93 ....%D..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
275 L0888 fcb $8F,$22,$3F,$DC,$03,$83,$00,$01 ."?\....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
276 L0890 fcb $8E,$08,$00,$17,$0E,$68,$1F,$20 .....h.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
277 L0898 fcb $D7,$91,$DF,$92,$33,$C9,$07,$FF W._.3I..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
278 L08A0 fcb $11,$93,$4A,$23,$0A,$D1,$49,$25 ..J#.QI%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
279 L08A8 fcb $06,$D6,$49,$DE,$4A,$33,$5F,$D7 .VI^J3_W
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
280 L08B0 fcb $94,$DF,$95,$DE,$1B,$9E,$91,$D6 ._.^...V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
281 L08B8 fcb $93,$9F,$97,$D7,$99,$9E,$94,$D6 ...W...V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
282 L08C0 fcb $96,$9F,$9A,$D7,$9C,$17,$0E,$80 ...W....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
283 L08C8 fcb $20,$09,$CC,$20,$34,$17,$FE,$C2 .L 4..B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
284 L08D0 fcb $17,$FE,$DD,$0D,$2E,$10,$27,$FF ..]...'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
285 L08D8 fcb $2E,$CC,$59,$33,$17,$FE,$B3,$30 .LY3..30
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
286 L08E0 fcb $8D,$F8,$9E,$16,$FE,$73,$DC,$02 .x...s\.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
287 L08E8 fcb $03,$18,$31,$C9,$01,$D6,$8D,$6D ..1I.V.m
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
288 L08F0 fcb $1F,$98,$8D,$69,$0F,$18,$96,$04 ...i....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
289 L08F8 fcb $8D,$63,$CC,$20,$20,$ED,$A1,$CC .cL m!L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
290 L0900 fcb $00,$08,$34,$06,$03,$18,$30,$8D ..4...0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
291 L0908 fcb $FC,$B7,$6F,$E4,$DC,$03,$A3,$01 .7od\.#.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
292 L0910 fcb $34,$01,$DD,$03,$96,$02,$5F,$A0 4.]..._
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
293 L0918 fcb $84,$24,$01,$5C,$35,$01,$24,$02 .$.\5.$.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
294 L0920 fcb $80,$01,$97,$02,$24,$01,$5C,$5D ....$.\]
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
295 L0928 fcb $26,$04,$6C,$E4,$20,$DE,$DC,$03 &.ld ^\.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
296 L0930 fcb $E3,$01,$DD,$03,$96,$02,$24,$01 c.]...$.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
297 L0938 fcb $4C,$AB,$84,$97,$02,$30,$03,$8D L+...0..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
298 L0940 fcb $43,$6A,$61,$27,$0A,$A6,$61,$81 Cja'.&a.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
299 L0948 fcb $02,$26,$BF,$0F,$18,$20,$BB,$86 .&?.. ;.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
300 L0950 fcb $0D,$A7,$A4,$DC,$06,$DD,$03,$96 .'$\.]..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
301 L0958 fcb $05,$97,$02,$35,$86,$34,$02,$44 ...5.4.D
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
302 L0960 fcb $44,$44,$44,$8D,$07,$35,$02,$84 DDD..5..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
303 L0968 fcb $0F,$8D,$01,$39,$81,$09,$2F,$02 ...9../.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
304 L0970 fcb $8B,$07,$8B,$30,$A7,$A0,$0D,$18 ...0' ..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
305 L0978 fcb $27,$06,$81,$30,$27,$03,$0F,$18 '..0'...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
306 L0980 fcb $39,$31,$3F,$39,$34,$02,$A6,$63 91?94.&c
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
307 L0988 fcb $8D,$E8,$35,$82,$31,$C9,$01,$D6 .h5.1I.V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
308 L0990 fcb $30,$8D,$F6,$7A,$17,$00,$9A,$96 0.vz....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
309 L0998 fcb $20,$27,$0A,$84,$F0,$91,$0F,$26 '..p..&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
310 L09A0 fcb $04,$86,$FF,$97,$11,$96,$0F,$8D ........
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
311 L09A8 fcb $B4,$86,$3A,$A7,$A0,$30,$8D,$F6 4.:' 0.v
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
312 L09B0 fcb $60,$8D,$7E,$CC,$20,$20,$ED,$A1 `.~L m!
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
313 L09B8 fcb $9E,$12,$C6,$10,$0D,$11,$27,$08 ..F...'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
314 L09C0 fcb $D6,$20,$C4,$0F,$27,$74,$34,$04 V D.'t4.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
315 L09C8 fcb $A6,$80,$8D,$91,$86,$20,$A7,$A0 &.... '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
316 L09D0 fcb $5A,$26,$F5,$0D,$11,$27,$0D,$CC Z&u..'.L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
317 L09D8 fcb $03,$10,$E0,$E4,$3D,$86,$20,$A7 ..`d=. '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
318 L09E0 fcb $A0,$5A,$26,$FB,$C6,$20,$ED,$A1 Z&.F m!
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
319 L09E8 fcb $A7,$A0,$9E,$12,$57,$0D,$11,$27 ' ..W..'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
320 L09F0 fcb $02,$E6,$E4,$A6,$80,$84,$7F,$81 .fd&...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
321 L09F8 fcb $20,$24,$02,$86,$2E,$A7,$A0,$5A $...' Z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
322 L0A00 fcb $26,$F1,$9F,$12,$0D,$11,$27,$1E &q....'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
323 L0A08 fcb $C6,$10,$E0,$E0,$86,$20,$A7,$A0 F.``. '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
324 L0A10 fcb $5A,$26,$FB,$86,$F0,$97,$0F,$8D Z&..p...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
325 L0A18 fcb $0D,$0F,$11,$30,$8D,$F5,$F6,$10 ...0.uv.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
326 L0A20 fcb $8E,$00,$01,$16,$FD,$52,$86,$0D .....R..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
327 L0A28 fcb $A7,$A4,$30,$C9,$01,$D6,$16,$FD '$0I.V..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
328 L0A30 fcb $43,$A6,$80,$27,$04,$A7,$A0,$20 C&.'.'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
329 L0A38 fcb $F8,$39,$86,$F0,$97,$0F,$20,$D9 x9.p.. Y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
330 L0A40 fcb $DC,$03,$C3,$00,$01,$DD,$03,$26 \.C..].&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
331 L0A48 fcb $02,$0C,$02,$16,$FC,$A7,$DC,$03 .....'\.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
332 L0A50 fcb $26,$06,$0D,$02,$10,$27,$FC,$B3 &....'.3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
333 L0A58 fcb $83,$00,$01,$DD,$03,$10,$83,$FF ...]....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
334 L0A60 fcb $FF,$26,$E8,$0A,$02,$20,$E4,$17 .&h.. d.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
335 L0A68 fcb $FD,$25,$30,$8D,$F5,$D5,$17,$FC .%0.uU..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
336 L0A70 fcb $E8,$10,$8E,$00,$07,$8D,$12,$25 h......%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
337 L0A78 fcb $0B,$DC,$47,$DD,$03,$96,$46,$97 .\G]..F.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
338 L0A80 fcb $02,$16,$FC,$71,$17,$0A,$AE,$20 ...q...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
339 L0A88 fcb $DE,$34,$20,$0F,$1A,$03,$1A,$17 ^4 .....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
340 L0A90 fcb $06,$63,$35,$20,$30,$C9,$01,$D6 .c5 0I.V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
341 L0A98 fcb $17,$FC,$EB,$0F,$1A,$17,$06,$55 ..k....U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
342 L0AA0 fcb $31,$3F,$27,$4A,$1F,$20,$A6,$80 1?'J. &.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
343 L0AA8 fcb $8D,$49,$25,$3F,$5A,$26,$F7,$10 .I%?Z&w.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
344 L0AB0 fcb $9F,$45,$86,$30,$E6,$82,$31,$3F .E.0f.1?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
345 L0AB8 fcb $27,$04,$A6,$82,$31,$3F,$8D,$49 '.&.1?.I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
346 L0AC0 fcb $34,$04,$10,$8C,$00,$00,$26,$EA 4.....&j
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
347 L0AC8 fcb $D6,$46,$5C,$54,$4F,$30,$C8,$45 VF\TO0HE
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
348 L0AD0 fcb $C1,$04,$27,$0E,$A7,$80,$C1,$03 A.'.'.A.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
349 L0AD8 fcb $27,$08,$A7,$80,$C1,$02,$27,$02 '.'.A.'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
350 L0AE0 fcb $A7,$80,$35,$02,$A7,$80,$5A,$26 '.5.'.Z&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
351 L0AE8 fcb $F9,$5F,$39,$17,$0A,$47,$32,$62 y_9..G2b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
352 L0AF0 fcb $16,$FC,$18,$81,$30,$25,$10,$81 ....0%..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
353 L0AF8 fcb $39,$23,$0A,$84,$5F,$81,$46,$22 9#.._.F"
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
354 L0B00 fcb $06,$81,$41,$25,$02,$4F,$39,$43 ..A%.O9C
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
355 L0B08 fcb $39,$8D,$0D,$34,$04,$1F,$89,$8D 9..4....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
356 L0B10 fcb $07,$58,$58,$58,$58,$EA,$E0,$39 .XXXXj`9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
357 L0B18 fcb $C0,$30,$C1,$09,$23,$04,$C4,$5F @0A.#.D_
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
358 L0B20 fcb $C0,$07,$39,$0F,$1A,$03,$1A,$17 @.9.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
359 L0B28 fcb $05,$CB,$17,$FC,$62,$17,$FC,$80 .K..b...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
360 L0B30 fcb $30,$8D,$F5,$A7,$17,$FC,$22,$0D 0.u'..".
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
361 L0B38 fcb $17,$26,$46,$30,$8D,$F5,$A0,$17 .&F0.u .
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
362 L0B40 fcb $FC,$17,$10,$8E,$00,$03,$8D,$1A ........
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
363 L0B48 fcb $8D,$4C,$25,$2D,$30,$C9,$00,$D6 .L%-0I.V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
364 L0B50 fcb $9F,$12,$5F,$A7,$80,$5A,$26,$FB .._'.Z&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
365 L0B58 fcb $0F,$1A,$17,$05,$98,$0C,$2D,$16 ......-.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
366 L0B60 fcb $FB,$A6,$4F,$30,$C9,$01,$D6,$10 .&O0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
367 L0B68 fcb $3F,$8B,$25,$01,$39,$C1,$02,$10 ?.%.9A..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
368 L0B70 fcb $26,$01,$43,$03,$17,$32,$62,$20 &.C..2b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
369 L0B78 fcb $AA,$0F,$1A,$17,$05,$77,$16,$FB *....w..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
370 L0B80 fcb $8A,$30,$8D,$F5,$60,$17,$FB,$D1 .0.u`..Q
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
371 L0B88 fcb $10,$8E,$00,$02,$8D,$D4,$A6,$84 .....T&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
372 L0B90 fcb $81,$20,$25,$E5,$20,$B6,$8D,$12 . %e 6..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
373 L0B98 fcb $25,$2F,$1F,$89,$8D,$0C,$25,$29 %/....%)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
374 L0BA0 fcb $58,$58,$58,$58,$34,$04,$AA,$E0 XXXX4.*`
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
375 L0BA8 fcb $20,$1A,$8D,$04,$25,$1B,$20,$1A ...%. .
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
376 L0BB0 fcb $A6,$80,$81,$30,$25,$11,$81,$39 &..0%..9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
377 L0BB8 fcb $23,$0A,$84,$5F,$81,$41,$25,$07 #.._.A%.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
378 L0BC0 fcb $81,$46,$22,$03,$1C,$FE,$39,$1A .F"...9.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
379 L0BC8 fcb $01,$39,$80,$30,$81,$09,$23,$02 .9.0..#.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
380 L0BD0 fcb $80,$07,$20,$F0,$0D,$2E,$10,$26 .. p...&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
381 L0BD8 fcb $FB,$31,$8D,$23,$10,$26,$FB,$2B .1.#.&.+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
382 L0BE0 fcb $17,$FB,$AC,$17,$FB,$CA,$17,$FB ..,..J..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
383 L0BE8 fcb $A6,$30,$8D,$F5,$12,$17,$FB,$69 &0.u...i
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
384 L0BF0 fcb $17,$FB,$FE,$96,$00,$17,$00,$92 ........
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
385 L0BF8 fcb $0D,$2E,$27,$78,$0F,$2D,$39,$17 ..'x.-9.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
386 L0C00 fcb $FB,$8D,$0F,$1A,$03,$1A,$17,$04 ........
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
387 L0C08 fcb $EC,$30,$8D,$F4,$DE,$17,$FB,$49 l0.t^..I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
388 L0C10 fcb $17,$FB,$9D,$30,$C9,$01,$D6,$17 ...0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
389 L0C18 fcb $FB,$CE,$0F,$1A,$17,$04,$D6,$A6 .N....V&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
390 L0C20 fcb $84,$84,$5F,$81,$59,$39,$0D,$01 .._.Y9..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
391 L0C28 fcb $26,$4A,$0F,$1A,$03,$1A,$17,$04 &J......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
392 L0C30 fcb $C4,$17,$FB,$5B,$30,$8D,$F4,$D8 D..[0.tX
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
393 L0C38 fcb $17,$FB,$1E,$17,$FB,$72,$30,$C9 .....r0I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
394 L0C40 fcb $01,$D6,$10,$8E,$00,$1E,$17,$FB .V......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
395 L0C48 fcb $3D,$0F,$1A,$17,$04,$A7,$10,$8C =....'..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
396 L0C50 fcb $00,$01,$27,$20,$34,$10,$31,$C8 ..' 4.1H
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
397 L0C58 fcb $6B,$A6,$80,$A7,$A0,$81,$20,$22 k&.' . "
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
398 L0C60 fcb $F8,$86,$0D,$A7,$3F,$35,$10,$86 x..'?5..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
399 L0C68 fcb $02,$C6,$0B,$10,$3F,$83,$25,$46 .F..?.%F
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
400 L0C70 fcb $97,$01,$8D,$03,$16,$FA,$94,$CC .....z.L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
401 L0C78 fcb $30,$21,$17,$FB,$15,$30,$8D,$F4 0!...0.t
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
402 L0C80 fcb $8F,$17,$FA,$D5,$30,$C8,$6B,$16 ..zU0Hk.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
403 L0C88 fcb $FA,$EA,$30,$C9,$00,$D6,$10,$9E zj0I.V..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
404 L0C90 fcb $1F,$10,$3F,$8A,$25,$20,$39,$96 ..?.% 9.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
405 L0C98 fcb $01,$27,$D9,$10,$3F,$8F,$25,$16 .'Y.?.%.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
406 L0CA0 fcb $CC,$30,$21,$17,$FA,$EC,$17,$FB L0!.zl..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
407 L0CA8 fcb $07,$0F,$01,$20,$C7,$96,$01,$27 ... G..'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
408 L0CB0 fcb $FA,$8D,$D7,$16,$FD,$8A,$34,$04 z.W...4.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
409 L0CB8 fcb $0F,$8B,$DC,$05,$DD,$02,$96,$07 ..\.]...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
410 L0CC0 fcb $97,$04,$35,$04,$10,$DE,$1D,$C1 ..5..^.A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
411 L0CC8 fcb $02,$27,$0C,$C1,$03,$26,$04,$0F .'.A.&..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
412 L0CD0 fcb $2D,$20,$04,$C1,$D3,$26,$03,$16 - .AS&..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
413 L0CD8 fcb $FE,$9F,$C1,$CD,$26,$14,$0D,$4D ..AM&..M
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
414 L0CE0 fcb $26,$10,$8D,$1D,$30,$8D,$F3,$25 &...0.s%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
415 L0CE8 fcb $10,$8E,$00,$01,$17,$FA,$89,$16 .....z..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
416 L0CF0 fcb $FA,$16,$34,$04,$17,$FA,$98,$17 z.4..z..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
417 L0CF8 fcb $FA,$B6,$35,$04,$8D,$03,$16,$FA z65....z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
418 L0D00 fcb $0A,$86,$02,$10,$3F,$0F,$0F,$1A ....?...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
419 L0D08 fcb $17,$03,$EA,$30,$C9,$01,$D6,$16 ..j0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
420 L0D10 fcb $FA,$D6,$86,$02,$30,$8D,$F8,$94 zV..0.x.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
421 L0D18 fcb $10,$8E,$00,$78,$17,$FA,$5B,$5F ...x.z[_
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
422 L0D20 fcb $20,$12,$17,$FE,$DA,$10,$26,$F9 ...Z.&y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
423 L0D28 fcb $E2,$17,$FA,$8E,$96,$19,$97,$1A b.z.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
424 L0D30 fcb $17,$03,$C2,$5F,$10,$3F,$06,$17 ..B_.?..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
425 L0D38 fcb $FA,$55,$30,$8D,$F3,$5D,$17,$FA zU0.s].z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
426 L0D40 fcb $18,$30,$C9,$00,$D6,$9F,$14,$86 .0I.V...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
427 L0D48 fcb $01,$97,$16,$86,$23,$97,$0F,$86 ....#...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
428 L0D50 fcb $25,$97,$0E,$86,$58,$97,$10,$17 %...X...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
429 L0D58 fcb $FA,$42,$17,$00,$EA,$96,$0E,$D6 zB..j..V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
430 L0D60 fcb $0F,$0D,$17,$27,$02,$96,$10,$0D ...'....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
431 L0D68 fcb $8C,$10,$27,$00,$CA,$9E,$03,$8C ..'.J...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
432 L0D70 fcb $00,$01,$10,$25,$00,$C1,$9C,$8F ...%.A..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
433 L0D78 fcb $10,$22,$00,$BB,$34,$06,$9E,$91 .".;4...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
434 L0D80 fcb $D6,$93,$9F,$97,$D7,$99,$9E,$94 V...W...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
435 L0D88 fcb $D6,$96,$9F,$9A,$D7,$9C,$4F,$D6 V...W.OV
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
436 L0D90 fcb $0F,$C0,$23,$86,$10,$3D,$34,$06 .@#..=4.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
437 L0D98 fcb $4F,$D6,$0E,$C0,$25,$27,$0A,$1F OV.@%'..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
438 L0DA0 fcb $01,$CC,$00,$03,$17,$09,$81,$1F .L......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
439 L0DA8 fcb $10,$E3,$E1,$9E,$03,$9C,$8F,$25 .ca....%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
440 L0DB0 fcb $12,$34,$06,$DC,$8D,$4F,$1F,$01 .4.\.O..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
441 L0DB8 fcb $35,$06,$30,$1F,$34,$10,$10,$A3 5.0.4..#
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
442 L0DC0 fcb $E1,$22,$1A,$8E,$00,$08,$17,$09 a"......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
443 L0DC8 fcb $35,$1F,$30,$D3,$98,$DD,$98,$C3 5.0S.].C
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
444 L0DD0 fcb $00,$07,$10,$93,$95,$23,$02,$DC .....#.\
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
445 L0DD8 fcb $95,$DD,$9B,$20,$06,$0F,$9A,$0F .]. ....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
446 L0DE0 fcb $9B,$0F,$9C,$DE,$1B,$17,$F9,$BE ...^..y>
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
447 L0DE8 fcb $0D,$9C,$26,$13,$0D,$9B,$26,$0F ..&...&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
448 L0DF0 fcb $0D,$9A,$26,$0B,$CC,$20,$34,$17 ..&.L 4.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
449 L0DF8 fcb $F9,$98,$17,$F9,$B3,$20,$33,$17 y..y3 3.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
450 L0E00 fcb $09,$46,$CC,$49,$34,$17,$F9,$8A .FLI4.y.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
451 L0E08 fcb $30,$8D,$F4,$1A,$17,$F9,$4A,$30 0.t..yJ0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
452 L0E10 fcb $C9,$00,$9D,$A6,$D8,$14,$C6,$08 I..&X.F.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
453 L0E18 fcb $34,$12,$68,$E4,$25,$04,$86,$30 4.hd%..0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
454 L0E20 fcb $20,$02,$86,$31,$A7,$80,$5A,$26 ..1'.Z&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
455 L0E28 fcb $F1,$35,$12,$10,$8E,$00,$08,$17 q5......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
456 L0E30 fcb $F9,$46,$17,$F9,$67,$35,$06,$17 yF.yg5..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
457 L0E38 fcb $F9,$58,$30,$C9,$01,$D6,$0D,$17 yX0I.V..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
458 L0E40 fcb $10,$26,$00,$F4,$16,$00,$B7,$96 .&.t..7.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
459 L0E48 fcb $0E,$D6,$0F,$17,$F9,$44,$31,$C9 .V..yD1I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
460 L0E50 fcb $01,$D6,$A6,$D8,$14,$34,$02,$17 .V&X.4..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
461 L0E58 fcb $FB,$03,$30,$3E,$10,$8E,$00,$02 ..0>....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
462 L0E60 fcb $86,$01,$17,$F9,$15,$96,$10,$D6 ...y...V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
463 L0E68 fcb $0F,$17,$F9,$26,$35,$02,$84,$7F ..y&5..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
464 L0E70 fcb $81,$20,$24,$02,$86,$2E,$30,$C9 . $...0I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
465 L0E78 fcb $01,$D6,$A7,$84,$10,$8E,$00,$01 .V'.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
466 L0E80 fcb $16,$F8,$F5,$34,$14,$4F,$C6,$01 .xu4.OF.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
467 L0E88 fcb $10,$3F,$8D,$24,$49,$C1,$F6,$26 .?.$IAv&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
468 L0E90 fcb $2E,$8E,$00,$01,$10,$3F,$0A,$25 .....?.%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
469 L0E98 fcb $26,$0A,$89,$96,$89,$98,$8A,$84 &.......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
470 L0EA0 fcb $40,$27,$12,$03,$8A,$27,$04,$8D @'...'..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
471 L0EA8 fcb $1E,$20,$0A,$30,$8D,$F1,$6A,$10 . .0.qj.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
472 L0EB0 fcb $8E,$00,$02,$8D,$1A,$D6,$8B,$C1 .....V.A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
473 L0EB8 fcb $02,$27,$04,$C1,$03,$26,$C6,$E7 .'.A.&Fg
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
474 L0EC0 fcb $E4,$8D,$04,$35,$14,$20,$1E,$30 d..5. .0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
475 L0EC8 fcb $8D,$F1,$4B,$10,$8E,$00,$02,$86 .qK.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
476 L0ED0 fcb $01,$10,$3F,$8A,$5F,$39,$8D,$EF ..?._9.o
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
477 L0ED8 fcb $35,$14,$10,$8E,$00,$01,$4F,$10 5.....O.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
478 L0EE0 fcb $3F,$89,$25,$01,$39,$32,$62,$0F ?.%.92b.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
479 L0EE8 fcb $8B,$C1,$02,$27,$0C,$34,$04,$17 .A.'.4..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
480 L0EF0 fcb $01,$28,$0F,$0F,$35,$04,$16,$FD .(..5...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
481 L0EF8 fcb $BD,$03,$17,$16,$FE,$5F,$8D,$83 =...._..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
482 L0F00 fcb $8D,$1C,$25,$46,$17,$F8,$71,$E6 ..%F.xqf
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
483 L0F08 fcb $84,$17,$FF,$77,$8D,$10,$25,$3A ...w..%:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
484 L0F10 fcb $1E,$89,$17,$FB,$F4,$E7,$D8,$14 ....tgX.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
485 L0F18 fcb $86,$01,$97,$2D,$20,$57,$A6,$84 ...- W&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
486 L0F20 fcb $81,$30,$25,$11,$81,$39,$23,$0A .0%..9#.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
487 L0F28 fcb $84,$5F,$81,$46,$22,$07,$81,$41 ._.F"..A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
488 L0F30 fcb $25,$03,$1C,$FE,$39,$1A,$01,$39 %...9..9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
489 L0F38 fcb $17,$FF,$48,$A6,$84,$81,$20,$25 ..H&.. %
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
490 L0F40 fcb $09,$A7,$D8,$14,$86,$01,$97,$2D .'X....-
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
491 L0F48 fcb $20,$2B,$81,$09,$27,$27,$81,$08 +..''..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
492 L0F50 fcb $27,$61,$81,$0C,$10,$27,$00,$C8 'a...'.H
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
493 L0F58 fcb $81,$0A,$10,$27,$01,$18,$81,$0D ...'....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
494 L0F60 fcb $10,$26,$FD,$F9,$17,$00,$B3,$CC .&.y..3L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
495 L0F68 fcb $49,$34,$17,$F8,$25,$17,$F8,$40 I4.x%.x@
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
496 L0F70 fcb $0F,$0F,$16,$F7,$96,$17,$00,$A2 ...w..."
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
497 L0F78 fcb $0D,$20,$27,$08,$96,$16,$91,$20 . '....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
498 L0F80 fcb $10,$27,$FD,$BD,$DC,$14,$C3,$00 .'.=\.C.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
499 L0F88 fcb $01,$DD,$14,$0C,$16,$0C,$10,$96 .]......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
500 L0F90 fcb $10,$81,$68,$24,$09,$96,$0E,$8B ..h$....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
501 L0F98 fcb $03,$97,$0E,$16,$FD,$B9,$0C,$0F .....9..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
502 L0FA0 fcb $96,$0F,$81,$32,$10,$22,$FD,$99 ...2."..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
503 L0FA8 fcb $86,$25,$97,$0E,$86,$58,$97,$10 .%...X..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
504 L0FB0 fcb $16,$FD,$A4,$8D,$65,$DC,$14,$83 ..$.e\..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
505 L0FB8 fcb $00,$01,$DD,$14,$0A,$16,$0A,$10 ..].....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
506 L0FC0 fcb $96,$10,$81,$58,$25,$09,$96,$0E ...X%...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
507 L0FC8 fcb $80,$03,$97,$0E,$16,$FD,$88,$0A ........
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
508 L0FD0 fcb $0F,$86,$52,$97,$0E,$86,$67,$97 ..R...g.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
509 L0FD8 fcb $10,$96,$0F,$81,$23,$25,$03,$16 ....#%..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
510 L0FE0 fcb $FD,$75,$9E,$14,$D6,$20,$27,$25 .u..V '%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
511 L0FE8 fcb $D7,$16,$4F,$30,$8B,$5A,$34,$04 W.O0.Z4.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
512 L0FF0 fcb $54,$54,$54,$54,$CB,$23,$D7,$0F TTTTK#W.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
513 L0FF8 fcb $A6,$E0,$84,$0F,$34,$02,$8B,$58 &`..4..X
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
514 L1000 fcb $97,$10,$35,$02,$C6,$03,$3D,$CB ..5.F.=K
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
515 L1008 fcb $25,$D7,$0E,$20,$08,$86,$32,$97 %W. ..2.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
516 L1010 fcb $0F,$30,$89,$01,$00,$9F,$14,$16 .0......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
517 L1018 fcb $FD,$3D,$17,$F7,$89,$16,$FE,$27 .=.w...'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
518 L1020 fcb $8D,$F8,$D6,$20,$27,$06,$96,$0F .xV '...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
519 L1028 fcb $81,$23,$27,$23,$DC,$14,$83,$00 .#'#\...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
520 L1030 fcb $10,$DD,$14,$D6,$16,$C0,$10,$D7 .].V.@.W
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
521 L1038 fcb $16,$0A,$0F,$96,$0F,$81,$23,$24 ......#$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
522 L1040 fcb $0B,$86,$32,$97,$0F,$DC,$14,$C3 ..2..\.C
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
523 L1048 fcb $01,$00,$DD,$14,$16,$FD,$08,$C4 ..]....D
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
524 L1050 fcb $F0,$96,$20,$84,$0F,$91,$16,$24 p. ....$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
525 L1058 fcb $02,$C0,$10,$4F,$34,$06,$DC,$14 .@.O4.\.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
526 L1060 fcb $E3,$E0,$DD,$14,$D6,$16,$EB,$E4 c`].V.kd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
527 L1068 fcb $D7,$16,$35,$04,$54,$54,$54,$54 W.5.TTTT
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
528 L1070 fcb $CB,$23,$D7,$0F,$20,$D6,$8D,$A2 K#W. V."
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
529 L1078 fcb $D6,$20,$27,$06,$D0,$16,$C1,$10 V '.P.A.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
530 L1080 fcb $25,$25,$DC,$14,$C3,$00,$10,$DD %%\.C..]
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
531 L1088 fcb $14,$96,$16,$8B,$10,$97,$16,$0C ........
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
532 L1090 fcb $0F,$96,$0F,$81,$32,$10,$23,$FC ....2.#.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
533 L1098 fcb $BE,$DC,$14,$83,$01,$00,$DD,$14 >\....].
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
534 L10A0 fcb $86,$23,$97,$0F,$16,$FC,$B0,$4F .#....0O
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
535 L10A8 fcb $D6,$16,$5A,$C4,$F0,$34,$06,$DC V.ZDp4.\
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
536 L10B0 fcb $14,$A3,$E0,$DD,$14,$D6,$16,$E0 .#`].V.`
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
537 L10B8 fcb $E0,$D7,$16,$20,$E3,$17,$F6,$FA `W. c.vz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
538 L10C0 fcb $96,$19,$97,$1A,$8D,$2F,$30,$8D ...../0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
539 L10C8 fcb $F0,$6C,$10,$8E,$00,$10,$33,$C9 pl....3I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
540 L10D0 fcb $01,$D6,$86,$0D,$A7,$C4,$CC,$00 .V..'DL.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
541 L10D8 fcb $00,$10,$3F,$03,$10,$25,$FB,$D6 ..?..%.V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
542 L10E0 fcb $10,$3F,$04,$DE,$1B,$30,$C9,$00 .?.^.0I.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
543 L10E8 fcb $D6,$9F,$12,$0F,$1A,$8D,$06,$17 V.......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
544 L10F0 fcb $F6,$C8,$16,$F6,$13,$34,$10,$32 vH.v.4.2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
545 L10F8 fcb $E8,$E0,$30,$E4,$4F,$5F,$10,$3F h`0dO_.?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
546 L1100 fcb $8D,$10,$25,$FB,$B1,$96,$1A,$A7 ..%.1..'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
547 L1108 fcb $04,$4F,$10,$3F,$8E,$10,$25,$FB .O.?..%.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
548 L1110 fcb $A5,$32,$E8,$20,$35,$90,$17,$F6 %2h 5..v
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
549 L1118 fcb $76,$30,$8D,$EF,$FC,$17,$F6,$39 v0.o..v9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
550 L1120 fcb $CE,$00,$00,$8E,$00,$00,$9F,$25 N......%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
551 L1128 fcb $96,$00,$10,$3F,$88,$10,$25,$FB ...?..%.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
552 L1130 fcb $85,$DE,$1B,$CC,$FF,$FF,$DD,$29 .^.L..])
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
553 L1138 fcb $D7,$2B,$30,$C9,$01,$D6,$10,$8E W+0I.V..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
554 L1140 fcb $00,$08,$96,$00,$10,$3F,$89,$10 .....?..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
555 L1148 fcb $25,$FB,$6B,$10,$8C,$00,$08,$10 %.k.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
556 L1150 fcb $26,$00,$BB,$EC,$84,$81,$87,$10 &.;l....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
557 L1158 fcb $26,$00,$B3,$C1,$CD,$10,$26,$00 &.3AM.&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
558 L1160 fcb $AD,$EC,$02,$10,$83,$00,$0F,$10 -l......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
559 L1168 fcb $23,$00,$A3,$83,$00,$03,$DD,$21 #.#...]!
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
560 L1170 fcb $D3,$25,$DD,$25,$4F,$C6,$08,$A8 S%]%OF.(
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
561 L1178 fcb $80,$5A,$26,$FB,$43,$A7,$84,$10 .Z&.C'..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
562 L1180 fcb $8E,$00,$01,$96,$00,$10,$3F,$8A ......?.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
563 L1188 fcb $10,$25,$FB,$2A,$DC,$21,$83,$00 .%.*\!..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
564 L1190 fcb $09,$DD,$21,$30,$C9,$01,$D6,$10 .]!0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
565 L1198 fcb $8E,$00,$09,$8D,$64,$96,$00,$10 ....d...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
566 L11A0 fcb $8E,$00,$78,$10,$9C,$21,$23,$03 ..x..!#.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
567 L11A8 fcb $10,$9E,$21,$10,$3F,$89,$25,$5E ..!.?.%^
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
568 L11B0 fcb $10,$9F,$27,$8D,$4C,$DC,$21,$93 ..'.L\!.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
569 L11B8 fcb $27,$DD,$21,$26,$E0,$96,$00,$C6 ']!&`..F
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
570 L11C0 fcb $05,$10,$3F,$8D,$1F,$30,$DE,$1B ..?..0^.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
571 L11C8 fcb $10,$93,$25,$26,$41,$03,$29,$03 ..%&A.).
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
572 L11D0 fcb $2A,$03,$2B,$30,$C8,$29,$10,$8E *.+0H)..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
573 L11D8 fcb $00,$03,$96,$00,$10,$3F,$8A,$10 .....?..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
574 L11E0 fcb $25,$FA,$D3,$CC,$00,$03,$D3,$25 %zSL..S%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
575 L11E8 fcb $DD,$25,$C6,$06,$96,$00,$10,$3F ]%F....?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
576 L11F0 fcb $8D,$10,$24,$FF,$3E,$C1,$D3,$10 ..$.>AS.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
577 L11F8 fcb $26,$FA,$BB,$17,$F5,$C6,$16,$F5 &z;.uF.u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
578 L1200 fcb $07,$33,$C8,$29,$10,$3F,$17,$10 .3H).?..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
579 L1208 fcb $25,$FA,$AB,$DE,$1B,$39,$CC,$20 %z+^.9L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
580 L1210 fcb $36,$17,$F5,$7E,$30,$8D,$EF,$0D 6.u~0.o.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
581 L1218 fcb $17,$F5,$3E,$C6,$CD,$17,$FA,$E1 .u>FM.za
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
582 L1220 fcb $16,$F4,$E8,$0D,$4D,$10,$26,$F4 .th.M.&t
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
583 L1228 fcb $E2,$CC,$00,$00,$DD,$25,$DD,$23 bL..]%]#
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
584 L1230 fcb $0F,$1A,$03,$1A,$17,$FE,$BE,$17 ......>.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
585 L1238 fcb $F5,$55,$17,$F5,$73,$30,$8D,$EE uU.us0.n
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
586 L1240 fcb $FA,$17,$F5,$15,$30,$C8,$4D,$10 z.u.0HM.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
587 L1248 fcb $8E,$00,$1E,$17,$F5,$38,$0F,$1A ....u8..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
588 L1250 fcb $17,$FE,$A2,$10,$8C,$00,$01,$10 ..".....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
589 L1258 fcb $26,$00,$B1,$17,$F5,$5C,$0F,$4D &.1.u\.M
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
590 L1260 fcb $30,$8D,$EE,$ED,$17,$F5,$0D,$DC 0.nm.u.\
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
591 L1268 fcb $23,$D3,$25,$DD,$25,$1F,$03,$8E #S%]%...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
592 L1270 fcb $00,$00,$96,$00,$10,$3F,$88,$25 .....?.%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
593 L1278 fcb $7F,$DE,$1B,$30,$C9,$01,$D6,$10 ^.0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
594 L1280 fcb $8E,$00,$06,$10,$3F,$89,$25,$70 ....?.%p
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
595 L1288 fcb $EC,$81,$81,$87,$26,$68,$C1,$CD l...&hAM
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
596 L1290 fcb $26,$64,$31,$C9,$01,$D6,$EC,$81 &d1I.Vl.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
597 L1298 fcb $DD,$23,$EC,$81,$34,$06,$DC,$25 ]#l.4.\%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
598 L12A0 fcb $8D,$44,$86,$20,$A7,$A0,$DC,$23 .D. ' \#
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
599 L12A8 fcb $8D,$3C,$86,$20,$A7,$A0,$DC,$25 .<. ' \%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
600 L12B0 fcb $E3,$E1,$1F,$03,$8E,$00,$00,$96 ca......
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
601 L12B8 fcb $00,$10,$3F,$88,$10,$25,$F9,$F6 ..?..%yv
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
602 L12C0 fcb $DE,$1B,$1F,$21,$10,$8E,$00,$1D ^..!....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
603 L12C8 fcb $96,$00,$10,$3F,$89,$10,$25,$F9 ...?..%y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
604 L12D0 fcb $E5,$A6,$80,$2A,$FC,$84,$7F,$A7 e&.*..'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
605 L12D8 fcb $1F,$86,$0D,$A7,$84,$30,$C9,$01 ...'.0I.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
606 L12E0 fcb $D6,$17,$F4,$90,$20,$81,$17,$F6 V.t. ..v
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
607 L12E8 fcb $74,$1F,$98,$16,$F6,$6F,$C1,$D3 t...voAS
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
608 L12F0 fcb $26,$06,$C6,$DD,$20,$02,$C6,$CD &.F] .FM
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
609 L12F8 fcb $0F,$4D,$C1,$D3,$10,$26,$F9,$B6 .MAS.&y6
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
610 L1300 fcb $17,$F4,$E5,$30,$C9,$00,$D6,$9F .te0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
611 L1308 fcb $12,$16,$FD,$E3,$10,$3F,$10,$10 ...c.?..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
612 L1310 fcb $25,$F9,$A3,$D7,$2C,$5A,$A6,$85 %y#W,Z&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
613 L1318 fcb $8A,$80,$A7,$85,$9F,$29,$CE,$00 ..'..)N.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
614 L1320 fcb $00,$8E,$00,$00,$96,$00,$10,$3F .......?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
615 L1328 fcb $88,$10,$25,$F9,$89,$DE,$1B,$30 ..%y.^.0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
616 L1330 fcb $C9,$01,$D6,$10,$8E,$00,$06,$10 I.V.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
617 L1338 fcb $3F,$89,$25,$B2,$EC,$81,$81,$87 ?.%2l...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
618 L1340 fcb $26,$B4,$C1,$CD,$26,$B0,$EC,$81 &4AM&0l.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
619 L1348 fcb $DD,$23,$EC,$84,$D3,$25,$1F,$03 ]#l.S%..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
620 L1350 fcb $8E,$00,$00,$96,$00,$10,$3F,$88 ......?.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
621 L1358 fcb $25,$94,$DE,$1B,$30,$C9,$01,$D6 %.^.0I.V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
622 L1360 fcb $10,$8E,$00,$1D,$10,$3F,$89,$25 .....?.%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
623 L1368 fcb $85,$1F,$12,$9E,$29,$D6,$2C,$10 ....)V,.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
624 L1370 fcb $3F,$11,$24,$0A,$DC,$23,$D3,$25 ?.$.\#S%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
625 L1378 fcb $DD,$25,$1F,$03,$20,$A3,$86,$0D ]%.. #..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
626 L1380 fcb $A7,$85,$5A,$A6,$85,$84,$7F,$A7 '.Z&..'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
627 L1388 fcb $85,$DC,$25,$DD,$08,$CC,$00,$06 .\%].L..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
628 L1390 fcb $30,$42,$A7,$80,$5A,$26,$FB,$16 0B'.Z&..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
629 L1398 fcb $F3,$5B,$CC,$30,$20,$17,$F3,$F2 s[L0 .sr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
630 L13A0 fcb $30,$8D,$ED,$CB,$17,$F3,$B2,$30 0.mK.s20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
631 L13A8 fcb $C8,$4D,$17,$F3,$C7,$CC,$58,$20 HM.sGLX
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
632 L13B0 fcb $17,$F3,$DF,$30,$8D,$ED,$C1,$17 .s_0.mA.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
633 L13B8 fcb $F3,$9F,$31,$C9,$01,$D6,$DC,$08 s.1I.V\.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
634 L13C0 fcb $17,$FF,$23,$86,$0D,$A7,$A4,$16 ..#..'$.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
635 L13C8 fcb $F3,$AE,$0D,$4D,$10,$27,$F3,$3B s..M.'s;
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
636 L13D0 fcb $CC,$00,$08,$30,$42,$A7,$80,$5A L..0B'.Z
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
637 L13D8 fcb $26,$FB,$CC,$30,$20,$17,$F3,$B2 &.L0 .s2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
638 L13E0 fcb $17,$F3,$CD,$17,$F3,$CA,$0F,$4D .sM.sJ.M
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
639 L13E8 fcb $16,$F3,$0A,$0D,$2E,$27,$0E,$0F .s...'..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
640 L13F0 fcb $2E,$CC,$59,$33,$17,$F3,$9B,$17 .LY3.s..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
641 L13F8 fcb $F3,$B6,$16,$F3,$0E,$17,$F7,$FF s6.s..w.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
642 L1400 fcb $26,$F8,$03,$2E,$CC,$59,$33,$17 &x..LY3.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
643 L1408 fcb $F3,$88,$30,$8D,$ED,$73,$17,$F3 s.0.ms.s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
644 L1410 fcb $48,$20,$E7,$17,$F3,$A4,$30,$8D H g.s$0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
645 L1418 fcb $EE,$24,$10,$8E,$03,$6E,$17,$F3 n$...n.s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
646 L1420 fcb $59,$30,$C9,$01,$D6,$17,$F3,$C0 Y0I.V.s@
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
647 L1428 fcb $16,$FC,$C4,$0F,$1A,$03,$1A,$17 ..D.....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
648 L1430 fcb $FC,$C3,$17,$F3,$5A,$17,$F3,$78 .C.sZ.sx
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
649 L1438 fcb $0D,$2F,$26,$35,$30,$8D,$ED,$54 ./&50.mT
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
650 L1440 fcb $17,$F3,$16,$10,$8E,$00,$21,$17 .s....!.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
651 L1448 fcb $00,$CA,$10,$8C,$00,$01,$10,$27 .J.....'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
652 L1450 fcb $01,$07,$31,$3F,$1F,$20,$54,$10 ..1?. T.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
653 L1458 fcb $25,$00,$D3,$D7,$30,$33,$C8,$31 %.SW03H1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
654 L1460 fcb $17,$F7,$33,$10,$25,$00,$C7,$A7 .w3.%.G'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
655 L1468 fcb $C0,$31,$3E,$26,$F3,$DE,$1B,$20 @1>&s^.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
656 L1470 fcb $25,$30,$8D,$ED,$31,$17,$F2,$E1 %0.m1.ra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
657 L1478 fcb $10,$8E,$00,$11,$17,$00,$95,$10 ........
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
658 L1480 fcb $8C,$00,$01,$10,$27,$00,$D2,$1F ....'.R.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
659 L1488 fcb $20,$5A,$D7,$30,$31,$C8,$31,$A6 ZW01H1&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
660 L1490 fcb $80,$A7,$A0,$5A,$26,$F9,$0F,$1A .' Z&y..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
661 L1498 fcb $17,$FC,$5A,$30,$C9,$00,$D6,$D6 ..Z0I.VV
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
662 L14A0 fcb $20,$31,$C8,$31,$A6,$A4,$A8,$80 1H1&$(.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
663 L14A8 fcb $10,$27,$00,$B0,$0D,$2F,$27,$06 .'.0./'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
664 L14B0 fcb $85,$5F,$10,$27,$00,$A6,$5A,$26 ._.'.&Z&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
665 L14B8 fcb $EB,$34,$36,$4F,$C6,$01,$10,$3F k46OF..?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
666 L14C0 fcb $8D,$25,$0D,$30,$C9,$01,$D6,$17 .%.0I.V.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
667 L14C8 fcb $F3,$1E,$A6,$84,$81,$05,$27,$76 s.&...'v
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
668 L14D0 fcb $35,$36,$8D,$02,$20,$C9,$0D,$4D 56.. I.M
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
669 L14D8 fcb $27,$09,$DC,$23,$83,$00,$01,$91 '.\#....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
670 L14E0 fcb $04,$27,$63,$DC,$03,$C3,$00,$01 .'c\.C..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
671 L14E8 fcb $DD,$03,$26,$02,$0C,$02,$17,$F3 ].&....s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
672 L14F0 fcb $00,$30,$C9,$00,$D6,$9F,$12,$0D .0I.V...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
673 L14F8 fcb $4D,$27,$0A,$DC,$23,$90,$04,$26 M'.\#..&
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
674 L1500 fcb $04,$1F,$02,$20,$04,$10,$8E,$01 ... ....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
675 L1508 fcb $00,$96,$00,$10,$3F,$89,$25,$30 ....?.%0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
676 L1510 fcb $10,$9F,$1F,$39,$30,$C9,$01,$D6 ...90I.V
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
677 L1518 fcb $4F,$10,$3F,$8B,$25,$01,$39,$32 O.?.%.92
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
678 L1520 fcb $62,$0F,$8B,$C1,$02,$10,$26,$F7 b..A..&w
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
679 L1528 fcb $8D,$03,$2F,$16,$FE,$FD,$DE,$1B ../...^.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
680 L1530 fcb $8D,$03,$16,$FE,$F6,$30,$8D,$EC ....v0.l
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
681 L1538 fcb $F2,$10,$8E,$00,$01,$16,$F2,$38 r.....r8
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
682 L1540 fcb $C1,$D3,$10,$26,$F7,$70,$10,$DE AS.&wp.^
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
683 L1548 fcb $1D,$DC,$05,$DD,$02,$96,$07,$97 .\.]....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
684 L1550 fcb $04,$17,$F2,$70,$10,$9F,$1F,$8D ..rp....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
685 L1558 fcb $DC,$16,$F6,$1D,$34,$04,$5A,$D7 \.v.4.ZW
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
686 L1560 fcb $44,$9F,$42,$D6,$30,$5A,$27,$2F D.BV0Z'/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
687 L1568 fcb $6A,$E4,$27,$1C,$31,$21,$A6,$A4 jd'.1!&$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
688 L1570 fcb $A8,$80,$27,$F1,$0D,$2F,$27,$04 (.'q./'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
689 L1578 fcb $85,$5F,$27,$E9,$32,$61,$9E,$42 ._'i2a.B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
690 L1580 fcb $31,$C8,$31,$D6,$44,$16,$FF,$2F 1H1VD../
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
691 L1588 fcb $32,$61,$34,$24,$17,$FF,$47,$35 2a4$..G5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
692 L1590 fcb $24,$96,$20,$34,$02,$20,$D5,$32 $. 4. U2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
693 L1598 fcb $61,$96,$04,$91,$07,$27,$21,$9C a....'!.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
694 L15A0 fcb $42,$24,$15,$DC,$03,$83,$00,$01 B$.\....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
695 L15A8 fcb $DD,$03,$10,$83,$FF,$FF,$26,$02 ].....&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
696 L15B0 fcb $0A,$02,$17,$F2,$0F,$10,$9F,$1F ...r....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
697 L15B8 fcb $DC,$02,$DD,$05,$96,$04,$97,$07 \.].....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
698 L15C0 fcb $17,$F2,$5C,$DC,$42,$83,$00,$01 .r\\B...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
699 L15C8 fcb $DD,$14,$93,$12,$34,$04,$C4,$0F ]...4.D.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
700 L15D0 fcb $34,$04,$CB,$58,$D7,$10,$35,$04 4.KXW.5.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
701 L15D8 fcb $86,$03,$3D,$CB,$25,$D7,$0E,$35 ..=K%W.5
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
702 L15E0 fcb $04,$C4,$F0,$54,$54,$54,$54,$CB .DpTTTTK
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
703 L15E8 fcb $23,$D7,$0F,$17,$F1,$AE,$17,$F8 #W..q..x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
704 L15F0 fcb $56,$17,$F1,$B2,$0F,$0F,$16,$FF V.q2....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
705 L15F8 fcb $60,$0D,$30,$10,$27,$F1,$0C,$17 `.0.'q..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
706 L1600 fcb $F1,$8D,$30,$8D,$EB,$B2,$17,$F1 q.0.k2.q
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
707 L1608 fcb $50,$9E,$42,$10,$27,$FE,$87,$16 P.B.'...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
708 L1610 fcb $FF,$6E,$17,$F1,$7A,$30,$8D,$EB .n.qz0.k
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
709 L1618 fcb $AB,$17,$F1,$3D,$03,$18,$31,$C9 +.q=..1I
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
710 L1620 fcb $01,$D6,$DC,$49,$17,$F3,$36,$1F .V\I.s6.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
711 L1628 fcb $98,$17,$F3,$31,$DC,$4B,$17,$F3 ..s1\K.s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
712 L1630 fcb $2C,$0F,$18,$1F,$98,$17,$F3,$25 ,.....s%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
713 L1638 fcb $CC,$20,$20,$ED,$A1,$ED,$A1,$30 L m!m!0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
714 L1640 fcb $C9,$01,$D6,$9F,$27,$1F,$20,$93 I.V.'. .
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
715 L1648 fcb $27,$1F,$02,$17,$F1,$2A,$30,$8D '...q*0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
716 L1650 fcb $EB,$87,$17,$F1,$04,$10,$8E,$00 k..q....
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
717 L1658 fcb $09,$17,$F4,$2D,$25,$B4,$CC,$20 ..t-%4L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
718 L1660 fcb $37,$17,$F1,$2E,$17,$F5,$9B,$10 7.q..u..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
719 L1668 fcb $26,$F0,$A0,$9E,$45,$DE,$47,$C6 &p .E^GF
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
720 L1670 fcb $02,$96,$00,$10,$3F,$8E,$10,$25 ....?..%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
721 L1678 fcb $F6,$3C,$9F,$49,$DF,$4B,$DE,$1B v<.I_K^.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
722 L1680 fcb $96,$49,$91,$02,$25,$0C,$26,$07 .I..%.&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
723 L1688 fcb $DC,$4A,$10,$93,$03,$23,$07,$16 \J...#..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
724 L1690 fcb $F0,$63,$97,$02,$DC,$4A,$0D,$4C pc..\J.L
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
725 L1698 fcb $26,$03,$83,$00,$01,$DD,$03,$10 &....]..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
726 L16A0 fcb $83,$FF,$FF,$26,$EA,$0A,$02,$20 ...&j..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
727 L16A8 fcb $E6,$96,$A5,$81,$10,$24,$24,$C6 f.%..$$F
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
728 L16B0 fcb $03,$3D,$30,$C9,$00,$A6,$30,$85 .=0I.&0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
729 L16B8 fcb $DC,$02,$ED,$81,$96,$04,$A7,$84 \.m...'.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
730 L16C0 fcb $0D,$A5,$27,$0A,$A1,$1D,$26,$06 .%'.!.&.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
731 L16C8 fcb $DC,$02,$A1,$1B,$27,$02,$0C,$A5 \.!.'..%
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
732 L16D0 fcb $16,$F0,$38,$17,$F0,$B9,$30,$8D .p8.p90.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
733 L16D8 fcb $EB,$51,$17,$F0,$7C,$17,$F1,$08 kQ.p|.q.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
734 L16E0 fcb $20,$EE,$96,$A5,$27,$EA,$C6,$03 n.%'jF.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
735 L16E8 fcb $3D,$C0,$03,$30,$C9,$00,$A6,$30 =@.0I.&0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
736 L16F0 fcb $85,$EC,$81,$DD,$02,$A6,$84,$97 .l.].&..
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
737 L16F8 fcb $04,$0A,$A5,$16,$EF,$F7,$34,$76 ..%.ow4v
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
738 L1700 fcb $6F,$64,$A6,$63,$3D,$ED,$66,$EC od&c=mfl
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
739 L1708 fcb $61,$3D,$EB,$66,$89,$00,$ED,$65 a=kf..me
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
740 L1710 fcb $E6,$E4,$A6,$63,$3D,$E3,$65,$ED fd&c=cem
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
741 L1718 fcb $65,$24,$02,$6C,$64,$A6,$E4,$E6 e$.ld&df
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
742 L1720 fcb $62,$3D,$E3,$64,$ED,$64,$35,$F6 b=cdmd5v
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
743 L1728 fcb $34,$16,$86,$10,$34,$02,$4F,$5F 4...4.O_
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
744 L1730 fcb $68,$64,$69,$63,$59,$49,$10,$A3 hdicYI.#
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
745 L1738 fcb $61,$25,$04,$A3,$61,$6C,$64,$6A a%.#aldj
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
746 L1740 fcb $E4,$26,$ED,$AE,$63,$32,$65,$39 d&m.c2e9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
747 L1748 fcb $CC,$20,$34,$17,$F0,$44,$30,$8D L 4.pD0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
748 L1750 fcb $EA,$B0,$17,$F0,$04,$31,$C9,$01 j0.p.1I.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
749 L1758 fcb $D6,$34,$20,$DC,$97,$17,$F1,$FD V4 \..q.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
750 L1760 fcb $1F,$98,$17,$F1,$F8,$96,$99,$17 ...qx...
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
751 L1768 fcb $F1,$F3,$A6,$A2,$8A,$80,$A7,$A4 qs&"..'$
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
752 L1770 fcb $CC,$32,$34,$17,$F0,$1C,$AE,$E4 L24.p..d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
753 L1778 fcb $17,$EF,$DE,$10,$AE,$E4,$DC,$9A .o^..d\.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
754 L1780 fcb $17,$F1,$DA,$1F,$98,$17,$F1,$D5 .qZ...qU
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
755 L1788 fcb $96,$9C,$17,$F1,$D0,$A6,$A2,$8A ...qP&".
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
756 L1790 fcb $80,$A7,$A4,$CC,$3D,$34,$17,$EF .'$L=4.o
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
757 L1798 fcb $F9,$35,$10,$17,$EF,$BB,$39,$29 y5..o;9)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
758 L17A0 fcb $9A,$3F .?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
759
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
760 ELSE
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
761
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
762 nam dEd OS-9 Disk Editor Version 2.01
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
763 ttl Copyright 1987 Doug DeMartinis
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
764
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
765 *******************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
766 * Copyright 1987 Doug DeMartinis; All Rights Reserved *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
767 * CIS: 72245,1400 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
768 * Delphi: DOUGLASD *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
769 * Personal use and uploading of code, source and docs *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
770 * to BBS's, as well as customization of the terminal *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
771 * display codes, is permitted only if the copyright *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
772 * notice and docs remain intact. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
773 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
774 * 10/87 Various mods & fixes by Bruce Isted (BRI) *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
775 * 11/87 Added Diddle, Find, Push, Remove routines. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
776 * Fixed bug throwing stack off by going in and *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
777 * out of various error routines. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
778 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
779 *******************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
780 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
781 * Mods by Roger A. Krupski (HARDWAREHACK) *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
782 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
783 * 02/88 -Added "enter" command which cleans up the *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
784 * screen by running the REDO subroutine. (RAK) *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
785 * *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
786 * 01/90 -Added a check for the break key which allows *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
787 * aborting the <F>ind function. (RAK) *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
788 * -Added a check for null filename in OUTFILE: *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
789 * and bypass I$Create if so. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
790 * -Other minor bugs fixed / errors trapped. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
791 *******************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
792
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
793 ifp1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
794 use defsfile
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
795 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
796
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
797 type set prgrm+objct
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
798 revs set reent+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
799
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
800 top mod dEdend,dEdnam,type,revs,start,size
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
801
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
802 **************************************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
803 * To customize dEd for another driver, change the value of 'xyflipr', *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
804 * change co380 to FALSE and OTHER to TRUE, and make the appropriate *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
805 * changes to the display codes in the block that begins 'ifne OTHER'. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
806 * WordPak users only need to change co380 to FALSE and WPAK to TRUE. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
807 **************************************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
808
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
809 * Set xyflipr to 1 if XY cursor move code has form: row,col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
810 * Set " to 0 " " " " " " " col,row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
811 xyflipr set 0 co380 uses $2,Col,Row to position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
812
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
813 * Change one of the following lines to TRUE and others to FALSE,
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
814 * depending on which 80 column display you're using.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
815
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
816 co380 set FALSE Set to TRUE if using Mike Dziedzic's co380 driver
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
817 WPAK set FALSE Set to TRUE if using WordPak
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
818 OTHER set TRUE Set to TRUE for another driver and change codes below
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
819
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
820 * Conditional assembly of terminal commands depending on previous choices:
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
821
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
822 ifne OTHER
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
823 * e.g. CoCo 3, OS-9 Level II
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
824 * Change the appropriate byte strings below for another driver
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
825
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
826 xyflipr set 0 Change to 1 if XY Cursor move code wants form Row,Col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
827 curscode set $2 XY Cursor move code (max length=2 bytes)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
828 cls fcb $c Clear Screen byte string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
829 clschrs equ *-cls Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
830 revvid fcb $1F,$20,0 Reverse Video byte string. Must end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
831 revchrs equ *-revvid-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
832 normvid fcb $1F,$21,0 Normal Video byte string. MUST end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
833 normchrs equ *-normvid-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
834 eraselin fcb 4 Erase to End of Line byte string.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
835 eraschrs equ *-eraselin Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
836 erasescr fcb $b Erase to End of Screen byte string.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
837 era2chrs equ *-erasescr Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
838
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
839 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
840 * adds cursor on/off strings & string lengths
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
841 CursrOn fcb $05,$21,0 Cursor on string. MUST end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
842 CursOn equ *-CursrOn-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
843 CursrOff fcb $05,$20,0 Cursor off string. MUST end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
844 CursOff equ *-CursrOff-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
845 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
846
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
847 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
848
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
849 ifne WPAK
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
850 * This is for WordPak driver
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
851
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
852 xyflipr set 1 cursor move wants row,col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
853 curscode set $2 XY cursor move code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
854 cls fcb $c clear screen code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
855 clschrs equ *-cls
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
856 revvid fcb $1b,$53,$21,0 reverse video toggle
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
857 revchrs equ *-revvid-1 # chars in code string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
858 normvid fcb $1b,$53,$20,0 normal video toggle
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
859 normchrs equ *-normvid-1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
860 eraselin fcb $1b,$41 erase to end of line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
861 eraschrs equ *-eraselin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
862 erasescr fcb $1b,$42 erase to end of screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
863 era2chrs equ *-erasescr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
864
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
865 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
866 * adds cursor on/off strings & string lengths
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
867 CursrOn fcb 0 Cursor on string. MUST end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
868 CursOn equ *-CursrOn-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
869 CursrOff fcb 0 Cursor off string. MUST end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
870 CursOff equ *-CursrOff-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
871 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
872
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
873 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
874
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
875 ifne co380
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
876 * This is for co380 driver for CoCo3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
877 xyflipr set 0 cursor move wants col,row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
878 curscode set $2 1st byte of move cursor code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
879 cls fcb $c clear screen code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
880 clschrs equ *-cls
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
881 revvid fcb 0 reverse video not supported by co380
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
882 revchrs equ *-revvid-1 # chars in code string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
883 normvid fcb 0 Reverse video off not supported by co380
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
884 normchrs equ *-normvid-1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
885 eraselin fcb 4 erase to end of line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
886 eraschrs equ *-eraselin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
887 erasescr fcb $b erase to end of screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
888 era2chrs equ *-erasescr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
889
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
890 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
891 * adds cursor on/off strings & string lengths
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
892 CursrOn fcb 0 Cursor on string. MUST end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
893 CursOn equ *-CursrOn-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
894 CursrOff fcb 0 Cursor off string. MUST end with a 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
895 CursOff equ *-CursrOff-1 Don't change this.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
896 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
897
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
898 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
899
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
900 ***********************************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
901 * All the changes for customizing dEd should be done above this line. *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
902 ***********************************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
903
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
904
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
905 * Don't change the following 2 blocks.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
906 * X,Y coordinates of various screen prompts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
907 ifne xyflipr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
908 hedrpos set $2220 Header position (row/col)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
909 cmdpos set $3620 Command position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
910 cmd1pos set $3720 Command position + 1 row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
911 outpos set $2130 Output pathlist position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
912 modpos set $2030 Module name position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
913 offpos set $2058 Offset position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
914 xprtpos set $3435 EXPERT position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
915
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
916 else
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
917
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
918 hedrpos set $2022
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
919 cmdpos set $2036 Command position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
920 cmd1pos set $2037 Command position + 1 row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
921 outpos set $3021 Output pathlist position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
922 modpos set $3020 Module name position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
923 offpos set $5820 Offset position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
924 xprtpos set $3534 EXPERT position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
925 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
926
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
927 ****************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
928 * Variable Storage
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
929 ****************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
930
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
931 bufsiz equ 120
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
932 MaxStack equ 16 maximum # sectors that can be 'pushed' onto stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
933
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
934 inpath rmb 1 input path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
935 outpath rmb 1 output path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
936 lsn rmb 3 Logical Sector number
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
937 oldlsn rmb 3 LSN backup
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
938 offset rmb 2 'Linked' module offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
939 cursor rmb 4 Move cursor code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
940 hexcol rmb 1 Hex dump column #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
941 rownum rmb 1 Row number (Hex 0-f)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
942 asciicol rmb 1 ASCII dump col #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
943 lastflag rmb 1 Flag for last line display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
944 buffptr rmb 2 Pointer for input buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
945 edbufptr rmb 2 Edit buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
946 edpos rmb 1 Edit position counter for partial sector reads
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
947 hexascii rmb 1 hex/ascii edit mode flag; 0=>Hex, FF=>ASCII
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
948 zeroflag rmb 1 leading zero suppression flag, $FF=>Suppress
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
949 oldecho rmb 1 original echo status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
950 echobyte rmb 1 current echo status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
951 Usave rmb 2 U register storage
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
952 Ssave rmb 2 S register storage
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
953 seclen rmb 2 sector length ($100 unless last LSN in file)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
954 vmodlen rmb 2 Verify module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
955 lmodlen rmb 2 'Linked' module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
956 fileln rmb 2 cumulative file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
957 bytsread rmb 2 bytes read during verify
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
958 CRC rmb 3 CRC accumulator for verify
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
959 modnmlen rmb 1 'Link' module name length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
960 wrtflag rmb 1 Flag to auto-write sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
961 xprtflag rmb 1 Expert mode flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
962 FHexAsc rmb 1 'Find' Hex/Ascii mode flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
963 targlen rmb 1 length of string to find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
964 findstr rmb 17 string to 'Find'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
965 FindPtr rmb 2 pointer to byte to start next search at
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
966 FBytes rmb 1 # bytes left in target string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
967 HexBuff rmb 4 scratch area for ASCII to Hex conversions
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
968 FileLen rmb 4 File length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
969 infile rmb 30 linked module name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
970 outfile rmb 30 Output filename
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
971
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
972 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
973 CrsrCnt rmb 1 8-bit cursor toggle counter (bit 3 active)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
974 CrsrFlg rmb 1 cursor toggle (initialized to 0)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
975 SgnlCode rmb 1 intercept routine signal code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
976 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
977
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
978 StackCnt rmb 1 # sectors on stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
979 Stack rmb 3*MaxStack room for 16 LSN's
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
980
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
981 inbuff rmb 256 input buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
982 i.o.buff rmb bufsiz input/output buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
983 rmb 200 stack storage
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
984 size equ . end of data area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
985
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
986 dEdnam fcs /dEd/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
987 fcb 3 version
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
988 fcc /Copyright 1987 Doug DeMartinis/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
989
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
990 * Display messages
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
991
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
992 lsntitle fcs /LSN=$/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
993 sect fcs /SECTOR = $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
994 header fcc / 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 2 4 6 8 A C E /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
995 fcb $d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
996 command fcs /CMD: /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
997 edprompt fcs "<BREAK> toggles HEX/ASCII edit modes <ENTER> exits edit mode"
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
998 zaprompt fcs /Zap /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
999 byte fcs /byte: /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1000 char fcs /char: /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1001 sure fcs "Are you sure? (Y/N) "
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1002 writing fcs /Writing sector.../
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1003 out$ fcs /OUTFILE: /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1004 vrfymess fcs /Verifying.../
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1005 verrmess fcs /Verify aborted.../
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1006 shell$ fcs /shell/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1007 linkmess fcs /Link to which module? /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1008 linkhdr fcc /Off Len Name/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1009 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1010 fcc /---- ---- ----/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1011 fcb $d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1012 modnmhdr fcs /MODULE: /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1013 offmess fcs /OFFSET: $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1014 xprtmess fcb $1f,$24 cc3 blink on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1015 fcc /- Expert Mode -/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1016 fcb $1f,$25+$80 blink off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1017 findbyte fcs /Find byte string $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1018 findchar fcs /Find char string: /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1019 srchmess fcs /Searching.../
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1020 lenmess fcs /Current File Length $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1021 newmess fcs /New Length? $/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1022 fullmess equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1023 bell fcb 7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1024 fcs /Sector Stack Full /
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1025
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1026 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1027 * alphabetized help list,
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1028 * removed redundant 'Close' message,
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1029 * added prompt at end
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1030 helper fcc " Up/Down Arrows Read & display Next/Previous sector"
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1031 fcb $a,$a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1032 fcc / <CR> Clean up the screen display/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1033 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1034 fcc / $ Fork a SHELL (Ctrl-BREAK to return)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1035 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1036 fcc / A Append displayed sector to output file/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1037 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1038 fcc / C Close output file/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1039 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1040 fcc / D Diddle (adjust) file length/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1041 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1042 fcc / E Edit the displayed sector/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1043 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1044 fcc / F Find a byte or text string (BREAK aborts)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1045 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1046 fcc / H Help screen (also use '?')/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1047 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1048 fcc / L Link to a module - List all modules/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1049 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1050 fcc / N Next occurrence of byte(s) or string (Find)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1051 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1052 fcc / O Open a file for output (use with Append)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1053 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1054 fcc / P Push current sector onto stack/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1055 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1056 fcc / Q Quit dEd - Exit to OS9/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1057 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1058 fcc / R Remove and display a sector from stack/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1059 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1060 fcc / S Skip to given sector (sector # in hex)/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1061 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1062 fcc / U Unlink from module/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1063 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1064 fcc / V Verify all modules in file/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1065 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1066 fcc / W Write the sector back to the disk/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1067 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1068 fcc " X eXpert mode toggle on/off"
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1069 fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1070 fcc / Z Zap (fill in) the sector displayed/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1071 fcb $a,$a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1072 fcc / (Press any key to return to command prompt):/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1073 *fcb $a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1074 helpchrs equ *-helper
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1075 * end modifications
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1076
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1077 hints fcc /Use: dEd <pathlist>/
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1078 fcb $0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1079
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1080 * Table for converting Hex to Decimal
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1081
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1082 decimals fcb $98,$96,$80 Decimal 10,000,000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1083 fcb $0f,$42,$40 Decimal 1,000,000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1084 fcb $01,$86,$A0 Decimal 100,000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1085 fcb $00,$27,$10 Decinal 10,000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1086 fcb $00,$03,$E8 Decimal 1,000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1087 fcb $00,$00,$64 Decimal 100
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1088 fcb $00,$00,$0A Decimal 10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1089 fcb $00,$00,$01 etc.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1090
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1091 commands fcb $c up arrow
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1092 fdb nxtsec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1093 fcb $a down arrow
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1094 fdb prevsec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1095 fcb '$ shell
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1096 fdb goshell
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1097 fcb $d c/r clean up screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1098 fdb redo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1099 fcb 's LSN change
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1100 fdb changLSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1101 fcb 'z zap
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1102 fdb zap
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1103 fcb 'w write sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1104 fdb writesec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1105 fcb 'o open output file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1106 fdb openout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1107 fcb 'a append to out file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1108 fdb append
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1109 fcb 'c close out file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1110 fdb closeout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1111 fcb 'e edit sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1112 fdb edit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1113 fcb 'q quit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1114 fdb quit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1115 fcb 'v verify
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1116 fdb verify
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1117 fcb 'l 'link' to module
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1118 fdb linker
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1119 fcb 'u 'unlink' module
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1120 fdb unlinker
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1121 fcb 'x Expert mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1122 fdb expert
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1123 fcb 'h Help
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1124 fdb help
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1125 fcb '?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1126 fdb help
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1127 fcb 'f
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1128 fdb find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1129 fcb 'n
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1130 fdb next
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1131 fcb 'd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1132 fdb diddle
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1133 fcb 'p
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1134 fdb push
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1135 fcb 'r
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1136 fdb remove
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1137 fcb 0 end of table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1138
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1139 * Intercept signals
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1140 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1141 *icept rti
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1142 icept stb SgnlCode,u save signal code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1143 rti
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1144 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1145
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1146
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1147 start equ * entry point
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1148
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1149 stx inbuff save pointer to param
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1150 leax icept,pcr intercept routine addr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1151 os9 f$icpt set up intercept
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1152 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1153
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1154 * Initialize data area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1155
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1156 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1157 ldb #inbuff # bytes to clear
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1158 leax ,u point X to start of data area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1159 init sta ,x+ zero memory
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1160 decb dec counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1161 bne init loop if not done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1162 stu Usave save U register
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1163 sts Ssave save Stack pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1164
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1165 setcurs ldd #curscode cursor move code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1166 std cursor save it for output
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1167 leas -32,s make room for terminal options
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1168 leax ,s point x to 32 byte buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1169 clra path = 0 (stdin)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1170 clrb (SS.OPT - option status)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1171 os9 i$getstt read in option table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1172 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1173 lda 4,x get echo status byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1174 sta oldecho save it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1175 leas 32,s reset stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1176
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1177 * Open file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1178
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1179 ldx inbuff pointer to file name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1180 lda #updat. mode=update
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1181 os9 i$open open file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1182
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1183 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1184 * lbcs bye exit if error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1185 bcc OpenOK
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1186 cmpb #E$FNA no permission?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1187 lbne bye no, go exit with error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1188 ldx inbuff pointer to file name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1189 lda #DIR.+UPDAT. mode=directory+update
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1190 os9 I$Open open file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1191 lbcs bye exit if error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1192 OpenOK equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1193 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1194
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1195 sta inpath save input path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1196 ldb #ss.size
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1197 os9 i$getstt get file size
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1198 stx FileLen save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1199 stu FileLen+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1200 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1201 clr echobyte no echo flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1202 lbsr echo set echo status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1203 lbsr clrscr go clear screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1204
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1205 * Main Read/Display loop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1206
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1207 readloop lbsr seeksec find sector & read it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1208 sty seclen bytes read ($100 unless last LSN in file)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1209 ldd lsn get lsn just read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1210 std oldlsn & save it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1211 lda lsn+2 for retrieval
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1212 sta oldlsn+2 after read errors
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1213 ldd #0 Signal 'Next' command to start
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1214 std findptr search at start of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1215 disploop lbsr display go display sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1216 getcmd lbsr movecmd move cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1217 leax command,pcr point to 'CMD: '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1218 bsr pstring display line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1219 leax erasescr,pcr erase to end of screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1220 ldy #era2chrs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1221 os9 i$write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1222 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1223 leax i.o.buff,u point to buffer to read into
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1224 lbsr read1 read a char from stdin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1225 lda ,x get char read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1226 cmpa #'A alpha char?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1227 blo srchtabl no, leave it alone
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1228 ora #$20 else UPPER -> lower case
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1229 srchtabl leax commands,pcr point to command table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1230 findcmd cmpa ,x+ got command?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1231 beq gotcmd yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1232 leax 2,x else, skip address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1233 tst ,x end of table?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1234 bne findcmd no, loop back
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1235 bra getcmd key invalid, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1236 gotcmd tst xprtflag expert mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1237 beq jmpcmd no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1238 tst wrtflag need to write buffer out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1239 beq jmpcmd no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1240 pshs x,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1241 lbsr xprtwrt write sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1242 puls a,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1243 jmpcmd ldd ,x get address offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1244 leax top,pcr start of module
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1245 jmp d,x jump to offset addr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1246
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1247
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1248 * Print string of characters having bit 7 of last char set
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1249
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1250 pstring leay i.o.buff,u output buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1251 clrb counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1252 xfer incb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1253 lda ,x+ get char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1254 bmi lstchar bra if bit 7 set
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1255 sta ,y+ put in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1256 bra xfer get more
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1257 lstchar anda #$7f clr bit 7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1258 sta ,y put in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1259 leax i.o.buff,u point to char string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1260 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1261 tfr d,y y= length of string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1262 bra writeout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1263
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1264 wrtlin1 ldy #bufsiz write 200 chars max
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1265 writeout lda #1 stdout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1266 wrtlin2 os9 i$writln write line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1267 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1268 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1269
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1270 readlin3 ldy #3 # chars to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1271 readlin clra stdin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1272 os9 i$readln read in Y-1 chars + CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1273 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1274 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1275
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1276 movecmd ldd #cmdpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1277 movecurs leax cursor,u point to cursor move code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1278 std 2,x save row/col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1279 ldy #4 4 chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1280 bra writeout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1281
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1282 * Set display to reverse video
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1283
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1284 revdisp leax revvid,pcr point to code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1285 ldy #revchrs # chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1286 bra writeout write to stdout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1287
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1288 * Set display to normal video
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1289
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1290 normdisp leax normvid,pcr point to code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1291 ldy #normchrs # chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1292 bra writeout write to stdout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1293
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1294
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1295 clrline leax eraselin,pcr point to erase line code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1296 ldy #eraschrs # chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1297 bra wrtlin2 go erase rest of line & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1298
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1299 clrscr leax cls,pcr point to clear screen code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1300 ldy #clschrs #chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1301 bra writeout clear screen & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1302
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1303 seeksec bsr lsnseek seek to sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1304 leax inbuff,u point to buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1305 stx buffptr save pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1306 tst infile module linked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1307 beq read256 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1308 ldd lmodlen linked mod length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1309 suba lsn+2 >$100 bytes left?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1310 bne read256 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1311 tfr d,y no, set up for smaller read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1312 bra readsome
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1313 read256 ldy #$100 read 256 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1314 readsome lda inpath path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1315 read os9 i$read read them in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1316 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1317 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1318
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1319 ******************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1320 * changed to ignore errors 01/09/90 (RAK)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1321 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1322 read1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1323 clra stdin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1324 ldy #1 get 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1325 os9 I$Read get 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1326 rts ignore any errors
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1327 * bra read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1328 ****************************** END of modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1329
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1330 lsnseek tst infile module linked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1331 bne offchk yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1332 ldx lsn x=lsn MS 16 bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1333 lda lsn+2 get 3rd byte of lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1334 clrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1335 lsnseek1 tfr d,u u=LS 16 bits
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1336 lda inpath get input path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1337 os9 i$seek seek lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1338 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1339 ldu usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1340 lsnrts rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1341
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1342 offchk ldd lmodlen linked mod length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1343 subd #1 now A=LSN of last sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1344 cmpa LSN+2 trying to read past last sector?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1345 bhs offseek no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1346 ldb #e$eof yes, set EOF error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1347 lbra error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1348 * If module is 'linked' must add offset to functional LSN ->true seek count
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1349 offseek ldd offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1350 adda lsn+2 offset + 'LSN'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1351 ldx #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1352 bra lsnseek1 seek to 'LSN'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1353
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1354 display ldd #$2020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1355 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1356 leax lsntitle,pcr point to "lsn..."
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1357 lbsr pstring
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1358 bsr clrline clear rest of line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1359 bsr convert3 convert lsn to ascii/dec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1360 leax i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1361 lbsr wrtlin1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1362
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1363 tst infile is a module 'linked'?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1364 beq nolink no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1365 lbsr prntmod yes, display name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1366
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1367 nolink tst outpath is an output file open?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1368 beq noout no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1369 lbsr prntout yes, print name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1370
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1371 noout ldd #hedrpos get header row/col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1372 lbsr movecurs move cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1373 leax revvid,pcr point to reverse video code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1374 ldy #revchrs # chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1375 lbsr wrtlin2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1376 leax header,pcr point to header
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1377 lbsr wrtlin1 display it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1378 leax normvid,pcr point to normal vid code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1379 ldy #normchrs # chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1380 lbsr wrtlin2 write code out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1381 disp lbsr dsplylin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1382 lda rownum get row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1383 adda #$10 next row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1384 sta rownum save it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1385 bne disp do 16 rows
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1386 leax inbuff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1387 stx buffptr reset buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1388 tst xprtflag Expert mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1389 beq lsnrts no, return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1390 ldd #xprtpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1391 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1392 leax xprtmess,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1393 lbra pstring display 'EXPERT' & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1394
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1395 * Convert 3 HEX bytes to ASCII
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1396
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1397 convert3 ldd lsn get 2 MSB's of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1398 com zeroflag suppresw leading zeroes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1399 leay i.o.buff,u point to output buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1400 bsr convert1 convert byte in A to ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1401 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1402 bsr convert1 and convert 2nd byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1403 clr zeroflag stop suppressing leading 0's
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1404 lda lsn+2 get LSB of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1405 bsr convert1 and convert it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1406 ldd #$2020 2 space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1407 std ,y++ put in out buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1408
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1409 * Output LSN as decimal number
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1410
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1411 ldd #$0008 8 dec digits max, 0=counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1412 pshs d save them
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1413 com zeroflag suppress leading zeroes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1414 leax decimals,pcr point to conversion table
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1415 initsub1 clr ,s set counter = 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1416 subdec1 ldd lsn+1 get LSB's of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1417 subd 1,x subtract LSB's of table entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1418 pshs cc save 'carry'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1419 std lsn+1 save result
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1420 lda lsn get MSB
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1421 clrb flag for enough subtractions
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1422 suba ,x subtract MSB of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1423 bcc LSBborow if no 'borrow', see if LSB sub needed borrow
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1424 incb else, enough subs done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1425 LSBborow puls cc restore LSB 'borrow' flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1426 bcc savemsb save byte if borrow not needed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1427 suba #1 else do borrow, setting flags
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1428 savemsb sta lsn save MSB
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1429 bcc chekenuf bra if no borrow needed by last dec
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1430 incb else set flag ->enuf subs done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1431 chekenuf tstb enuf subs done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1432 bne enufsub1 Yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1433 inc ,s else, inc decimal counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1434 bra subdec1 and do more subtractions
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1435 enufsub1 ldd lsn+1 get value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1436 addd 1,x make it positive again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1437 std lsn+1 and save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1438 lda lsn get MSB
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1439 bcc addmsb 'Carry' bit still valid from 'addd 1,x'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1440 inca do carry from LSB's
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1441 addmsb adda ,x make rest of remainder positive
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1442 sta lsn and save it for next round of sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1443 leax 3,x point X to next table entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1444 bsr decascii go convert decimal counter to ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1445 dec 1,s dec counter (8 digits)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1446 beq getCR Yes, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1447 lda 1,s down to last 2 digits?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1448 cmpa #2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1449 bne initsub1 no, loop back
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1450 clr zeroflag else stop suppressing leading 0's
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1451 bra initsub1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1452
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1453 getCR lda #$d <CR>
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1454 sta ,y put in out string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1455 ldd oldlsn+1 restore LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1456 std lsn+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1457 lda oldlsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1458 sta lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1459 puls d,pc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1460
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1461 * Convert HEX byte in A to ASCII and put in buffer (Y)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1462
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1463 convert1 pshs a save byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1464 lsra shift msn to lsnibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1465 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1466 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1467 lsra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1468 bsr objasc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1469 puls a get byte back
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1470 anda #$0f mask off msb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1471 bsr objasc convert if to ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1472 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1473 objasc cmpa #9 digit?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1474 ble asciify yes, make it ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1475 adda #7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1476 asciify adda #$30 makes it ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1477 sta ,y+ and put it in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1478 tst zeroflag suppressing leading zeroes?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1479 beq convdone no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1480 cmpa #'0 was it a zero?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1481 beq suppres0 Yes, go 'erase' it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1482 clr zeroflag No, so stop suppressing 0's
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1483 convdone rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1484 suppres0 leay -1,y reset pointer back over zero
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1485 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1486
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1487 * Convert object decimal # on stack to ASCII & put in buffer (Y)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1488
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1489 decascii pshs a save this
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1490 lda 3,s get decimal counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1491 bsr asciify make it ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1492 puls a,pc get byte back & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1493
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1494
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1495 dsplylin leay i.o.buff,u point to output buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1496 leax revvid,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1497 lbsr transfer put in reverse video code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1498 lda seclen+1 LSB of # bytes read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1499 beq notlast skip ahead if 0 (seclen=$100)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1500 anda #$f0 mask off LSB
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1501 cmpa rownum current display row = last?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1502 bne notlast no, go on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1503 lda #$ff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1504 sta lastflag signal last line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1505 notlast lda rownum get row number
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1506 bsr convert1 convert it to hex byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1507 lda #':
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1508 sta ,y+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1509 leax normvid,pcr point to code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1510 bsr transfer move code to buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1511 ldd #$2020 spaces
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1512 std ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1513 ldx buffptr get buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1514 ldb #$10 16 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1515 tst lastflag last line?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1516 beq cnvrtbyt no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1517 ldb seclen+1 bytes read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1518 andb #$0f now B=bytes for lst line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1519 beq noline bra if no bytes left
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1520 pshs b save this
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1521 cnvrtbyt lda ,x+ get byte from buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1522 bsr convert1 convert it to hex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1523 lda #$20 space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1524 sta ,y+ put in output buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1525 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1526 bne cnvrtbyt No, do more
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1527 tst lastflag lst line?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1528 beq addspc2 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1529 ldd #$0310 B=max bytes on line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1530 subb ,s b=# bytes to null out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1531 mul 3 spaces per byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1532 lda #$20 space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1533 addspc1 sta ,y+ put in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1534 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1535 bne addspc1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1536 addspc2 ldb #$20 space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1537 std ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1538 sta ,y+ output spaces
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1539 ldx buffptr get buff pointer again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1540 asrb b=$10 (16 bytes)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1541 tst lastflag lst line?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1542 beq ascichar no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1543 ldb ,s yes, get # bytes from prior calc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1544 ascichar lda ,x+ get byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1545 anda #$7f clear bit 7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1546 cmpa #$20 <32?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1547 bhs printabl yes, print as is
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1548 notascii lda #'. Non-ascii char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1549 printabl sta ,y+ put in buff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1550 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1551 bne ascichar
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1552 stx buffptr save new buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1553 tst lastflag last line?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1554 beq addCR no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1555 ldb #$10 max bytes per line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1556 subb ,s+ b=bytes to null out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1557 lda #$20 space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1558 addspc3 sta ,y+ put in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1559 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1560 bne addspc3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1561 lda #$f0 last row num
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1562 sta rownum -> displays no more rows
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1563 bsr addCR display line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1564 resetlst clr lastflag reset flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1565 leax erasescr,pcr point to erase to end of screen code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1566 ldy #era2chrs length of string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1567 lbra writeout erase end of screen & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1568 addCR lda #$d <CR>
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1569 sta ,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1570 leax i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1571 lbra wrtlin1 go display this line & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1572
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1573 transfer lda ,x+ get byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1574 beq trandone exit if done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1575 sta ,y+ move it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1576 bra transfer do more
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1577 trandone rts return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1578
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1579 noline lda #$f0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1580 sta rownum signal last row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1581 bra resetlst go erase rest of screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1582
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1583
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1584 * Point to next LSN in file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1585
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1586 nxtsec ldd lsn+1 get 2 lower bytes of lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1587 addd #1 next lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1588 std lsn+1 save it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1589 bne readsec d<>0 => carry not needed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1590 inc lsn else add carry to MSB of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1591 readsec lbra readloop go read next sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1592
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1593 * Point to previous LSN unless at LSN 0 now
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1594
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1595 prevsec ldd lsn+1 get lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1596 bne notfirst <>0 => not LSN 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1597 tst lsn LSN 0?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1598 lbeq getcmd yes, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1599 notfirst subd #1 else dec LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1600 std lsn+1 save it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1601 cmpd #$ffff borrow needed if LSN was $xx0000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1602 bne readsec if not, go read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1603 dec lsn do 'borrow'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1604 bra readsec go read previous sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1605
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1606
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1607 * Change LSN sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1608
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1609 changLSN lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1610 leax sect,pcr display message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1611 lbsr pstring
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1612 ldy #7 max # chars to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1613 bsr MakeHex read & convert them
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1614 bcs BadLSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1615 ldd HexBuff+2 get new LSN from buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1616 std lsn+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1617 lda HexBuff+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1618 sta lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1619 lbra readloop go read/display new LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1620
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1621 BadLSN lbsr beep
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1622 bra changLSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1623
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1624 MakeHex pshs y save # bytes to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1625 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1626 com echobyte echo on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1627 lbsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1628 puls y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1629 leax i.o.buff,u point to buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1630 lbsr readlin read chars from keyboard
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1631 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1632 lbsr echo echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1633 leay -1,y strip off CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1634 beq ExitHex exit if no chars input
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1635 tfr y,d # of bytes read -> B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1636 CheckHex lda ,x+ get char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1637 bsr hexdigit see if it's valid char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1638 bcs invalid if not, beep & redo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1639 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1640 bne CheckHex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1641 sty HexBuff save counter for now
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1642 getascii lda #'0 leading zero, if needed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1643 ldb ,-x get a char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1644 leay -1,y last one?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1645 beq cnvrt2 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1646 lda ,-x else, get next char in A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1647 leay -1,y dec counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1648 cnvrt2 bsr asciihex convert ascii chars in A/B to hex byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1649 pshs b save hex byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1650 cmpy #0 all done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1651 bne getascii no, do more
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1652 ldb HexBuff+1 else, get # ascii chars 1st read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1653 incb get ready for divide
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1654 lsrb divide by 2 -># of HEX bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1655 clra leading 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1656 leax HexBuff,u point to storage
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1657 cmpb #4 4 hex bytes on stack?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1658 beq hexstack yes, no leading zeroes needed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1659 sta ,x+ else, put in leading 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1660 cmpb #3 3 hex bytes on stack?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1661 beq hexstack yes, no more 0's needed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1662 sta ,x+ else, put in 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1663 cmpb #2 2 hex bytes?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1664 beq hexstack yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1665 sta ,x+ else, put in another 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1666 hexstack puls a get a hex byte off stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1667 sta ,x+ and put in templsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1668 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1669 bne hexstack no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1670 clrb clear carry bit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1671 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1672
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1673 invalid lbsr beep
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1674 coma set carry bit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1675 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1676
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1677 ExitHex leas 2,s strip off return address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1678 lbra getcmd exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1679
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1680 hexdigit cmpa #'0 char <0?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1681 blo nothex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1682 cmpa #'9 char <9 (digit)?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1683 bls ishex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1684 anda #$5f lower->UPPER case
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1685 cmpa #'F char >F?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1686 bhi nothex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1687 cmpa #'A char <A?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1688 blo nothex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1689 ishex clra clear carry bit if char is hex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1690 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1691 nothex coma set carry bit if not hex char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1692 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1693
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1694 asciihex bsr hexnib convert B to LSNibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1695 pshs b save LSNib
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1696 tfr a,b get ready for MSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1697 bsr hexnib convert it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1698 aslb shift LSNib to MSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1699 aslb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1700 aslb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1701 aslb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1702 orb ,s+ add in LSNib from stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1703 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1704
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1705 hexnib subb #$30 convert asci # to hex
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1706 cmpb #$9 <=9?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1707 bls nowhex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1708 andb #$5f lower->UPPER case
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1709 subb #7 else sub 7 or $A$F
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1710 nowhex rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1711
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1712 * Zap sector sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1713
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1714 zap
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1715 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1716 com echobyte echo on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1717 lbsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1718 lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1719 lbsr clrline clear line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1720 leax zaprompt,pcr point to 'Zap '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1721 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1722 tst hexascii ascii mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1723 bne zapascii yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1724 leax byte,pcr point to 'byte: '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1725 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1726 ldy #3 2 chars + CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1727 bsr zapread read in chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1728 bsr hexobjct convert to object
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1729 bcs exitzap exit if invalid chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1730 zapstart leax inbuff,u point to data buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1731 stx buffptr new pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1732 clrb counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1733 zapbuff sta ,x+ do zap
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1734 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1735 bne zapbuff no, loop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1736 clr echobyte echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1737 lbsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1738 inc wrtflag signal for auto-write if expert mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1739 lbra disploop display zapped buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1740
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1741 zapread clra stdin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1742 leax i.o.buff,u point to buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1743 os9 i$readln read in line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1744 bcs cheksig1 check for break key if error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1745 rts else return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1746 cheksig1 cmpb #2 break key signal?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1747 lbne error no, process error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1748 com hexascii yes, toggle hex/ascii flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1749 leas 2,s pull return addr off stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1750 bra zap redo routine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1751
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1752 exitzap clr echobyte echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1753 lbsr echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1754 lbra getcmd get new command
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1755
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1756 zapascii leax char,pcr point to 'char: '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1757 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1758 ldy #2 1 char + CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1759 bsr zapread read in char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1760 lda ,x get char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1761 cmpa #$20 valid ascii char?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1762 blo exitzap no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1763 bra zapstart go do zap
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1764
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1765 * Convert 2 hex chars in buffer (X) to object byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1766
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1767 hexobjct bsr cnvrtnib convert 1st nibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1768 bcs badrts exit if bad char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1769 tfr a,b save 1st byte (MS nibble)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1770 bsr cnvrtnib convert 2nd nibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1771 bcs badrts exit if bad char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1772 aslb shift LS nib to MS nib
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1773 aslb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1774 aslb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1775 aslb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1776 pshs b save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1777 ora ,s+ add MS nib to LS nib
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1778 bra goodhex exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1779
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1780 cnvrtnib bsr isithex is it valid char?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1781 bcs badrts no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1782 bra cnvrthex yes, convert it to object
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1783
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1784 isithex lda ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1785 cmpa #'0 <0?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1786 blo badhex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1787 cmpa #'9 <9?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1788 bls goodhex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1789 anda #$5F lower->UPPER case
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1790 cmpa #'A <A?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1791 blo badhex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1792 cmpa #'F >F?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1793 bhi badhex yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1794 goodhex andcc #$FE clear carry bit if valid
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1795 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1796 badhex orcc #1 set carry bit if invalid
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1797 badrts rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1798
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1799 cnvrthex suba #$30 convert char to object
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1800 cmpa #9 decimal digit?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1801 bls nowobjct yes, done
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1802 suba #7 else, A-F
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1803 nowobjct bra goodhex clear carry & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1804
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1805 * Write current sector back to disk
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1806
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1807 writesec tst xprtflag expert mode on?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1808 lbne getcmd yes, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1809 bsr rusure Sure?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1810 lbne getcmd no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1811 lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1812 lbsr clrline clear line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1813 lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1814 leax writing,pcr point to message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1815 lbsr pstring display it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1816 xprtwrt lbsr lsnseek seek to start of sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1817 lda inpath get path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1818 lbsr write100 write out sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1819 tst xprtflag doing auto-write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1820 beq opendone no, go to getcmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1821 clr wrtflag signal no more auto-write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1822 rts else & return to caller
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1823
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1824 * Ask 'Are you sure?' and get response
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1825
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1826 rusure lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1827 rusure10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1828 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1829 com echobyte echo on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1830 lbsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1831 leax sure,pcr point to 'Sure? '
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1832 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1833 lbsr clrline blank rest of line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1834 leax i.o.buff,u input buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1835 lbsr read1 read answer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1836 clr echobyte echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1837 lbsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1838 lda ,x get response
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1839 anda #$5f lower->UPPER case
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1840 cmpa #'Y set flags
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1841 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1842
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1843 * Open output file sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1844
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1845 openout tst outpath is a file open already?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1846 bne opendone yes, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1847 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1848 com echobyte echo on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1849 lbsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1850 lbsr movecmd position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1851 leax out$,pcr point to prompt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1852 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1853 lbsr clrline clear rest of line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1854 leax i.o.buff,u point to input buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1855 ldy #30 29 chars + CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1856 lbsr readlin read in a line (pathlist)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1857 clr echobyte echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1858 lbsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1859
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1860 ***********************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1861 * Return to command prompt if no filename given
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1862 * Added 01/09/90 (RAK)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1863 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1864 cmpy #1 <enter> only pressed?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1865 beq opendone yes, abort
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1866 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1867 ********************************** END modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1868
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1869 pshs x save pointer to pathlist
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1870 leay outfile,u point to storage area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1871 savname lda ,x+ get a char from name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1872 sta ,y+ save it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1873 cmpa #$20 space or CR?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1874 bhi savname
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1875 lda #$0d CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1876 sta -1,y delimit filename
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1877 puls x restore pointer to name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1878 lda #write. Access mode = Write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1879 ldb #%00001011 attr ----R-wr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1880 os9 I$Create create & open file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1881 bcs error exit if error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1882 sta outpath save output path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1883 bsr prntout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1884 opendone lbra getcmd exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1885
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1886 * move cursor & print 'Output pathlist'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1887
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1888 prntout ldd #outpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1889 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1890 leax out$,pcr point to 'OUTFILE:'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1891 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1892 leax outfile,u point to name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1893 lbra wrtlin1 write name & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1894
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1895
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1896 * Write out a sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1897
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1898 write100 leax inbuff,u point to data
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1899 ldy seclen # chars in sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1900 os9 i$write write sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1901 bcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1902 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1903
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1904 * Close output file sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1905
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1906 closeout lda outpath get output path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1907 beq opendone exit if none open
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1908 os9 i$close close it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1909 bcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1910 ldd #outpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1911 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1912 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1913 clr outpath flag no output file open
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1914 closed bra opendone exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1915
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1916 * Append sector to output file sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1917
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1918 append lda outpath get output path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1919 beq closed exit if no file open
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1920 bsr write100 write sector out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1921 lbra nxtsec read in next sector & display it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1922
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1923
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1924 * ERROR handling routine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1925
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1926 error pshs b save error code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1927
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1928 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1929 clr <SgnlCode clear intercept routine signal code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1930 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1931
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1932 ldd oldlsn MSBs of last LSN read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1933 std lsn make it current LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1934 lda oldlsn+2 LSB of last LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1935 sta lsn+2 move it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1936 puls b error code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1937 lds Ssave restore Stack pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1938 cmpb #2 break?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1939 beq endexit yes, don't worry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1940 cmpb #3 shift break?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1941 bne eofchk no check if EOF
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1942 clr wrtflag cancel auto-write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1943 bra endexit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1944 eofchk cmpb #e$eof EOF error?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1945 bne true.err exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1946 endexit lbra exitzap
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1947 true.err cmpb #e$bmid bad module ID error?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1948 bne othererr no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1949 * If module is linked, BMID error must come from trying to Verify modules
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1950 * use standard error reporting routine. Otherwise BMID error occurs when
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1951 * trying to link (or list names of) modules; need to clear screen after these.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1952 tst infile module linked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1953 bne othererr yes, use std error routine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1954 bsr prterr else display error #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1955 leax cls,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1956 ldy #clschrs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1957 lbsr writeout clear screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1958 lbra disploop & redisplay sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1959 othererr pshs b save error code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1960 lbsr movecmd position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1961 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1962 puls b pull error code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1963 bsr prterr print error # on cmd line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1964 lbra getcmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1965
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1966 * Display error #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1967
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1968 prterr lda #2 error out path
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1969 os9 f$perr print error #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1970 clr echobyte echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1971 lbsr echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1972
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1973 leax i.o.buff,u point to input buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1974 lbra read1 wait for keypress & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1975
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1976 * Exit with usage prompt if no pathname called
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1977
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1978 badcall
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1979 lda #2 errout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1980 leax hints,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1981 ldy #bufsiz
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1982 lbsr wrtlin2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1983 ldb #e$bpnam set bad path error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1984 bra bye
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1985
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1986 * Exit to OS9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1987
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1988 quit lda oldecho get original echo status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1989 sta echobyte reset echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1990 lbsr echo to original status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1991 clrb no error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1992 bye os9 f$exit exit program
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1993
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1994 * Edit sector sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1995
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1996 edit lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1997 leax edprompt,pcr point to prompt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1998 lbsr pstring
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
1999 topleft leax inbuff,u point to data buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2000 stx edbufptr save pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2001 lda #1 init position counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2002 sta edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2003 lda #$23 top row code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2004 sta rownum save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2005 lda #$25 1st hex dump col #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2006 sta hexcol save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2007 lda #$58 1st ascii dump col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2008 sta asciicol
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2009
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2010 revbyte lbsr revdisp set reverse video
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2011 bsr eddisply display byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2012
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2013 ifne xyflipr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2014 edinput lda rownum A=row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2015 ldb hexcol B=col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2016 else
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2017
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2018 edinput lda hexcol A=col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2019 ldb rownum B=row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2020 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2021
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2022 tst hexascii Hex mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2023 beq hexin yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2024
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2025 ifne xyflipr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2026 ldb asciicol else B= ASCII col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2027 else
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2028
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2029 lda asciicol A= ASCII col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2030 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2031
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2032 hexin lbsr movecurs position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2033 leax i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2034 tst hexascii ascii mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2035 lbne inputchr yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2036
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2037 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2038 * bra inputbyt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2039 lbra inputbyt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2040 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2041
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2042 * Sub to do Hex and ASCII dump for byte to be editted
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2043
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2044 ifne xyflipr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2045 eddisply lda rownum A=row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2046 ldb hexcol b= hex column
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2047 else
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2048
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2049 eddisply lda hexcol A=Hex column
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2050 ldb rownum B=row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2051 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2052
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2053 lbsr movecurs position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2054 leay i.o.buff,u point to output buff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2055 lda [edbufptr,u] get byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2056 pshs a save it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2057 lbsr convert1 convert to hex, put in buff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2058 leax -2,y reset pointer to hex chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2059 ldy #2 2chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2060 lda #1 stdout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2061 lbsr wrtlin2 display chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2062
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2063 ifne xyflipr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2064 lda rownum same row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2065 ldb asciicol get ascii dump col #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2066 else
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2067
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2068 lda asciicol ascii dump col #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2069 ldb rownum same row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2070 endc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2071
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2072 lbsr movecurs position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2073 puls a get byte again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2074 anda #$7F clear bit 7 for ascii dump
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2075 cmpa #$20 printable?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2076
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2077 bhs prntabl1 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2078 lda #'. else print as '.'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2079 prntabl1 leax i.o.buff,u ouput buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2080 sta ,x put char in buff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2081 ldy #1 1 char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2082 lbra writeout display char & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2083
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2084 * Read in a character; check for BREAK key
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2085
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2086 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2087 * toggles cursor on/off if enabled, checks for character
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2088 *readit ldy #1 1 char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2089 readit pshs b,x save previous char, input buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2090 CFlsh01 clra std. input
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2091 ldb #SS.Ready
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2092 os9 I$GetStt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2093 bcc CFExit character ready, go get it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2094 cmpb #E$NotRdy no character ready?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2095 bne CrsrErr no, go check other errors
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2096 ldx #$0001 give up remainder of tick
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2097 os9 F$Sleep
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2098 bcs CrsrErr go clean up & check error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2099 dec <CrsrCnt decrement cursor toggle counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2100 lda <CrsrCnt get new counter value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2101 eora <CrsrFlg cursor toggle required?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2102 anda #%01000000 clear all but active counter bit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2103 beq SigChk no, go check for signal
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2104 com <CrsrFlg toggle cursor on or off?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2105 beq CrsrOff go toggle cursor off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2106 bsr CrsrOn go toggle cursor on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2107 bra SigChk go check intercept routine signal code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2108 CrsrOff leax CursrOff,pc point [X] to cursor off string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2109 ldy #CursOff number of bytes in string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2110 bsr WritCrsr go write cursor off string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2111 SigChk ldb <SgnlCode get intercept routine signal code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2112 cmpb #S$Abort keyboard abort signal? (error #2)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2113 beq CrsrErr yes, go report it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2114 cmpb #S$Intrpt keyboard interrupt signal? (error #3)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2115 bne CFlsh01 no, go check for data again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2116 CrsrErr stb ,s save error code for sigchek2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2117 bsr CrsrOn go make sure cursor is on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2118 puls b,x recover error code, input buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2119 bra cheksig2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2120 CrsrOn leax CursrOn,pc point [X] to cursor on string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2121 ldy #CursOn number of bytes in string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2122 WritCrsr lda #1 std. output
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2123 os9 I$Write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2124 clrb ignore any/all errors
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2125 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2126 CFExit bsr CrsrOn go make sure cursor is on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2127 puls b,x recover previous char, input buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2128 ldy #1 1 char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2129 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2130
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2131 clra stdin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2132 os9 i$read read in char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2133 bcs cheksig2 chek for BREAK if error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2134 rts else return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2135
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2136 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2137 * clears old signal, traps BREAK,
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2138 * cleans up before reporting other errors
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2139 * (fixes shift-BREAK/control-BREAK in edit mode and
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2140 * error report stack clean up bugs)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2141 * cheksig2 cmpb #2 BREAK key signal?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2142 * lbne error no, process error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2143 * com hexascii yes, toggle hex/ascii flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2144 * leas 2,s pull return addr off stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2145 * bra edinput loop back
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2146 cheksig2 leas 2,s dump return address
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2147 clr <SgnlCode clear old signal
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2148 cmpb #2 keyboard abort? (BREAK)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2149 beq TrapSgnl yes, trap it & toggle hex/ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2150 pshs b save error code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2151 lbsr reset reset reversed chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2152 clr <rownum reset row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2153 puls b recover error code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2154 lbra error go process error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2155 TrapSgnl com <hexascii yes, toggle hex/ascii flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2156 lbra edinput loop back
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2157 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2158
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2159
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2160 * Input a hex byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2161
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2162 inputbyt bsr readit read in a char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2163 bsr digit is it valid hex digit?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2164 bcs edcurs no, see if it's arrow key
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2165 lbsr writeout yes, display char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2166 ldb ,x save char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2167
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2168 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2169 * bsr readit read another char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2170 lbsr readit read another char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2171 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2172
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2173 bsr digit is it valid?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2174 bcs edcurs no, check for arrows
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2175 exg a,b A= 1st char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2176 lbsr asciihex change 2 ascii chars to hex byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2177 stb [edbufptr,u] put new byte in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2178 lda #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2179 sta wrtflag signal auto-write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2180 bra movert move to next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2181
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2182 * Check to see if char is valid hex digit.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2183 * Exit with Carry set if not valid.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2184
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2185 digit lda ,x get char from buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2186 cmpa #'0 < 0?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2187 blo notdig YES, set carry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2188 cmpa #'9 Between 0 & 9?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2189 bls gotnib Yes, return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2190 anda #$5F Lowercase -> Upper
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2191 cmpa #'F > F?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2192 bhi notdig Yes, set carry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2193 cmpa #'A Between A & F?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2194 blo notdig No, set carry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2195 gotnib andcc #$fe clear carry bit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2196 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2197 notdig orcc #1 set carry bit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2198 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2199
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2200 * Input single ASCII character
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2201
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2202 * modification by BRI
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2203 *inputchr bsr readit read char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2204 inputchr lbsr readit read char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2205 * end modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2206
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2207 lda ,x get char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2208 cmpa #$20 valid ascii char?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2209 blo edcurs no, check for arrows
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2210 sta [edbufptr,u] yes, put in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2211 lda #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2212 sta wrtflag signal auto-write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2213 bra movert go do next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2214
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2215 * Check if char is arrow (for cursor moves)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2216
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2217 edcurs cmpa #9 Right arrow?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2218 beq movert
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2219 cmpa #8 Left arrow?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2220 beq movelt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2221 cmpa #$c Up arrow?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2222 lbeq moveup
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2223 cmpa #$a Down arrow?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2224 lbeq movedn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2225 cmpa #$d CR?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2226 lbne edinput no, get another key
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2227
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2228 * Exit edit routine
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2229 lbsr reset reset reversed chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2230 clr rownum reset row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2231 lbra getcmd return to command level
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2232
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2233 * Move to next byte on screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2234
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2235 movert lbsr reset reset display byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2236 tst seclen+1 editting partial (last) sec?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2237 beq rtptr no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2238 lda edpos position # in sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2239 cmpa seclen+1 last byte?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2240 lbeq topleft yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2241 rtptr ldd edbufptr get pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2242 addd #1 set to next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2243 std edbufptr save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2244 inc edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2245
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2246 displyrt inc asciicol inc display counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2247 lda asciicol get counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2248 cmpa #$68 at end of screen row?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2249 bhs rowdn yes, move down a row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2250 lda hexcol no, inc hex display counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2251 adda #3 3 screen columns per byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2252 sta hexcol save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2253 lbra revbyte go do next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2254 rowdn inc rownum next row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2255 lda rownum get row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2256 cmpa #$32 past bottom row?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2257 lbhi topleft yes, go to top row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2258 lda #$25 1st hex column #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2259 sta hexcol reset counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2260 lda #$58 1st ascii col #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2261 sta asciicol reset counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2262 lbra revbyte go do display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2263
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2264 * Move to previous byte on screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2265
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2266 movelt bsr reset reset displayed byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2267 ldd edbufptr get data pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2268 subd #1 dec it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2269 std edbufptr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2270 dec edpos & position counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2271 dec asciicol dec display counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2272 lda asciicol get col #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2273 cmpa #$58 past left end of row?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2274 blo rowup yes, move up a row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2275 lda hexcol get hex col #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2276 suba #3 move left 3 columns
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2277 sta hexcol save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2278 lbra revbyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2279 rowup dec rownum move up a row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2280 lda #$52 col # of right end of hex dump
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2281 sta hexcol save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2282 lda #$67 col # of right end of ascii dump
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2283 sta asciicol save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2284 lda rownum get row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2285 cmpa #$23 past top row?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2286 blo gobot yes, go to bottom row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2287 lbra revbyte no, display next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2288 gobot ldx edbufptr old pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2289 ldb seclen+1 partial (last) sec?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2290 beq botptr no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2291 stb edpos new last position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2292 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2293 leax d,x new pointer with partial sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2294 decb offset to byte in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2295 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2296 * MSN of B is last row-1 with partial sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2297 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2298 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2299 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2300 lsrb Now B is last row-1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2301 addb #$23
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2302 stb rownum
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2303 lda ,s+ offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2304 anda #$0f A=last col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2305 pshs a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2306 adda #$58 left most ASCII column
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2307 sta asciicol new ASCII col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2308 puls a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2309 ldb #3 3 columns per hex byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2310 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2311 addb #$25 1st hex col
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2312 stb hexcol
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2313 bra savebot
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2314 botptr lda #$32 bottom row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2315 sta rownum save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2316 leax $100,x new pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2317 savebot stx edbufptr save new pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2318 lbra revbyte do next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2319
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2320 * Reset byte displayed in reverse video to normal video
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2321
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2322 reset lbsr normdisp set normal video
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2323 lbra eddisply go display byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2324
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2325 * Move up a row on screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2326
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2327 moveup bsr reset reset reversed byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2328 ldb seclen+1 partial sector?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2329 beq moveup1 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2330 lda rownum
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2331 cmpa #$23 at top row now?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2332 beq moveup2 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2333 moveup1 ldd edbufptr get data pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2334 subd #$10 move back 16 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2335 std edbufptr save new pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2336 ldb edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2337 subb #$10 dec position counter by $10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2338 stb edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2339 dec rownum move up a row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2340 lda rownum get new row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2341 cmpa #$23 above top row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2342 bhs updone no, go display next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2343 lda #$32 set to bottom row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2344 sta rownum
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2345 ldd edbufptr get data pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2346 addd #$100 point to new byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2347 std edbufptr and save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2348 updone lbra revbyte display next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2349
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2350 moveup2 andb #$f0 MSN=row offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2351 lda seclen+1 bytes read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2352 anda #$0f last col in last row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2353 cmpa edpos to left of current position?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2354 bhs moveup3 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2355 subb #$10 else correct row offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2356 moveup3 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2357 pshs b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2358 ldd edbufptr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2359 addd ,s+ add offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2360 std edbufptr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2361 ldb edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2362 addb ,s
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2363 stb edpos new position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2364 puls b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2365 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2366 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2367 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2368 lsrb row offset in LSNib
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2369 addb #$23 calc new rownum
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2370 stb rownum
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2371 bra updone
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2372
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2373 * Move down a row on screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2374
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2375 movedn bsr reset reset reversed byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2376 ldb seclen+1 partial sector?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2377 beq movedn1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2378 subb edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2379 cmpb #$10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2380 blo movedn2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2381 movedn1 ldd edbufptr get data pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2382 addd #$10 point 16 bytes ahead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2383 std edbufptr and save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2384 lda edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2385 adda #$10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2386 sta edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2387 inc rownum move down a row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2388 lda rownum check to see if below
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2389 cmpa #$32 bottom row?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2390 lbls revbyte no, display next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2391 ldd edbufptr get data pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2392 subd #$100 reset to new byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2393 std edbufptr save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2394 topptr lda #$23 yes, set for top row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2395 sta rownum save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2396 lbra revbyte display next byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2397
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2398 movedn2 clra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2399 ldb edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2400 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2401 andb #$f0 B = offset to first row
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2402 pshs b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2403 ldd edbufptr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2404 subd ,s+ reset pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2405 std edbufptr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2406 ldb edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2407 subb ,s+ reset position counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2408 stb edpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2409 bra topptr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2410
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2411
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2412 * Start new SHELL
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2413
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2414 goshell lda oldecho get original echo status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2415 sta echobyte set up for change
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2416 bsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2417 leax shell$,pcr point to 'SHELL' text
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2418 ldy #$10 # pages in new param area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2419 leau i.o.buff,u new param area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2420 lda #$0d CR to
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2421 sta ,u init param area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2422 ldd #$0000 language/type
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2423 os9 f$fork fork to new shell
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2424 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2425 os9 f$wait wait for shell to die
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2426 ldu usave pull data pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2427 leax inbuff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2428 stx buffptr reset buffer pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2429 clr echobyte echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2430 bsr echo set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2431 redo lbsr clrscr clear screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2432 lbra disploop redo display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2433
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2434 * Read in option section (32 bytes) of stdin path descriptor & turn echo on/off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2435
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2436 echo pshs x save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2437 leas -32,s make room for data
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2438 leax ,s point to buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2439 clra path = 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2440 clrb SS.OPT
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2441 os9 i$getstt read in 32 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2442 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2443 lda echobyte new echo status byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2444 sta 4,x set echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2445 clra path =0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2446 os9 i$setstt set new status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2447 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2448 leas 32,s reset stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2449 puls x,pc pull x & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2450
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2451 * Verify CRC on file, if it's a valid module.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2452
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2453 verify lbsr movecmd position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2454 leax vrfymess,pcr display message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2455 lbsr pstring
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2456 ldu #$0000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2457 ldx #$0000
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2458 stx fileln init file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2459 lda inpath path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2460 os9 i$seek rewind to LSN 0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2461 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2462 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2463 initCRC ldd #$FFFF initialize CRC bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2464 std crc
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2465 stb crc+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2466 leax i.o.buff,u input buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2467 ldy #8 8 bytes to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2468 lda inpath path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2469 os9 i$read read in 8 header bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2470 lbcs error exit on error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2471 cmpy #8 all read in ok?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2472 lbne verr no, error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2473 ldd ,x get 1st 2 bytes read in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2474 cmpa #$87 module sync byte?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2475 lbne verr no, error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2476 cmpb #$CD module sync byte?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2477 lbne verr no, error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2478 ldd 2,x get module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2479 cmpd #$f minimum module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2480 lbls verr exit if less
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2481 subd #3 omit old CRC bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2482 std vmodlen module length less CRC
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2483 addd fileln update file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2484 std fileln read so far
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2485
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2486 * Check header parity by EOR'ing 1st 8 bytes to themselves, then taking
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2487 * the one's complement. This is the 9th header byte, the parity check.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2488
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2489 clra prepare for EORs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2490 ldb #8 # header bytes to EOR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2491 hedpar eora ,x+ EOR bytes read in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2492 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2493 bne hedpar no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2494 coma A now is header parity
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2495 sta ,x put in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2496 ldy #1 1 char to write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2497 lda inpath path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2498 os9 i$write write parity byte out
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2499 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2500 ldd vmodlen get # byte in module
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2501 subd #9 9 bytes already read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2502 std vmodlen save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2503 leax i.o.buff,u start of header bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2504 ldy #9
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2505 bsr CRCcal calculate CRC on 1st 9 bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2506 bytsleft lda inpath path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2507 ldy #bufsiz # chars to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2508 cmpy vmodlen buffer <= # bytes left to read?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2509 bls readmod yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2510 ldy vmodlen else, get exact # chars left to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2511 readmod os9 i$read read in Y chars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2512 bcs verr exit on error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2513 sty bytsread save # bytes read in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2514 bsr CRCcal calc CRC on bytes just read in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2515 ldd vmodlen # bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2516 subd bytsread minus # bytes just read in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2517 std vmodlen save # byte left
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2518 bne bytsleft do more if some left
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2519 * Compare current position in file with # of bytes in module header
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2520 * to prevent overwriting next module, in case module length changed.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2521 lda inpath path number
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2522 ldb #ss.pos file position code
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2523 os9 i$getstt get position in file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2524 tfr u,d D = position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2525 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2526 cmpd fileln same as bytes read so far?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2527 bne verr no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2528 com crc do one's
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2529 com crc+1 complement on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2530 com crc+2 CRC accumulator
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2531 leax crc,u point to accumulator
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2532 ldy #3 3 bytes to write
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2533 lda inpath path #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2534 os9 i$write write out 3 CRC bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2535 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2536 ldd #3 update # bytes read/written
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2537 addd fileln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2538 std fileln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2539 ldb #ss.eof test for EOF
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2540 lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2541 os9 i$getstt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2542 lbcc initCRC bra if not EOF
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2543 cmpb #e$eof EOF?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2544 lbne error no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2545 * Redisplay LSN (may have changed with verify)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2546 lbsr seeksec read in sector again
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2547 lbra disploop redo display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2548
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2549 * Calculate CRC sub. Enter with Y = # of bytes to calculate CRC over.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2550 * X = address of 1st byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2551
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2552 CRCcal leau crc,u point to CRC bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2553 os9 f$crc calc CRC
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2554 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2555 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2556 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2557
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2558 * Verify error display sub
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2559
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2560 verr ldd #cmdpos position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2561 lbsr movecurs at cmd position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2562 leax verrmess,pcr point to message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2563 lbsr pstring display it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2564 ldb #e$bmid bad module ID
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2565 lbsr prterr display error #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2566 lbra getcmd exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2567
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2568 * 'Link' to a given module or display all modules if no name is input
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2569
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2570 linker tst infile linked already?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2571 lbne getcmd yes, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2572 ldd #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2573 std fileln init vars
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2574 std lmodlen "
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2575 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2576 com echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2577 lbsr echo echo on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2578 lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2579 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2580 leax linkmess,pcr prompt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2581 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2582 leax infile,u point to buffer for module name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2583 ldy #30 max name length+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2584 lbsr readlin read in module name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2585 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2586 lbsr echo echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2587 cmpy #1 any name entered?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2588 lbne parsmod yes, go find it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2589 * else list all module names
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2590 clr infile flag => no modules linked
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2591 leax linkhdr,pcr point to header
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2592 lbsr wrtlin1 write it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2593 nxtmod ldd lmodlen current mod length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2594 addd fileln + cummulative lengths
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2595 std fileln save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2596 tfr d,u point u to next module
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2597 ldx #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2598 lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2599 os9 i$seek
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2600 bcs moderr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2601 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2602 leax i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2603 ldy #6 bytes to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2604 os9 i$read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2605 bcs moderr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2606 ldd ,x++ get sync bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2607 cmpa #$87 OK?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2608 bne moderr1 no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2609 cmpb #$CD OK?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2610 bne moderr1 no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2611 leay i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2612 ldd ,x++ get module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2613 std lmodlen save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2614 ldd ,x++ offset to module name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2615 pshs d save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2616 ldd fileln current offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2617 bsr convert2 convert D to ASCII
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2618 lda #$20 space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2619 sta ,y+ put in buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2620 ldd lmodlen current module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2621 bsr convert2 convert to ASCII
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2622 lda #$20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2623 sta ,y+ insert space
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2624 ldd fileln offset to mod start
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2625 addd ,s++ add mod name offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2626 tfr d,u U = offset to name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2627 ldx #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2628 lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2629 os9 i$seek seek to module name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2630 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2631 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2632 tfr y,x point x to buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2633 ldy #29 max chars in name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2634 lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2635 os9 i$read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2636 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2637 namend lda ,x+ find char w/ bit 7 set
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2638 bpl namend
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2639 anda #$7f clear bit 7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2640 sta -1,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2641 lda #$0d CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2642 sta ,x end output line
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2643 leax i.o.buff,u buffer start
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2644 lbsr wrtlin1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2645 bra nxtmod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2646
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2647 convert2 lbsr convert1 put ASCII val of A in Y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2648 tfr b,a repeat for B
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2649 lbra convert1 and return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2650
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2651 moderr2 cmpb #e$eof
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2652 bne moderr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2653 ldb #e$MNF module not found error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2654 bra moderr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2655 moderr1 ldb #E$BMID bad module ID error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2656 moderr clr infile flag => not linked
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2657 cmpb #e$eof end of file?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2658 lbne error no, print error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2659 lbsr read1 wait for keypress
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2660 leax inbuff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2661 stx buffptr reset buffer pointer for display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2662 lbra redo redo display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2663
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2664 parsmod os9 f$prsnam
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2665 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2666 stb modnmlen save length of name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2667 decb name len -1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2668 lda b,x last char of name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2669 ora #$80 set bit 7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2670 sta b,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2671 stx CRC save pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2672 ldu #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2673 modloop ldx #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2674 lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2675 os9 i$seek go to start of file
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2676 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2677 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2678 leax i.o.buff,u buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2679 ldy #6 bytes to read in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2680 os9 i$read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2681 bcs moderr2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2682 ldd ,x++ sync bytes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2683 cmpa #$87 OK?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2684 bne moderr1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2685 cmpb #$CD OK?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2686 bne moderr1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2687 ldd ,x++ module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2688 std lmodlen save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2689 ldd ,x mod name offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2690 addd fileln d=true offset to name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2691 tfr d,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2692 ldx #0
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2693 lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2694 os9 i$seek seek to mod name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2695 bcs moderr2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2696 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2697 leax i.o.buff,u buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2698 ldy #29 max chars in name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2699 os9 i$read read in name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2700 bcs moderr2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2701 tfr x,y
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2702 ldx CRC point to desired name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2703 ldb modnmlen get len of name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2704 os9 f$cmpnam do they match?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2705 bcc newbase yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2706 ldd lmodlen no, check next
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2707 addd fileln new offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2708 std fileln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2709 tfr d,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2710 bra modloop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2711
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2712 * Set Offset to module. LSN is functionally set to 0.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2713
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2714 newbase lda #$0d CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2715 sta b,x delimit name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2716 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2717 lda b,x last char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2718 anda #$7f clr bit 7
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2719 sta b,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2720 ldd fileln get offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2721 std offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2722 ldd #0006
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2723 leax LSN,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2724 nbloop sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2725 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2726 bne nbloop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2727 lbra readloop go read 1st 'LSN'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2728
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2729 * Display module name and offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2730
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2731 prntmod ldd #modpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2732 lbsr movecurs point to screen position
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2733 leax modnmhdr,pcr mod name header
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2734 lbsr pstring print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2735 leax infile,u point to name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2736 lbsr wrtlin1 print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2737 ldd #offpos 'offset' screen postion
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2738 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2739 leax offmess,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2740 lbsr pstring print 'Offset' label
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2741 leay i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2742 ldd offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2743 lbsr convert2 convert offset to ASCII
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2744 lda #$0d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2745 sta ,y delimit offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2746 lbra writeout display it & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2747
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2748 * 'Unlink' named module and restore LSN to original file's LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2749
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2750 unlinker tst infile linked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2751 lbeq getcmd no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2752 ldd #0008
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2753 leax LSN,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2754 unloop sta ,x+
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2755 decb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2756 bne unloop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2757 ldd #modpos position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2758 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2759 lbsr clrline erase module name
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2760 lbsr clrline erase offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2761 clr infile flag => no modules linked
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2762 lbra readloop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2763
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2764 * Toggle expert mode - edits and zaps of buffer are automatically written
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2765
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2766 expert tst xprtflag in expert mode now?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2767 beq xprton no, go turn it on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2768 clr xprtflag signal mode off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2769 ldd #xprtpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2770 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2771 lbsr clrline erase label
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2772 xprtout lbra getcmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2773 xprton lbsr rusure Sure?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2774 bne xprtout no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2775 com xprtflag signal xpert mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2776 ldd #xprtpos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2777 lbsr movecurs position cursor
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2778 leax xprtmess,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2779 lbsr pstring display 'EXPERT'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2780 bra xprtout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2781
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2782 help lbsr clrscr clear screen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2783 leax helper,pcr point to help message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2784 ldy #helpchrs length of message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2785 lbsr wrtlin2 print it
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2786 leax i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2787 lbsr Read1 get 1 byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2788 lbra redo redo display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2789
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2790 find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2791 clr echobyte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2792 com echobyte echo on
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2793 lbsr echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2794 lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2795 lbsr clrline
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2796 tst FHexAsc Hex or Ascii mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2797 bne charfind bra if Ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2798 leax findbyte,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2799 lbsr pstring display prompt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2800 ldy #33 max chars to read + 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2801 lbsr FRead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2802 cmpy #1 blank line entered?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2803 lbeq exitfind yes, exit find mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2804 leay -1,y get rid of CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2805 tfr y,d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2806 lsrb divide # bytes read by 2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2807 lbcs badfind bra if odd # read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2808 stb TargLen save # bytes in find string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2809 leau findstr,u point to storage area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2810 * Convert 2 bytes pointed to by X to object byte in A
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2811 FConvert lbsr hexobjct
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2812 lbcs badfind bra if invalid char
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2813 sta ,u+ save byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2814 leay -2,y all chars converted?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2815 bne FConvert no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2816 ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2817 bra gofind
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2818
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2819 * Input a string of ASCII characters to search for
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2820
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2821 charfind leax findchar,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2822 lbsr pstring display prompt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2823 ldy #17 max # of chars + 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2824 lbsr FRead
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2825 cmpy #1 only CR entered?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2826 lbeq exitfind yes, exit find mode
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2827 tfr y,d # bytes read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2828 decb dump CR
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2829 stb TargLen save length of target string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2830 leay findstr,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2831 find20 lda ,x+ move target
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2832 sta ,y+ string to storage area
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2833 decb done?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2834 bne find20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2835
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2836 * Check if byte from target string matches byte in buffer by EOR'ing the two.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2837 * If they match exactly, result is 0. If in 'char' search mode, EOR results
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2838 * in bits 5 and/or 7 being set if 2 bytes differ only by case or bit 7 status
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2839
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2840 gofind
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2841 *****************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2842 * Added 01/08/90 (RAK)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2843 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2844 clr echobyte echo off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2845 lbsr echo
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2846 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2847 * END of modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2848 *****************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2849 leax inbuff,u point to sector buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2850 find30 ldb seclen+1 # bytes in this sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2851 leay findstr,u point to target string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2852 find50 lda ,y get 1st target byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2853 eora ,x+ does it match?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2854 lbeq found1 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2855 tst FHexAsc in 'char' search mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2856 beq find60 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2857 bita #%01011111 else, only bits 5 &/or 7 set?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2858 lbeq found1 bra if so
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2859 find60 decb whole sector checked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2860 find70 bne find50 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2861 * No match in this sector. Read in next sector.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2862
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2863 ****************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2864 * Modification (addition) by RAK 01/08/90
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2865 * Read a character from std in to catch a break
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2866 * key which allows aborting a <F>IND.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2867 * Note: "finderr2" resets the stack.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2868 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2869 pshs d,x,y save registers
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2870 clra std in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2871 ldb #SS.Ready
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2872 os9 I$GetStt was there a key press?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2873 bcs NoKey no, skip read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2874 leax i.o.buff,u point to buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2875 lbsr Read1 get a key
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2876 lda ,x get the key
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2877 cmpa #5 break key?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2878 beq finderr2 yes, stop <F>ind
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2879 NoKey puls d,x,y no, restore registers
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2880 *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2881 * End of modification
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2882 ****************************************************
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2883
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2884 bsr FNxtsec get next sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2885 bra find30 back to loop
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2886
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2887 FNxtSec tst infile module linked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2888 beq find75 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2889 ldd lmodlen else, get module length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2890 subd #1 now A = LSN of last sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2891 cmpa LSN+2 was this last sector?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2892 beq finderr2 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2893 find75 ldd lsn+1 else, get next sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2894 addd #1 inc lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2895 std lsn+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2896 bne find80 bra if no carry needed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2897 inc lsn else, do add in carry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2898 find80 lbsr lsnseek seek to next sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2899 leax inbuff,u point to sector buffer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2900 stx buffptr save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2901 tst infile module linked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2902 beq find256 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2903 ldd lmodlen linked mod length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2904 suba lsn+2 > $100 bytes left?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2905 bne find256 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2906 tfr d,y else, set up for smaller read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2907 bra FRdSome
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2908 find256 ldy #$100
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2909 FRdSome lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2910 os9 i$read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2911 bcs finderr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2912 sty seclen save # bytes read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2913 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2914
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2915 * Input byte or char string to find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2916
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2917 FRead leax i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2918 clra stdin
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2919 os9 i$readln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2920 bcs cheksig3
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2921 rts
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2922
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2923 ChekSig3 leas 2,s scratch return addr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2924 clr SgnlCode clear old signal
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2925 cmpb #2 BREAK key?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2926 lbne error no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2927 com FHexAsc yes, toggle Hex/Ascii flag
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2928 lbra find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2929
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2930 badfind ldu Usave restore U
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2931 bsr beep
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2932 lbra find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2933
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2934 * Make a beep
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2935 beep leax bell,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2936 ldy #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2937 lbra writeout beep & return
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2938
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2939 * If error reading next sector was EOF, then find was unsuccessful.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2940 * Re-read original sector and return to CMD: prompt
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2941
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2942 finderr cmpb #e$eof EOF?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2943 lbne error no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2944 finderr2 lds Ssave dump return addr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2945 ldd oldlsn original LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2946 std lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2947 lda oldlsn+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2948 sta lsn+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2949 lbsr seeksec read original LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2950 sty seclen save bytes read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2951 bsr beep
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2952
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2953 exitfind lbra exitzap exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2954
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2955 found1 pshs b # bytes left in sector + 1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2956 decb # save bytes left if this search unsuccessful
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2957 stb FBytes and for 'Next' command
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2958 * Save pointer (X) to next byte in buffer for search to resume if this search
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2959 * is unsuccessful or for 'Next' command
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2960 stx findptr pointer for next search
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2961 ldb TargLen #bytes in target string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2962 find90 decb whole string checked?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2963 beq matched yes, match found
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2964 dec ,s else, more bytes left in sector?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2965 beq find130 no, read in next
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2966 find100 leay 1,y else, point to next target byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2967 lda ,y target byte
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2968 eora ,x+ match?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2969 beq find90 yes, loop back for more
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2970 tst FhexAsc in 'char' search mode?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2971 beq find110 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2972 bita #%01011111 only bits 5 &/or 7 set?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2973 beq find90 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2974 find110 leas 1,s else, dump counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2975 * Restore buffer pointer (X) to byte after 1st byte found that matched in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2976 * search just completed (unsuccessfully). Restore B to # bytes left in
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2977 * sector at that point. Y = start of target string.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2978 ldx findptr ready for new search
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2979 find120 leay findstr,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2980 ldb FBytes bytes left in sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2981 lbra find70
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2982
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2983 * Read in next sector to complete test for match
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2984 find130 leas 1,s dump counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2985 pshs b,y save counter & target pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2986 lbsr FNxtSec read in next sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2987 puls b,y restore counter & target pointer
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2988 lda seclen+1 # bytes in this sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2989 pshs a save
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2990 bra find100 continue search
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2991
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2992 * Successful Find
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2993 * Must determine whether target string starts in last LSN read or
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2994 * next-to-last, for display.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2995
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2996 matched leas 1,s dump counter
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2997 lda lsn+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2998 cmpa oldlsn+2 did we have to read a new sector?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
2999 beq match40 no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3000 cmpx findptr does target start in last sector read?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3001 bhs match30 yes, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3002 match10 ldd lsn+1 else, set to re-read previous LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3003 subd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3004 std lsn+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3005 cmpd #$ffff
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3006 bne match20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3007 dec lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3008 match20 lbsr seeksec re-read sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3009 sty seclen save bytes read ($100)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3010 match30 ldd lsn update 'oldlsn'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3011 std oldlsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3012 lda lsn+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3013 sta oldlsn+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3014 match40 lbsr display (re)display sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3015 * Get offset of found string from beginning of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3016 ldd findptr addr 1 byte past start of found string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3017 subd #1 D = addr of string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3018 std edbufptr save for display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3019 subd buffptr D (B) = offset from buff start
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3020 * Now LS nib of B = col #, MS nib = row # for display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3021 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3022 andb #$0f mask off MS nibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3023 pshs b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3024 addb #$58 add offset for ascii dump column
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3025 stb asciicol
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3026 puls b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3027 lda #3 3 screen columns per hex byte dump
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3028 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3029 addb #$25 add offset for hex dump column
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3030 stb hexcol
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3031 puls b
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3032 andb #$f0 mask off LS nibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3033 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3034 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3035 lsrb
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3036 lsrb B now = row #
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3037 addb #$23 add offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3038 stb rownum
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3039 lbsr revdisp reverse video
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3040 lbsr eddisply display 1st byte in found string
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3041 lbsr normdisp normal video
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3042 clr rownum
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3043 lbra exitfind done *** This line changed from 'lbra getcmd' in Version 2.0 ***
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3044
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3045 * Locate next occurrence of string located with 'Find' command.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3046 * Search starts where 'Find' left off, unless LSN has since changed,
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3047 * in which case search starts at start of present LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3048
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3049 next tst TargLen is there a string to find?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3050 lbeq getcmd no, exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3051 lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3052 leax srchmess,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3053 lbsr pstring display "Searching"
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3054 ldx findptr pointer into buffer where 'find' left off
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3055 lbeq gofind 0 => begin at start of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3056 lbra find120
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3057
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3058 * Display file size and input new value
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3059
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3060 diddle lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3061 leax lenmess,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3062 lbsr pstring
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3063 com zeroflag suppress leading zeroes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3064 leay i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3065 ldd FileLen MSB of file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3066 lbsr convert1 convert 1st nibble to ascii
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3067 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3068 lbsr convert1 do 2nd nibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3069 ldd FileLen+2 LSB of file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3070 lbsr convert1 do 3rd nibble
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3071 clr zeroflag stop suppressing leading zeroes
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3072 tfr b,a
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3073 lbsr convert1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3074 ldd #$2020
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3075 std ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3076 std ,y++
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3077 leax i.o.buff,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3078 stx bytsread temp storage
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3079 tfr y,d
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3080 subd bytsread get # chars to display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3081 tfr d,y setup for i$writln
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3082 lbsr writeout
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3083 leax newmess,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3084 lbsr pstring display message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3085 ldy #9 max chars to read
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3086 lbsr MakeHex convert them to object
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3087 bcs diddle
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3088 ldd #cmd1pos
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3089 lbsr movecurs
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3090 lbsr rusure10 ask 'Sure?'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3091 lbne getcmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3092 ldx HexBuff MSB of new file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3093 ldu HexBuff+2 LSB ""
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3094 ldb #ss.size
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3095 lda inpath
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3096 os9 i$setstt set new file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3097 lbcs error
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3098 stx FileLen
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3099 stu FileLen+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3100 ldu Usave
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3101 * Make sure LSN displayed is still within file (in case file shortened).
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3102 * If not, reset display to show last LSN with new file length.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3103 lda FileLen MSB of file length
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3104 cmpa lsn is max LSN > current LSN?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3105 blo RstLSN no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3106 bne diddled else, bra if LSN not last
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3107 ldd FileLen+1 check LSB's (MSB's equal)
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3108 cmpd lsn+1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3109 bls RstLSN10
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3110 diddled lbra readloop re-read sector & display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3111
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3112 RstLSN sta lsn reset MSB of lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3113 ldd FileLen+1 get LSB's of last sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3114 RstLSN10 tst FileLen+3 need to correct?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3115 bne RstLSN20
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3116 subd #1
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3117 RstLSN20 std lsn+1 reset LSB's of lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3118 * If D was 0, need to 'borrow'
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3119 cmpd #$ffff was D 0?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3120 bne diddled no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3121 dec lsn else, correct LSB of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3122 bra diddled
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3123
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3124 push lda StackCnt # of LSN's on stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3125 cmpa #MaxStack more room?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3126 bhs full no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3127 ldb #3 3 bytes per entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3128 mul
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3129 leax Stack,u start of stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3130 leax b,x add offset
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3131 ldd lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3132 std ,x++ put current LSN on stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3133 lda lsn+2
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3134 sta ,x
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3135 * Now that LSN is on stack, check to make sure it isn't the last one
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3136 * pushed, as well. If so, don't increment StackCnt, which effectively
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3137 * cancels the Push operation.
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3138 tst StackCnt any sectors thus far?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3139 beq pushOK no, do push
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3140 cmpa -3,x Is LSB of LSN the same as previous LSN pushed?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3141 bne pushOK no, bra
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3142 ldd lsn check MS bytes of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3143 cmpa -5,x do they match?
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3144 beq pushed yes, exit without completing push
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3145 pushOK inc StackCnt complete push
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3146 pushed lbra getcmd exit
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3147
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3148 * Stack is full - display message
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3149 full lbsr movecmd
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3150 leax fullmess,pcr
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3151 lbsr pstring display
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3152 lbsr read1 wait for keypress
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3153 bra pushed
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3154
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3155 remove lda StackCnt # sectors on stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3156 beq pushed exit if none
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3157 ldb #3 3 bytes per entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3158 mul offset to END of entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3159 subb #3 no B = offset to entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3160 leax Stack,u
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3161 leax b,x point to entry
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3162 ldd ,x++ get MS bytes of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3163 std lsn
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3164 lda ,x get LS byte of LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3165 sta lsn+2 reset LSN
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3166 dec StackCnt 1 less sector on stack
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3167 lbra readloop and go read in new sector
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3168
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3169 emod
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3170 dEDend equ *
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3171 end
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3172
69757400b240 Added to std CMDS
boisy
parents:
diff changeset
3173 ENDC