Files
antoine-source/applesqueezer/sdcard/debug_Output.txt
Antoine Vignau bc5ec30f70 SD SD SD
2024-11-11 11:30:34 +01:00

1008 lines
121 KiB
Plaintext

------+-------------------+-------------+----+---------+------+-----------------------+-------------------------------------------------------------------
Line | # File Line | Line Type | MX | Reloc | Size | Address Object Code | Source Code
------+-------------------+-------------+----+---------+------+-----------------------+-------------------------------------------------------------------
1 | 1 debug.s 1 | Comment | 11 | | 0 | 00/0000 | *
2 | 1 debug.s 2 | Comment | 11 | | 0 | 00/0000 | * Debug
3 | 1 debug.s 3 | Comment | 11 | | 0 | 00/0000 | * Play with the SD card
4 | 1 debug.s 4 | Comment | 11 | | 0 | 00/0000 | *
5 | 1 debug.s 5 | Comment | 11 | | 0 | 00/0000 | * (c) 2023, Brutal Deluxe Software
6 | 1 debug.s 6 | Comment | 11 | | 0 | 00/0000 | * Visit brutaldeluxe.fr
7 | 1 debug.s 7 | Comment | 11 | | 0 | 00/0000 | *
8 | 1 debug.s 8 | Empty | 11 | | 0 | 00/0000 |
9 | 1 debug.s 9 | Directive | 11 | | 0 | 00/0000 | xc
10 | 1 debug.s 10 | Directive | 11 | | 0 | 00/0000 | xc
11 | 1 debug.s 11 | Directive | 00 | | 0 | 00/0000 | mx %00
12 | 1 debug.s 12 | Empty | 00 | | 0 | 00/0000 |
13 | 1 debug.s 13 | Directive | 00 | | 0 | 00/0000 | rel
14 | 1 debug.s 14 | Directive | 00 | | 0 | 00/0000 | dsk debug.l
15 | 1 debug.s 15 | Directive | 00 | | 0 | 00/0000 | lst off
16 | 1 debug.s 16 | Empty | 00 | | 0 | 00/0000 |
17 | 1 debug.s 17 | Comment | 00 | | 0 | 00/0000 | *----------
18 | 1 debug.s 18 | Empty | 00 | | 0 | 00/0000 |
19 | 1 debug.s 19 | Equivalence | 00 | | 0 | 00/0000 | SD_ADDRESS_SET_MSB = $e40000
20 | 1 debug.s 20 | Equivalence | 00 | | 0 | 00/0000 | SD_ADDRESS_SET_MSB_1 = $e40002
21 | 1 debug.s 21 | Equivalence | 00 | | 0 | 00/0000 | SD_ADDRESS_SET_MSB_2 = $e40004
22 | 1 debug.s 22 | Equivalence | 00 | | 0 | 00/0000 | SD_ADDRESS_SET_MSB_3 = $e40006
23 | 1 debug.s 23 | Equivalence | 00 | | 0 | 00/0000 | SD_START_READ = $e40008 ; starts reading the sector (if it was idle)
24 | 1 debug.s 24 | Equivalence | 00 | | 0 | 00/0000 | SD_READ = $e4000a
25 | 1 debug.s 25 | Equivalence | 00 | | 0 | 00/0000 | SD_START_WRITE = $e4000c ; starts writing the sector (if it was idle)
26 | 1 debug.s 26 | Empty | 00 | | 0 | 00/0000 |
27 | 1 debug.s 27 | Directive | 00 | | 0 | 00/0000 | use 4/Int.Macs
28 | 1 debug.s 28 | Directive | 00 | | 0 | 00/0000 | use 4/Locator.Macs
29 | 1 debug.s 29 | Directive | 00 | | 0 | 00/0000 | use 4/Mem.Macs
30 | 1 debug.s 30 | Directive | 00 | | 0 | 00/0000 | use 4/Misc.Macs
31 | 1 debug.s 31 | Directive | 00 | | 0 | 00/0000 | use 4/Text.Macs
32 | 1 debug.s 32 | Directive | 00 | | 0 | 00/0000 | use 4/Util.Macs
33 | 1 debug.s 33 | Empty | 00 | | 0 | 00/0000 |
34 | 1 debug.s 34 | Equivalence | 00 | | 0 | 00/0000 | Debut = $00
35 | 1 debug.s 35 | Equivalence | 00 | | 0 | 00/0000 | GSOS = $e100a8
36 | 1 debug.s 36 | Empty | 00 | | 0 | 00/0000 |
37 | 1 debug.s 37 | Comment | 00 | | 0 | 00/0000 | *----------
38 | 1 debug.s 38 | Empty | 00 | | 0 | 00/0000 |
39 | 1 debug.s 39 | Equivalence | 00 | | 0 | 00/0000 | dcREMOVE = $0004
40 | 1 debug.s 40 | Equivalence | 00 | | 0 | 00/0000 | dcONLINE = $0010
41 | 1 debug.s 41 | Equivalence | 00 | | 0 | 00/0000 | dcBLOCKDEVICE = $0080
42 | 1 debug.s 42 | Empty | 00 | | 0 | 00/0000 |
43 | 1 debug.s 43 | Equivalence | 00 | | 0 | 00/0000 | maxDEVICES = 128
44 | 1 debug.s 44 | Empty | 00 | | 0 | 00/0000 |
45 | 1 debug.s 45 | Comment | 00 | | 0 | 00/0000 | *----------
46 | 1 debug.s 46 | Empty | 00 | | 0 | 00/0000 |
47 | 1 debug.s 47 | Code | 00 | | 1 | 00/0000 : 4B | phk
48 | 1 debug.s 48 | Code | 00 | | 1 | 00/0001 : AB | plb
49 | 1 debug.s 49 | Empty | 00 | | 0 | 00/0002 |
50 | 1 debug.s 50 | Code | 00 | | 1 | 00/0002 : 7B | tdc
51 | 1 debug.s 51 | Code | 00 | 2 | 3 | 00/0003 : 8D 11 05 | sta myDP
52 | 1 debug.s 52 | Empty | 00 | | 0 | 00/0006 |
53 | 1 debug.s 53 | Macro | 00 | | 0 | 00/0006 | _TLStartUp
55 | 1 debug.s 53 | Code | 00 | | 3 | 00/0006 : A2 01 02 | LDX #$201 ; load tool call #
56 | 1 debug.s 53 | Code | 00 | | 4 | 00/0009 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
57 | 1 debug.s 54 | Code | 00 | | 1 | 00/000D : 48 | pha
58 | 1 debug.s 55 | Macro | 00 | | 0 | 00/000E | _MMStartUp
60 | 1 debug.s 55 | Code | 00 | | 3 | 00/000E : A2 02 02 | LDX #$202 ; load tool call #
61 | 1 debug.s 55 | Code | 00 | | 4 | 00/0011 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
62 | 1 debug.s 56 | Code | 00 | | 1 | 00/0015 : 68 | pla
63 | 1 debug.s 57 | Code | 00 | 2 | 3 | 00/0016 : 8D 0D 05 | sta appID
64 | 1 debug.s 58 | Code | 00 | | 3 | 00/0019 : 09 00 01 | ora #$0100
65 | 1 debug.s 59 | Code | 00 | 2 | 3 | 00/001C : 8D 0F 05 | sta myID
66 | 1 debug.s 60 | Empty | 00 | | 0 | 00/001F |
67 | 1 debug.s 61 | Macro | 00 | | 0 | 00/001F | _MTStartUp
69 | 1 debug.s 61 | Code | 00 | | 3 | 00/001F : A2 03 02 | LDX #$203 ; load tool call #
70 | 1 debug.s 61 | Code | 00 | | 4 | 00/0022 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
71 | 1 debug.s 62 | Macro | 00 | | 0 | 00/0026 | _TextStartUp
73 | 1 debug.s 62 | Code | 00 | | 3 | 00/0026 : A2 0C 02 | LDX #$20C ; load tool call #
74 | 1 debug.s 62 | Code | 00 | | 4 | 00/0029 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
75 | 1 debug.s 63 | Empty | 00 | | 0 | 00/002D |
76 | 1 debug.s 64 | Macro | 00 | | 0 | 00/002D | _IMStartUp
78 | 1 debug.s 64 | Code | 00 | | 3 | 00/002D : A2 0B 02 | LDX #$20B ; load tool call #
79 | 1 debug.s 64 | Code | 00 | | 4 | 00/0030 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
80 | 1 debug.s 65 | Empty | 00 | | 0 | 00/0034 |
81 | 1 debug.s 66 | Code | 00 | | 1 | 00/0034 : 48 | pha
82 | 1 debug.s 67 | Code | 00 | | 1 | 00/0035 : 48 | pha
83 | 1 debug.s 68 | Macro | 00 | | 0 | 00/0036 | PushLong #$010000
87 | 1 debug.s 68 | Code | 00 | | 3 | 00/0036 : F4 01 00 | PEA #^#$010000
94 | 1 debug.s 68 | Code | 00 | | 3 | 00/0039 : F4 00 00 | PEA #$010000
97 | 1 debug.s 69 | Macro | 00 | | 0 | 00/003C | PushWord myID
102 | 1 debug.s 69 | Code | 00 | 2 | 3 | 00/003C : AD 0F 05 | LDA myID
103 | 1 debug.s 69 | Code | 00 | | 1 | 00/003F : 48 | PHA
105 | 1 debug.s 70 | Macro | 00 | | 0 | 00/0040 | PushWord #%11000000_00011100
107 | 1 debug.s 70 | Code | 00 | | 3 | 00/0040 : F4 1C C0 | PEA #%11000000_00011100
110 | 1 debug.s 71 | Macro | 00 | | 0 | 00/0043 | PushLong #0
114 | 1 debug.s 71 | Code | 00 | | 3 | 00/0043 : F4 00 00 | PEA #^#0
121 | 1 debug.s 71 | Code | 00 | | 3 | 00/0046 : F4 00 00 | PEA #0
124 | 1 debug.s 72 | Macro | 00 | | 0 | 00/0049 | _NewHandle
126 | 1 debug.s 72 | Code | 00 | | 3 | 00/0049 : A2 02 09 | LDX #$902 ; load tool call #
127 | 1 debug.s 72 | Code | 00 | | 4 | 00/004C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
128 | 1 debug.s 73 | Code | 00 | | 1 | 00/0050 : 0B | phd
129 | 1 debug.s 74 | Code | 00 | | 1 | 00/0051 : 3B | tsc
130 | 1 debug.s 75 | Code | 00 | | 1 | 00/0052 : 5B | tcd
131 | 1 debug.s 76 | Code | 00 | | 2 | 00/0053 : A7 03 | lda [3]
132 | 1 debug.s 77 | Code | 00 | 2 | 3 | 00/0055 : 8D 13 05 | sta ptrBUFFER
133 | 1 debug.s 78 | Code | 00 | | 3 | 00/0058 : A0 02 00 | ldy #2
134 | 1 debug.s 79 | Code | 00 | | 2 | 00/005B : B7 03 | lda [3],y
135 | 1 debug.s 80 | Code | 00 | 2 | 3 | 00/005D : 8D 15 05 | sta ptrBUFFER+2
136 | 1 debug.s 81 | Code | 00 | | 1 | 00/0060 : 2B | pld
137 | 1 debug.s 82 | Code | 00 | | 1 | 00/0061 : 7A | ply
138 | 1 debug.s 83 | Code | 00 | 2 | 3 | 00/0062 : 8C 17 05 | sty haBUFFER
139 | 1 debug.s 84 | Code | 00 | | 1 | 00/0065 : FA | plx
140 | 1 debug.s 85 | Code | 00 | 2 | 3 | 00/0066 : 8E 19 05 | stx haBUFFER+2
141 | 1 debug.s 86 | Empty | 00 | | 0 | 00/0069 |
142 | 1 debug.s 87 | Code | 00 | 2 | 3 | 00/0069 : A9 1B 05 | lda #myBUFFER
143 | 1 debug.s 88 | Code | 00 | | 4 | 00/006C : 8F 00 03 00 | stal $300
144 | 1 debug.s 89 | Code | 00 | 1 >>16 | 3 | 00/0070 : A9 00 00 | lda #^myBUFFER
145 | 1 debug.s 90 | Code | 00 | | 4 | 00/0073 : 8F 02 03 00 | stal $302
146 | 1 debug.s 91 | Empty | 00 | | 0 | 00/0077 |
147 | 1 debug.s 92 | Comment | 00 | | 0 | 00/0077 | *----------
148 | 1 debug.s 93 | Empty | 00 | | 0 | 00/0077 |
149 | 1 debug.s 94 | Macro | 00 | | 0 | 00/0077 | PushWord #$00FF
151 | 1 debug.s 94 | Code | 00 | | 3 | 00/0077 : F4 FF 00 | PEA #$00FF
154 | 1 debug.s 95 | Macro | 00 | | 0 | 00/007A | PushWord #$0080
156 | 1 debug.s 95 | Code | 00 | | 3 | 00/007A : F4 80 00 | PEA #$0080
159 | 1 debug.s 96 | Macro | 00 | | 0 | 00/007D | _SetInGlobals
161 | 1 debug.s 96 | Code | 00 | | 3 | 00/007D : A2 0C 09 | LDX #$90C ; load tool call #
162 | 1 debug.s 96 | Code | 00 | | 4 | 00/0080 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
163 | 1 debug.s 97 | Macro | 00 | | 0 | 00/0084 | PushWord #$00FF
165 | 1 debug.s 97 | Code | 00 | | 3 | 00/0084 : F4 FF 00 | PEA #$00FF
168 | 1 debug.s 98 | Macro | 00 | | 0 | 00/0087 | PushWord #$0080
170 | 1 debug.s 98 | Code | 00 | | 3 | 00/0087 : F4 80 00 | PEA #$0080
173 | 1 debug.s 99 | Macro | 00 | | 0 | 00/008A | _SetOutGlobals
175 | 1 debug.s 99 | Code | 00 | | 3 | 00/008A : A2 0C 0A | LDX #$A0C ; load tool call #
176 | 1 debug.s 99 | Code | 00 | | 4 | 00/008D : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
177 | 1 debug.s 100 | Macro | 00 | | 0 | 00/0091 | PushWord #$00FF
179 | 1 debug.s 100 | Code | 00 | | 3 | 00/0091 : F4 FF 00 | PEA #$00FF
182 | 1 debug.s 101 | Macro | 00 | | 0 | 00/0094 | PushWord #$0080
184 | 1 debug.s 101 | Code | 00 | | 3 | 00/0094 : F4 80 00 | PEA #$0080
187 | 1 debug.s 102 | Macro | 00 | | 0 | 00/0097 | _SetErrGlobals
189 | 1 debug.s 102 | Code | 00 | | 3 | 00/0097 : A2 0C 0B | LDX #$B0C ; load tool call #
190 | 1 debug.s 102 | Code | 00 | | 4 | 00/009A : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
191 | 1 debug.s 103 | Empty | 00 | | 0 | 00/009E |
192 | 1 debug.s 104 | Macro | 00 | | 0 | 00/009E | PushWord #0
194 | 1 debug.s 104 | Code | 00 | | 3 | 00/009E : F4 00 00 | PEA #0
197 | 1 debug.s 105 | Macro | 00 | | 0 | 00/00A1 | PushLong #3
201 | 1 debug.s 105 | Code | 00 | | 3 | 00/00A1 : F4 00 00 | PEA #^#3
208 | 1 debug.s 105 | Code | 00 | | 3 | 00/00A4 : F4 03 00 | PEA #3
211 | 1 debug.s 106 | Macro | 00 | | 0 | 00/00A7 | _SetInputDevice
213 | 1 debug.s 106 | Code | 00 | | 3 | 00/00A7 : A2 0C 0F | LDX #$F0C ; load tool call #
214 | 1 debug.s 106 | Code | 00 | | 4 | 00/00AA : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
215 | 1 debug.s 107 | Macro | 00 | | 0 | 00/00AE | PushWord #0
217 | 1 debug.s 107 | Code | 00 | | 3 | 00/00AE : F4 00 00 | PEA #0
220 | 1 debug.s 108 | Macro | 00 | | 0 | 00/00B1 | PushLong #3
224 | 1 debug.s 108 | Code | 00 | | 3 | 00/00B1 : F4 00 00 | PEA #^#3
231 | 1 debug.s 108 | Code | 00 | | 3 | 00/00B4 : F4 03 00 | PEA #3
234 | 1 debug.s 109 | Macro | 00 | | 0 | 00/00B7 | _SetOutputDevice
236 | 1 debug.s 109 | Code | 00 | | 3 | 00/00B7 : A2 0C 10 | LDX #$100C ; load tool call #
237 | 1 debug.s 109 | Code | 00 | | 4 | 00/00BA : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
238 | 1 debug.s 110 | Macro | 00 | | 0 | 00/00BE | PushWord #0
240 | 1 debug.s 110 | Code | 00 | | 3 | 00/00BE : F4 00 00 | PEA #0
243 | 1 debug.s 111 | Macro | 00 | | 0 | 00/00C1 | PushLong #3
247 | 1 debug.s 111 | Code | 00 | | 3 | 00/00C1 : F4 00 00 | PEA #^#3
254 | 1 debug.s 111 | Code | 00 | | 3 | 00/00C4 : F4 03 00 | PEA #3
257 | 1 debug.s 112 | Macro | 00 | | 0 | 00/00C7 | _SetErrorDevice
259 | 1 debug.s 112 | Code | 00 | | 3 | 00/00C7 : A2 0C 11 | LDX #$110C ; load tool call #
260 | 1 debug.s 112 | Code | 00 | | 4 | 00/00CA : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
261 | 1 debug.s 113 | Empty | 00 | | 0 | 00/00CE |
262 | 1 debug.s 114 | Macro | 00 | | 0 | 00/00CE | PushWord #0
264 | 1 debug.s 114 | Code | 00 | | 3 | 00/00CE : F4 00 00 | PEA #0
267 | 1 debug.s 115 | Macro | 00 | | 0 | 00/00D1 | _InitTextDev
269 | 1 debug.s 115 | Code | 00 | | 3 | 00/00D1 : A2 0C 15 | LDX #$150C ; load tool call #
270 | 1 debug.s 115 | Code | 00 | | 4 | 00/00D4 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
271 | 1 debug.s 116 | Macro | 00 | | 0 | 00/00D8 | PushWord #1
273 | 1 debug.s 116 | Code | 00 | | 3 | 00/00D8 : F4 01 00 | PEA #1
276 | 1 debug.s 117 | Macro | 00 | | 0 | 00/00DB | _InitTextDev
278 | 1 debug.s 117 | Code | 00 | | 3 | 00/00DB : A2 0C 15 | LDX #$150C ; load tool call #
279 | 1 debug.s 117 | Code | 00 | | 4 | 00/00DE : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
280 | 1 debug.s 118 | Macro | 00 | | 0 | 00/00E2 | PushWord #2
282 | 1 debug.s 118 | Code | 00 | | 3 | 00/00E2 : F4 02 00 | PEA #2
285 | 1 debug.s 119 | Macro | 00 | | 0 | 00/00E5 | _InitTextDev
287 | 1 debug.s 119 | Code | 00 | | 3 | 00/00E5 : A2 0C 15 | LDX #$150C ; load tool call #
288 | 1 debug.s 119 | Code | 00 | | 4 | 00/00E8 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
289 | 1 debug.s 120 | Empty | 00 | | 0 | 00/00EC |
290 | 1 debug.s 121 | Macro | 00 | | 0 | 00/00EC | PushWord #$0c ; home
292 | 1 debug.s 121 | Code | 00 | | 3 | 00/00EC : F4 0C 00 | PEA #$0c
295 | 1 debug.s 122 | Macro | 00 | | 0 | 00/00EF | _WriteChar
297 | 1 debug.s 122 | Code | 00 | | 3 | 00/00EF : A2 0C 18 | LDX #$180C ; load tool call #
298 | 1 debug.s 122 | Code | 00 | | 4 | 00/00F2 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
299 | 1 debug.s 123 | Empty | 00 | | 0 | 00/00F6 |
300 | 1 debug.s 124 | Comment | 00 | | 0 | 00/00F6 | *----------------------------
301 | 1 debug.s 125 | Comment | 00 | | 0 | 00/00F6 | * MAIN MENU
302 | 1 debug.s 126 | Comment | 00 | | 0 | 00/00F6 | *----------------------------
303 | 1 debug.s 127 | Empty | 00 | | 0 | 00/00F6 |
304 | 1 debug.s 128 | Macro | 00 | | 0 | 00/00F6 | mainMENU PushLong #strMAINMENU
308 | 1 debug.s 128 | Code | 00 | 1 >>16 | 3 | 00/00F6 : F4 00 00 | PEA #^#strMAINMENU
315 | 1 debug.s 128 | Code | 00 | 2 | 3 | 00/00F9 : F4 0C 01 | PEA #strMAINMENU
318 | 1 debug.s 129 | Macro | 00 | | 0 | 00/00FC | _WriteCString
320 | 1 debug.s 129 | Code | 00 | | 3 | 00/00FC : A2 0C 20 | LDX #$200C ; load tool call #
321 | 1 debug.s 129 | Code | 00 | | 4 | 00/00FF : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
322 | 1 debug.s 130 | Empty | 00 | | 0 | 00/0103 |
323 | 1 debug.s 131 | Code | 00 | 2 | 3 | 00/0103 : 20 79 01 | jsr pollDEVICES ; show CD-ROM devices
324 | 1 debug.s 132 | Code | 00 | 2 | 3 | 00/0106 : 20 FE 03 | jsr waitFORKEY ; is it 0-9
325 | 1 debug.s 133 | Code | 00 | 2 | 3 | 00/0109 : 4C 3B 01 | jmp doQUIT
326 | 1 debug.s 134 | Empty | 00 | | 0 | 00/010C |
327 | 1 debug.s 135 | Comment | 00 | | 0 | 00/010C | *--- Data
328 | 1 debug.s 136 | Empty | 00 | | 0 | 00/010C |
329 | 1 debug.s 137 | Data | 00 | | 12 | 00/010C : 0D 44 65 62 | strMAINMENU asc 0d'Debug ASSD'0d
| | | | | | 75 67 20 41 |
| | | | | | 53 53 44 0D |
330 | 1 debug.s 138 | Data | 00 | | 35 | 00/0118 : 28 63 29 20 | asc '(c) 2023, Brutal Deluxe Software'0d0d00
| | | | | | 32 30 32 33 |
| | | | | | 2C 20 42 72 |
| | | | | | 75 74 61 6C |
| | | | | | 20 44 65 6C |
| | | | | | 75 78 65 20 |
| | | | | | 53 6F 66 74 |
| | | | | | 77 61 72 65 |
| | | | | | 0D 0D 00 |
331 | 1 debug.s 139 | Empty | 00 | | 0 | 00/013B |
332 | 1 debug.s 140 | Comment | 00 | | 0 | 00/013B | *----------------------------
333 | 1 debug.s 141 | Comment | 00 | | 0 | 00/013B | * QUIT PROGRAM
334 | 1 debug.s 142 | Comment | 00 | | 0 | 00/013B | *----------------------------
335 | 1 debug.s 143 | Empty | 00 | | 0 | 00/013B |
336 | 1 debug.s 144 | Macro | 00 | | 0 | 00/013B | doQUIT _IMShutDown
338 | 1 debug.s 144 | Code | 00 | | 3 | 00/013B : A2 0B 03 | LDX #$30B ; load tool call #
339 | 1 debug.s 144 | Code | 00 | | 4 | 00/013E : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
340 | 1 debug.s 145 | Macro | 00 | | 0 | 00/0142 | _TextShutDown
342 | 1 debug.s 145 | Code | 00 | | 3 | 00/0142 : A2 0C 03 | LDX #$30C ; load tool call #
343 | 1 debug.s 145 | Code | 00 | | 4 | 00/0145 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
344 | 1 debug.s 146 | Macro | 00 | | 0 | 00/0149 | _MTShutDown
346 | 1 debug.s 146 | Code | 00 | | 3 | 00/0149 : A2 03 03 | LDX #$303 ; load tool call #
347 | 1 debug.s 146 | Code | 00 | | 4 | 00/014C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
348 | 1 debug.s 147 | Empty | 00 | | 0 | 00/0150 |
349 | 1 debug.s 148 | Macro | 00 | | 0 | 00/0150 | PushWord myID
354 | 1 debug.s 148 | Code | 00 | 2 | 3 | 00/0150 : AD 0F 05 | LDA myID
355 | 1 debug.s 148 | Code | 00 | | 1 | 00/0153 : 48 | PHA
357 | 1 debug.s 149 | Macro | 00 | | 0 | 00/0154 | _DisposeAll
359 | 1 debug.s 149 | Code | 00 | | 3 | 00/0154 : A2 02 11 | LDX #$1102 ; load tool call #
360 | 1 debug.s 149 | Code | 00 | | 4 | 00/0157 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
361 | 1 debug.s 150 | Empty | 00 | | 0 | 00/015B |
362 | 1 debug.s 151 | Macro | 00 | | 0 | 00/015B | PushWord appID
367 | 1 debug.s 151 | Code | 00 | 2 | 3 | 00/015B : AD 0D 05 | LDA appID
368 | 1 debug.s 151 | Code | 00 | | 1 | 00/015E : 48 | PHA
370 | 1 debug.s 152 | Macro | 00 | | 0 | 00/015F | _MMShutDown
372 | 1 debug.s 152 | Code | 00 | | 3 | 00/015F : A2 02 03 | LDX #$302 ; load tool call #
373 | 1 debug.s 152 | Code | 00 | | 4 | 00/0162 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
374 | 1 debug.s 153 | Empty | 00 | | 0 | 00/0166 |
375 | 1 debug.s 154 | Macro | 00 | | 0 | 00/0166 | _TLShutDown
377 | 1 debug.s 154 | Code | 00 | | 3 | 00/0166 : A2 01 03 | LDX #$301 ; load tool call #
378 | 1 debug.s 154 | Code | 00 | | 4 | 00/0169 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
379 | 1 debug.s 155 | Empty | 00 | | 0 | 00/016D |
380 | 1 debug.s 156 | Code | 00 | | 4 | 00/016D : 22 A8 00 E1 | jsl {$e100a8}
381 | 1 debug.s 157 | Data | 00 | | 2 | 00/0171 : 29 20 | dw $2029
382 | 1 debug.s 158 | Data | 00 | 3 | 4 | 00/0173 : 71 04 00 00 | adrl proQUIT
383 | 1 debug.s 159 | Empty | 00 | | 0 | 00/0177 |
384 | 1 debug.s 160 | Code | 00 | | 2 | 00/0177 : 00 BD | brk $bd
385 | 1 debug.s 161 | Empty | 00 | | 0 | 00/0179 |
386 | 1 debug.s 162 | Comment | 00 | | 0 | 00/0179 | *----------------------------
387 | 1 debug.s 163 | Comment | 00 | | 0 | 00/0179 | * POLL DEVICES
388 | 1 debug.s 164 | Comment | 00 | | 0 | 00/0179 | *----------------------------
389 | 1 debug.s 165 | Empty | 00 | | 0 | 00/0179 |
390 | 1 debug.s 166 | Code | 00 | | 3 | 00/0179 : A9 01 00 | pollDEVICES lda #1 ; start with device 1
391 | 1 debug.s 167 | Code | 00 | 2 | 3 | 00/017C : 8D 7B 04 | sta proDINFO+2
392 | 1 debug.s 168 | Empty | 00 | | 0 | 00/017F |
393 | 1 debug.s 169 | Code | 00 | | 4 | 00/017F : 22 A8 00 E1 | ozunid_1 jsl {$e100a8} ; do a DInfo
394 | 1 debug.s 170 | Data | 00 | | 2 | 00/0183 : 2C 20 | dw $202c
395 | 1 debug.s 171 | Data | 00 | 3 | 4 | 00/0185 : 79 04 00 00 | adrl proDINFO
396 | 1 debug.s 172 | Code | 00 | | 2 | 00/0189 : 90 0B | bcc found
397 | 1 debug.s 173 | Empty | 00 | | 0 | 00/018B |
398 | 1 debug.s 174 | Code | 00 | | 3 | 00/018B : C9 11 00 | cmp #$0011 ; no more devices
399 | 1 debug.s 175 | Code | 00 | | 2 | 00/018E : D0 01 | bne loop
400 | 1 debug.s 176 | Code | 00 | | 1 | 00/0190 : 60 | rts
401 | 1 debug.s 177 | Empty | 00 | | 0 | 00/0191 |
402 | 1 debug.s 178 | Code | 00 | 2 | 3 | 00/0191 : EE 7B 04 | loop inc proDINFO+2
403 | 1 debug.s 179 | Code | 00 | | 2 | 00/0194 : 80 E9 | bra ozunid_1
404 | 1 debug.s 180 | Empty | 00 | | 0 | 00/0196 |
405 | 1 debug.s 181 | Comment | 00 | | 0 | 00/0196 | *---------- Show device
406 | 1 debug.s 182 | Empty | 00 | | 0 | 00/0196 |
407 | 1 debug.s 183 | Code | 00 | 2 | 3 | 00/0196 : AD 81 04 | found lda proDINFO+8 ; block device?
408 | 1 debug.s 184 | Code | 00 | | 3 | 00/0199 : 29 80 00 | and #{$0080}
409 | 1 debug.s 185 | Code | 00 | | 2 | 00/019C : F0 F3 | beq loop
410 | 1 debug.s 186 | Empty | 00 | | 0 | 00/019E |
411 | 1 debug.s 187 | Code | 00 | 2 | 3 | 00/019E : AD DB 04 | lda devINFO1 ; from a STRL to a STR
412 | 1 debug.s 188 | Code | 00 | | 1 | 00/01A1 : EB | xba
413 | 1 debug.s 189 | Code | 00 | 2 | 3 | 00/01A2 : 8D DB 04 | sta devINFO1
414 | 1 debug.s 190 | Empty | 00 | | 0 | 00/01A5 |
415 | 1 debug.s 191 | Code | 00 | | 3 | 00/01A5 : A2 0A 00 | ldx #10 ; compare name
416 | 1 debug.s 192 | Code | 00 | 2 | 3 | 00/01A8 : BD DC 04 | ozunid_2 lda devINFO2,x
417 | 1 debug.s 193 | Code | 00 | 2 | 3 | 00/01AB : DD CD 04 | cmp strDEVICE,x
418 | 1 debug.s 194 | Code | 00 | | 2 | 00/01AE : D0 E1 | bne loop
419 | 1 debug.s 195 | Code | 00 | | 1 | 00/01B0 : CA | dex
420 | 1 debug.s 196 | Code | 00 | | 1 | 00/01B1 : CA | dex
421 | 1 debug.s 197 | Code | 00 | | 2 | 00/01B2 : 10 F4 | bpl ozunid_2
422 | 1 debug.s 198 | Empty | 00 | | 0 | 00/01B4 |
423 | 1 debug.s 199 | Comment | 00 | | 0 | 00/01B4 | *--- Show device ID
424 | 1 debug.s 200 | Empty | 00 | | 0 | 00/01B4 |
425 | 1 debug.s 201 | Code | 00 | 2 | 3 | 00/01B4 : AD 7B 04 | lda proDINFO+2
426 | 1 debug.s 202 | Code | 00 | 2 | 3 | 00/01B7 : 8D 91 04 | sta proDREAD+2
427 | 1 debug.s 203 | Code | 00 | 2 | 3 | 00/01BA : 8D A7 04 | sta proDWRITE+2
428 | 1 debug.s 204 | Code | 00 | 2 | 3 | 00/01BD : 8D BD 04 | sta proDSTATUS+2
429 | 1 debug.s 205 | Code | 00 | 2 | 3 | 00/01C0 : 20 43 04 | jsr showHEX
430 | 1 debug.s 206 | Empty | 00 | | 0 | 00/01C3 |
431 | 1 debug.s 207 | Macro | 00 | | 0 | 00/01C3 | PushWord #$20
433 | 1 debug.s 207 | Code | 00 | | 3 | 00/01C3 : F4 20 00 | PEA #$20
436 | 1 debug.s 208 | Macro | 00 | | 0 | 00/01C6 | _WriteChar
438 | 1 debug.s 208 | Code | 00 | | 3 | 00/01C6 : A2 0C 18 | LDX #$180C ; load tool call #
439 | 1 debug.s 208 | Code | 00 | | 4 | 00/01C9 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
440 | 1 debug.s 209 | Empty | 00 | | 0 | 00/01CD |
441 | 1 debug.s 210 | Comment | 00 | | 0 | 00/01CD | *--- Show Characteristics
442 | 1 debug.s 211 | Empty | 00 | | 0 | 00/01CD |
443 | 1 debug.s 212 | Code | 00 | 2 | 3 | 00/01CD : AD 81 04 | lda proDINFO+8
444 | 1 debug.s 213 | Code | 00 | 2 | 3 | 00/01D0 : 20 43 04 | jsr showHEX
445 | 1 debug.s 214 | Empty | 00 | | 0 | 00/01D3 |
446 | 1 debug.s 215 | Macro | 00 | | 0 | 00/01D3 | PushWord #$20
448 | 1 debug.s 215 | Code | 00 | | 3 | 00/01D3 : F4 20 00 | PEA #$20
451 | 1 debug.s 216 | Macro | 00 | | 0 | 00/01D6 | _WriteChar
453 | 1 debug.s 216 | Code | 00 | | 3 | 00/01D6 : A2 0C 18 | LDX #$180C ; load tool call #
454 | 1 debug.s 216 | Code | 00 | | 4 | 00/01D9 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
455 | 1 debug.s 217 | Empty | 00 | | 0 | 00/01DD |
456 | 1 debug.s 218 | Comment | 00 | | 0 | 00/01DD | *--- Show Name
457 | 1 debug.s 219 | Empty | 00 | | 0 | 00/01DD |
458 | 1 debug.s 220 | Macro | 00 | | 0 | 00/01DD | PushLong #devINFO2
462 | 1 debug.s 220 | Code | 00 | 1 >>16 | 3 | 00/01DD : F4 00 00 | PEA #^#devINFO2
469 | 1 debug.s 220 | Code | 00 | 2 | 3 | 00/01E0 : F4 DC 04 | PEA #devINFO2
472 | 1 debug.s 221 | Macro | 00 | | 0 | 00/01E3 | _WriteString
474 | 1 debug.s 221 | Code | 00 | | 3 | 00/01E3 : A2 0C 1C | LDX #$1C0C ; load tool call #
475 | 1 debug.s 221 | Code | 00 | | 4 | 00/01E6 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
476 | 1 debug.s 222 | Empty | 00 | | 0 | 00/01EA |
477 | 1 debug.s 223 | Comment | 00 | | 0 | 00/01EA | *--- Perform a DStatus
478 | 1 debug.s 224 | Empty | 00 | | 0 | 00/01EA |
479 | 1 debug.s 225 | Macro | 00 | | 0 | 00/01EA | PushLong #strDSTATUS ; show the string
483 | 1 debug.s 225 | Code | 00 | 1 >>16 | 3 | 00/01EA : F4 00 00 | PEA #^#strDSTATUS
490 | 1 debug.s 225 | Code | 00 | 2 | 3 | 00/01ED : F4 AD 03 | PEA #strDSTATUS
493 | 1 debug.s 226 | Macro | 00 | | 0 | 00/01F0 | _WriteCString
495 | 1 debug.s 226 | Code | 00 | | 3 | 00/01F0 : A2 0C 20 | LDX #$200C ; load tool call #
496 | 1 debug.s 226 | Code | 00 | | 4 | 00/01F3 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
497 | 1 debug.s 227 | Empty | 00 | | 0 | 00/01F7 |
498 | 1 debug.s 228 | Code | 00 | | 4 | 00/01F7 : 22 A8 00 E1 | jsl {$e100a8}
499 | 1 debug.s 229 | Data | 00 | | 2 | 00/01FB : 2D 20 | dw $202d
500 | 1 debug.s 230 | Data | 00 | 3 | 4 | 00/01FD : BB 04 00 00 | adrl proDSTATUS
501 | 1 debug.s 231 | Code | 00 | 2 | 3 | 00/0201 : 20 D7 02 | jsr showERRCODE
502 | 1 debug.s 232 | Empty | 00 | | 0 | 00/0204 |
503 | 1 debug.s 233 | Comment | 00 | | 0 | 00/0204 | *--- Show device status characteristics
504 | 1 debug.s 234 | Empty | 00 | | 0 | 00/0204 |
505 | 1 debug.s 235 | Macro | 00 | | 0 | 00/0204 | PushLong #strCHARS ; show device characteristics
509 | 1 debug.s 235 | Code | 00 | 1 >>16 | 3 | 00/0204 : F4 00 00 | PEA #^#strCHARS
516 | 1 debug.s 235 | Code | 00 | 2 | 3 | 00/0207 : F4 B8 03 | PEA #strCHARS
519 | 1 debug.s 236 | Macro | 00 | | 0 | 00/020A | _WriteCString
521 | 1 debug.s 236 | Code | 00 | | 3 | 00/020A : A2 0C 20 | LDX #$200C ; load tool call #
522 | 1 debug.s 236 | Code | 00 | | 4 | 00/020D : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
523 | 1 debug.s 237 | Empty | 00 | | 0 | 00/0211 |
524 | 1 debug.s 238 | Code | 00 | 2 | 3 | 00/0211 : AD 1B 07 | lda myLIST
525 | 1 debug.s 239 | Code | 00 | 2 | 3 | 00/0214 : 20 43 04 | jsr showHEX
526 | 1 debug.s 240 | Empty | 00 | | 0 | 00/0217 |
527 | 1 debug.s 241 | Comment | 00 | | 0 | 00/0217 | *--- Show device status number of blocks
528 | 1 debug.s 242 | Empty | 00 | | 0 | 00/0217 |
529 | 1 debug.s 243 | Macro | 00 | | 0 | 00/0217 | PushLong #strBLOCKS ; show number of blocks
533 | 1 debug.s 243 | Code | 00 | 1 >>16 | 3 | 00/0217 : F4 00 00 | PEA #^#strBLOCKS
540 | 1 debug.s 243 | Code | 00 | 2 | 3 | 00/021A : F4 CC 03 | PEA #strBLOCKS
543 | 1 debug.s 244 | Macro | 00 | | 0 | 00/021D | _WriteCString
545 | 1 debug.s 244 | Code | 00 | | 3 | 00/021D : A2 0C 20 | LDX #$200C ; load tool call #
546 | 1 debug.s 244 | Code | 00 | | 4 | 00/0220 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
547 | 1 debug.s 245 | Empty | 00 | | 0 | 00/0224 |
548 | 1 debug.s 246 | Code | 00 | 2 | 3 | 00/0224 : AD 1F 07 | lda myLIST+4
549 | 1 debug.s 247 | Code | 00 | 2 | 3 | 00/0227 : 20 43 04 | jsr showHEX
550 | 1 debug.s 248 | Code | 00 | 2 | 3 | 00/022A : AD 1D 07 | lda myLIST+2
551 | 1 debug.s 249 | Code | 00 | 2 | 3 | 00/022D : 20 23 04 | jsr showWORD
552 | 1 debug.s 250 | Empty | 00 | | 0 | 00/0230 |
553 | 1 debug.s 251 | Comment | 00 | | 0 | 00/0230 | *--- Perform a DRead
554 | 1 debug.s 252 | Empty | 00 | | 0 | 00/0230 |
555 | 1 debug.s 253 | Macro | 00 | | 0 | 00/0230 | doREAD PushLong #strDREAD ; show the string
559 | 1 debug.s 253 | Code | 00 | 1 >>16 | 3 | 00/0230 : F4 00 00 | PEA #^#strDREAD
566 | 1 debug.s 253 | Code | 00 | 2 | 3 | 00/0233 : F4 93 03 | PEA #strDREAD
569 | 1 debug.s 254 | Macro | 00 | | 0 | 00/0236 | _WriteCString
571 | 1 debug.s 254 | Code | 00 | | 3 | 00/0236 : A2 0C 20 | LDX #$200C ; load tool call #
572 | 1 debug.s 254 | Code | 00 | | 4 | 00/0239 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
573 | 1 debug.s 255 | Empty | 00 | | 0 | 00/023D |
574 | 1 debug.s 256 | Comment | 00 | | 0 | 00/023D | * jsr debugBORDER
575 | 1 debug.s 257 | Empty | 00 | | 0 | 00/023D |
576 | 1 debug.s 258 | Code | 00 | 2 | 3 | 00/023D : 20 86 02 | jsr readablock
577 | 1 debug.s 259 | Empty | 00 | | 0 | 00/0240 |
578 | 1 debug.s 260 | Comment | 00 | | 0 | 00/0240 | * jsl GSOS
579 | 1 debug.s 261 | Comment | 00 | | 0 | 00/0240 | * dw $202f
580 | 1 debug.s 262 | Comment | 00 | | 0 | 00/0240 | * adrl proDREAD
581 | 1 debug.s 263 | Comment | 00 | | 0 | 00/0240 | * pha
582 | 1 debug.s 264 | Empty | 00 | | 0 | 00/0240 |
583 | 1 debug.s 265 | Code | 00 | 2 | 3 | 00/0240 : AD 9D 04 | lda proDREAD+14
584 | 1 debug.s 266 | Code | 00 | 2 | 3 | 00/0243 : 20 23 04 | jsr showWORD
585 | 1 debug.s 267 | Code | 00 | 2 | 3 | 00/0246 : AD 9B 04 | lda proDREAD+12
586 | 1 debug.s 268 | Code | 00 | 2 | 3 | 00/0249 : 20 23 04 | jsr showWORD
587 | 1 debug.s 269 | Empty | 00 | | 0 | 00/024C |
588 | 1 debug.s 270 | Macro | 00 | | 0 | 00/024C | PushWord #' '
590 | 1 debug.s 270 | Code | 00 | | 3 | 00/024C : F4 20 00 | PEA #' '
593 | 1 debug.s 271 | Macro | 00 | | 0 | 00/024F | _WriteChar
595 | 1 debug.s 271 | Code | 00 | | 3 | 00/024F : A2 0C 18 | LDX #$180C ; load tool call #
596 | 1 debug.s 271 | Code | 00 | | 4 | 00/0252 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
597 | 1 debug.s 272 | Code | 00 | 2 | 3 | 00/0256 : AD A3 04 | lda proDREAD+20
598 | 1 debug.s 273 | Code | 00 | 2 | 3 | 00/0259 : 20 23 04 | jsr showWORD
599 | 1 debug.s 274 | Code | 00 | 2 | 3 | 00/025C : AD A1 04 | lda proDREAD+18
600 | 1 debug.s 275 | Code | 00 | 2 | 3 | 00/025F : 20 23 04 | jsr showWORD
601 | 1 debug.s 276 | Empty | 00 | | 0 | 00/0262 |
602 | 1 debug.s 277 | Code | 00 | | 1 | 00/0262 : 68 | pla
603 | 1 debug.s 278 | Code | 00 | 2 | 3 | 00/0263 : 20 D7 02 | jsr showERRCODE
604 | 1 debug.s 279 | Code | 00 | 2 | 3 | 00/0266 : 20 F8 02 | jsr printBUFFER ; output two lines of buffer
605 | 1 debug.s 280 | Empty | 00 | | 0 | 00/0269 |
606 | 1 debug.s 281 | Code | 00 | 2 | 3 | 00/0269 : 20 FE 03 | jsr waitFORKEY ; is it 0-9
607 | 1 debug.s 282 | Code | 00 | | 3 | 00/026C : C9 1B 00 | cmp #$1b
608 | 1 debug.s 283 | Code | 00 | | 2 | 00/026F : F0 14 | beq doEXIT
609 | 1 debug.s 284 | Code | 00 | | 3 | 00/0271 : C9 9B 00 | cmp #$9b
610 | 1 debug.s 285 | Code | 00 | | 2 | 00/0274 : F0 0F | beq doEXIT
611 | 1 debug.s 286 | Empty | 00 | | 0 | 00/0276 |
612 | 1 debug.s 287 | Code | 00 | 2 | 3 | 00/0276 : EE 9B 04 | inc proDREAD+12
613 | 1 debug.s 288 | Code | 00 | | 2 | 00/0279 : D0 B5 | bne doREAD
614 | 1 debug.s 289 | Code | 00 | 2 | 3 | 00/027B : EE 9D 04 | inc proDREAD+14
615 | 1 debug.s 290 | Code | 00 | | 2 | 00/027E : 80 B0 | bra doREAD
616 | 1 debug.s 291 | Empty | 00 | | 0 | 00/0280 |
617 | 1 debug.s 292 | Code | 00 | 2 | 3 | 00/0280 : AD 6F 04 | lda errCODE ; only write if read is OK
618 | 1 debug.s 293 | Code | 00 | | 2 | 00/0283 : F0 38 | beq okWRITE
619 | 1 debug.s 294 | Code | 00 | | 1 | 00/0285 : 60 | doEXIT rts
620 | 1 debug.s 295 | Empty | 00 | | 0 | 00/0286 |
621 | 1 debug.s 296 | Comment | 00 | | 0 | 00/0286 | *---
622 | 1 debug.s 297 | Empty | 00 | | 0 | 00/0286 |
623 | 1 debug.s 298 | Code | 10 | | 2 | 00/0286 : E2 20 | readablock sep #$20
624 | 1 debug.s 299 | Code | 10 | 2 | 3 | 00/0288 : AD 9E 04 | lda proDREAD+15
625 | 1 debug.s 300 | Code | 10 | | 4 | 00/028B : 8F 00 00 E4 | stal {$e40000}
626 | 1 debug.s 301 | Code | 10 | 2 | 3 | 00/028F : AD 9D 04 | lda proDREAD+14
627 | 1 debug.s 302 | Code | 10 | | 4 | 00/0292 : 8F 02 00 E4 | stal {$e40002}
628 | 1 debug.s 303 | Code | 10 | 2 | 3 | 00/0296 : AD 9C 04 | lda proDREAD+13
629 | 1 debug.s 304 | Code | 10 | | 4 | 00/0299 : 8F 04 00 E4 | stal {$e40004}
630 | 1 debug.s 305 | Code | 10 | 2 | 3 | 00/029D : AD 9B 04 | lda proDREAD+12
631 | 1 debug.s 306 | Code | 10 | | 4 | 00/02A0 : 8F 06 00 E4 | stal {$e40006}
632 | 1 debug.s 307 | Empty | 10 | | 0 | 00/02A4 |
633 | 1 debug.s 308 | Code | 10 | | 2 | 00/02A4 : A9 01 | lda #1
634 | 1 debug.s 309 | Code | 10 | | 4 | 00/02A6 : 8F 08 00 E4 | stal {$e40008}
635 | 1 debug.s 310 | Empty | 10 | | 0 | 00/02AA |
636 | 1 debug.s 311 | Code | 10 | | 3 | 00/02AA : A0 00 00 | ldy #0
637 | 1 debug.s 312 | Code | 10 | | 4 | 00/02AD : AF 0A 00 E4 | ozunid_3 ldal {$e4000a}
638 | 1 debug.s 313 | Code | 10 | 2 | 3 | 00/02B1 : 99 1B 05 | sta myBUFFER,y
639 | 1 debug.s 314 | Code | 10 | | 1 | 00/02B4 : C8 | iny
640 | 1 debug.s 315 | Code | 10 | | 3 | 00/02B5 : C0 00 02 | cpy #512
641 | 1 debug.s 316 | Code | 10 | | 2 | 00/02B8 : D0 F3 | bne ozunid_3
642 | 1 debug.s 317 | Code | 00 | | 2 | 00/02BA : C2 20 | rep #$20
643 | 1 debug.s 318 | Empty | 00 | | 0 | 00/02BC |
644 | 1 debug.s 319 | Code | 00 | | 1 | 00/02BC : 60 | rts
645 | 1 debug.s 320 | Empty | 00 | | 0 | 00/02BD |
646 | 1 debug.s 321 | Comment | 00 | | 0 | 00/02BD | *--- Perform a DWrite
647 | 1 debug.s 322 | Empty | 00 | | 0 | 00/02BD |
648 | 1 debug.s 323 | Macro | 00 | | 0 | 00/02BD | okWRITE PushLong #strDWRITE ; show the string
652 | 1 debug.s 323 | Code | 00 | 1 >>16 | 3 | 00/02BD : F4 00 00 | PEA #^#strDWRITE
659 | 1 debug.s 323 | Code | 00 | 2 | 3 | 00/02C0 : F4 A3 03 | PEA #strDWRITE
662 | 1 debug.s 324 | Macro | 00 | | 0 | 00/02C3 | _WriteCString
664 | 1 debug.s 324 | Code | 00 | | 3 | 00/02C3 : A2 0C 20 | LDX #$200C ; load tool call #
665 | 1 debug.s 324 | Code | 00 | | 4 | 00/02C6 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
666 | 1 debug.s 325 | Empty | 00 | | 0 | 00/02CA |
667 | 1 debug.s 326 | Code | 00 | | 4 | 00/02CA : 22 A8 00 E1 | jsl {$e100a8}
668 | 1 debug.s 327 | Data | 00 | | 2 | 00/02CE : 30 20 | dw $2030
669 | 1 debug.s 328 | Data | 00 | 3 | 4 | 00/02D0 : A5 04 00 00 | adrl proDWRITE
670 | 1 debug.s 329 | Code | 00 | 2 | 3 | 00/02D4 : 4C D7 02 | jmp showERRCODE
671 | 1 debug.s 330 | Empty | 00 | | 0 | 00/02D7 |
672 | 1 debug.s 331 | Comment | 00 | | 0 | 00/02D7 | *--- Code end
673 | 1 debug.s 332 | Empty | 00 | | 0 | 00/02D7 |
674 | 1 debug.s 333 | Empty | 00 | | 0 | 00/02D7 | showERRCODE
675 | 1 debug.s 334 | Code | 00 | 2 | 3 | 00/02D7 : 8D 6F 04 | sta errCODE ; save it
676 | 1 debug.s 335 | Empty | 00 | | 0 | 00/02DA |
677 | 1 debug.s 336 | Macro | 00 | | 0 | 00/02DA | PushLong #strERR ; show the string
681 | 1 debug.s 336 | Code | 00 | 1 >>16 | 3 | 00/02DA : F4 00 00 | PEA #^#strERR
688 | 1 debug.s 336 | Code | 00 | 2 | 3 | 00/02DD : F4 E1 03 | PEA #strERR
691 | 1 debug.s 337 | Macro | 00 | | 0 | 00/02E0 | _WriteCString
693 | 1 debug.s 337 | Code | 00 | | 3 | 00/02E0 : A2 0C 20 | LDX #$200C ; load tool call #
694 | 1 debug.s 337 | Code | 00 | | 4 | 00/02E3 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
695 | 1 debug.s 338 | Empty | 00 | | 0 | 00/02E7 |
696 | 1 debug.s 339 | Code | 00 | 2 | 3 | 00/02E7 : AD 6F 04 | lda errCODE ; show the error code
697 | 1 debug.s 340 | Code | 00 | 2 | 3 | 00/02EA : 20 43 04 | jsr showHEX
698 | 1 debug.s 341 | Empty | 00 | | 0 | 00/02ED |
699 | 1 debug.s 342 | Macro | 00 | | 0 | 00/02ED | PushWord #$0d
701 | 1 debug.s 342 | Code | 00 | | 3 | 00/02ED : F4 0D 00 | PEA #$0d
704 | 1 debug.s 343 | Macro | 00 | | 0 | 00/02F0 | _WriteChar
706 | 1 debug.s 343 | Code | 00 | | 3 | 00/02F0 : A2 0C 18 | LDX #$180C ; load tool call #
707 | 1 debug.s 343 | Code | 00 | | 4 | 00/02F3 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
708 | 1 debug.s 344 | Code | 00 | | 1 | 00/02F7 : 60 | rts
709 | 1 debug.s 345 | Empty | 00 | | 0 | 00/02F8 |
710 | 1 debug.s 346 | Comment | 00 | | 0 | 00/02F8 | *--- Print a line of buffer
711 | 1 debug.s 347 | Empty | 00 | | 0 | 00/02F8 |
712 | 1 debug.s 348 | Macro | 00 | | 0 | 00/02F8 | printBUFFER PushWord #$20
714 | 1 debug.s 348 | Code | 00 | | 3 | 00/02F8 : F4 20 00 | PEA #$20
717 | 1 debug.s 349 | Macro | 00 | | 0 | 00/02FB | _WriteChar
719 | 1 debug.s 349 | Code | 00 | | 3 | 00/02FB : A2 0C 18 | LDX #$180C ; load tool call #
720 | 1 debug.s 349 | Code | 00 | | 4 | 00/02FE : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
721 | 1 debug.s 350 | Empty | 00 | | 0 | 00/0302 |
722 | 1 debug.s 351 | Code | 00 | 2 | 3 | 00/0302 : AD 1B 05 | lda myBUFFER
723 | 1 debug.s 352 | Code | 00 | 2 | 3 | 00/0305 : 20 73 03 | jsr printME
724 | 1 debug.s 353 | Code | 00 | 2 | 3 | 00/0308 : AD 1D 05 | lda myBUFFER+2
725 | 1 debug.s 354 | Code | 00 | 2 | 3 | 00/030B : 20 73 03 | jsr printME
726 | 1 debug.s 355 | Code | 00 | 2 | 3 | 00/030E : AD 1F 05 | lda myBUFFER+4
727 | 1 debug.s 356 | Code | 00 | 2 | 3 | 00/0311 : 20 73 03 | jsr printME
728 | 1 debug.s 357 | Code | 00 | 2 | 3 | 00/0314 : AD 21 05 | lda myBUFFER+6
729 | 1 debug.s 358 | Code | 00 | 2 | 3 | 00/0317 : 20 73 03 | jsr printME
730 | 1 debug.s 359 | Code | 00 | 2 | 3 | 00/031A : AD 23 05 | lda myBUFFER+8
731 | 1 debug.s 360 | Code | 00 | 2 | 3 | 00/031D : 20 73 03 | jsr printME
732 | 1 debug.s 361 | Code | 00 | 2 | 3 | 00/0320 : AD 25 05 | lda myBUFFER+10
733 | 1 debug.s 362 | Code | 00 | 2 | 3 | 00/0323 : 20 73 03 | jsr printME
734 | 1 debug.s 363 | Code | 00 | 2 | 3 | 00/0326 : AD 27 05 | lda myBUFFER+12
735 | 1 debug.s 364 | Code | 00 | 2 | 3 | 00/0329 : 20 73 03 | jsr printME
736 | 1 debug.s 365 | Code | 00 | 2 | 3 | 00/032C : AD 29 05 | lda myBUFFER+14
737 | 1 debug.s 366 | Code | 00 | 2 | 3 | 00/032F : 20 73 03 | jsr printME
738 | 1 debug.s 367 | Empty | 00 | | 0 | 00/0332 |
739 | 1 debug.s 368 | Macro | 00 | | 0 | 00/0332 | PushWord #$0d
741 | 1 debug.s 368 | Code | 00 | | 3 | 00/0332 : F4 0D 00 | PEA #$0d
744 | 1 debug.s 369 | Macro | 00 | | 0 | 00/0335 | _WriteChar
746 | 1 debug.s 369 | Code | 00 | | 3 | 00/0335 : A2 0C 18 | LDX #$180C ; load tool call #
747 | 1 debug.s 369 | Code | 00 | | 4 | 00/0338 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
748 | 1 debug.s 370 | Empty | 00 | | 0 | 00/033C |
749 | 1 debug.s 371 | Macro | 00 | | 0 | 00/033C | PushWord #$20
751 | 1 debug.s 371 | Code | 00 | | 3 | 00/033C : F4 20 00 | PEA #$20
754 | 1 debug.s 372 | Macro | 00 | | 0 | 00/033F | _WriteChar
756 | 1 debug.s 372 | Code | 00 | | 3 | 00/033F : A2 0C 18 | LDX #$180C ; load tool call #
757 | 1 debug.s 372 | Code | 00 | | 4 | 00/0342 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
758 | 1 debug.s 373 | Empty | 00 | | 0 | 00/0346 |
759 | 1 debug.s 374 | Code | 00 | 2 | 3 | 00/0346 : AD 2B 05 | lda myBUFFER+16
760 | 1 debug.s 375 | Code | 00 | 2 | 3 | 00/0349 : 20 73 03 | jsr printME
761 | 1 debug.s 376 | Code | 00 | 2 | 3 | 00/034C : AD 2D 05 | lda myBUFFER+18
762 | 1 debug.s 377 | Code | 00 | 2 | 3 | 00/034F : 20 73 03 | jsr printME
763 | 1 debug.s 378 | Code | 00 | 2 | 3 | 00/0352 : AD 2F 05 | lda myBUFFER+20
764 | 1 debug.s 379 | Code | 00 | 2 | 3 | 00/0355 : 20 73 03 | jsr printME
765 | 1 debug.s 380 | Code | 00 | 2 | 3 | 00/0358 : AD 31 05 | lda myBUFFER+22
766 | 1 debug.s 381 | Code | 00 | 2 | 3 | 00/035B : 20 73 03 | jsr printME
767 | 1 debug.s 382 | Code | 00 | 2 | 3 | 00/035E : AD 33 05 | lda myBUFFER+24
768 | 1 debug.s 383 | Code | 00 | 2 | 3 | 00/0361 : 20 73 03 | jsr printME
769 | 1 debug.s 384 | Code | 00 | 2 | 3 | 00/0364 : AD 35 05 | lda myBUFFER+26
770 | 1 debug.s 385 | Code | 00 | 2 | 3 | 00/0367 : 20 73 03 | jsr printME
771 | 1 debug.s 386 | Code | 00 | 2 | 3 | 00/036A : AD 37 05 | lda myBUFFER+28
772 | 1 debug.s 387 | Code | 00 | 2 | 3 | 00/036D : 20 73 03 | jsr printME
773 | 1 debug.s 388 | Code | 00 | 2 | 3 | 00/0370 : AD 39 05 | lda myBUFFER+30 ; ends into the code below...
774 | 1 debug.s 389 | Empty | 00 | | 0 | 00/0373 |
775 | 1 debug.s 390 | Code | 00 | | 1 | 00/0373 : 48 | printME pha ; from a word to a string
776 | 1 debug.s 391 | Code | 00 | | 1 | 00/0374 : 48 | pha
777 | 1 debug.s 392 | Code | 00 | | 1 | 00/0375 : 48 | pha ; <= here, really
778 | 1 debug.s 393 | Macro | 00 | | 0 | 00/0376 | _HexIt
780 | 1 debug.s 393 | Code | 00 | | 3 | 00/0376 : A2 0B 2A | LDX #$2A0B ; load tool call #
781 | 1 debug.s 393 | Code | 00 | | 4 | 00/0379 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
782 | 1 debug.s 394 | Macro | 00 | | 0 | 00/037D | PullLong strBUFFER
785 | 1 debug.s 394 | Code | 00 | | 1 | 00/037D : 68 | PLA
787 | 1 debug.s 394 | Code | 00 | 2 | 3 | 00/037E : 8D 69 04 | STA strBUFFER
792 | 1 debug.s 394 | Code | 00 | | 1 | 00/0381 : 68 | PLA
794 | 1 debug.s 394 | Code | 00 | 2 | 3 | 00/0382 : 8D 6B 04 | STA strBUFFER+2
800 | 1 debug.s 395 | Empty | 00 | | 0 | 00/0385 |
801 | 1 debug.s 396 | Macro | 00 | | 0 | 00/0385 | PushLong #strBUFFER ; show the string
805 | 1 debug.s 396 | Code | 00 | 1 >>16 | 3 | 00/0385 : F4 00 00 | PEA #^#strBUFFER
812 | 1 debug.s 396 | Code | 00 | 2 | 3 | 00/0388 : F4 69 04 | PEA #strBUFFER
815 | 1 debug.s 397 | Macro | 00 | | 0 | 00/038B | _WriteCString
817 | 1 debug.s 397 | Code | 00 | | 3 | 00/038B : A2 0C 20 | LDX #$200C ; load tool call #
818 | 1 debug.s 397 | Code | 00 | | 4 | 00/038E : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
819 | 1 debug.s 398 | Code | 00 | | 1 | 00/0392 : 60 | rts
820 | 1 debug.s 399 | Empty | 00 | | 0 | 00/0393 |
821 | 1 debug.s 400 | Comment | 00 | | 0 | 00/0393 | *---------- Data
822 | 1 debug.s 401 | Empty | 00 | | 0 | 00/0393 |
823 | 1 debug.s 402 | Data | 00 | | 16 | 00/0393 : 0D 0D 44 52 | strDREAD asc 0d0d'DRead block $'00
| | | | | | 65 61 64 20 |
| | | | | | 62 6C 6F 63 |
| | | | | | 6B 20 24 00 |
824 | 1 debug.s 403 | Data | 00 | | 10 | 00/03A3 : 0D 0D 44 57 | strDWRITE asc 0d0d'DWrite '00
| | | | | | 72 69 74 65 |
| | | | | | 20 00 |
825 | 1 debug.s 404 | Data | 00 | | 11 | 00/03AD : 0D 0D 44 53 | strDSTATUS asc 0d0d'DStatus '00
| | | | | | 74 61 74 75 |
| | | | | | 73 20 00 |
826 | 1 debug.s 405 | Empty | 00 | | 0 | 00/03B8 |
827 | 1 debug.s 406 | Data | 00 | | 20 | 00/03B8 : 20 43 68 61 | strCHARS asc ' Characteristics: '00
| | | | | | 72 61 63 74 |
| | | | | | 65 72 69 73 |
| | | | | | 74 69 63 73 |
| | | | | | 3A 20 20 00 |
828 | 1 debug.s 407 | Data | 00 | | 21 | 00/03CC : 0D 20 4E 75 | strBLOCKS asc 0d' Number of blocks: '00
| | | | | | 6D 62 65 72 |
| | | | | | 20 6F 66 20 |
| | | | | | 62 6C 6F 63 |
| | | | | | 6B 73 3A 20 |
| | | | | | 00 |
829 | 1 debug.s 408 | Empty | 00 | | 0 | 00/03E1 |
830 | 1 debug.s 409 | Data | 00 | | 15 | 00/03E1 : 0D 2D 20 45 | strERR asc 0d'- Error code '00
| | | | | | 72 72 6F 72 |
| | | | | | 20 63 6F 64 |
| | | | | | 65 20 00 |
831 | 1 debug.s 410 | Empty | 00 | | 0 | 00/03F0 |
832 | 1 debug.s 411 | Comment | 00 | | 0 | 00/03F0 | *----------------------------
833 | 1 debug.s 412 | Comment | 00 | | 0 | 00/03F0 | * DEBUG
834 | 1 debug.s 413 | Comment | 00 | | 0 | 00/03F0 | *----------------------------
835 | 1 debug.s 414 | Empty | 00 | | 0 | 00/03F0 |
836 | 1 debug.s 415 | Empty | 00 | | 0 | 00/03F0 | debugBORDER
837 | 1 debug.s 416 | Code | 10 | | 2 | 00/03F0 : E2 20 | sep #$20
838 | 1 debug.s 417 | Code | 10 | | 4 | 00/03F2 : AF 34 C0 00 | ldal $c034
839 | 1 debug.s 418 | Code | 10 | | 1 | 00/03F6 : 1A | inc
840 | 1 debug.s 419 | Code | 10 | | 4 | 00/03F7 : 8F 34 C0 00 | stal $c034
841 | 1 debug.s 420 | Code | 00 | | 2 | 00/03FB : C2 20 | rep #$20
842 | 1 debug.s 421 | Code | 00 | | 1 | 00/03FD : 60 | rts
843 | 1 debug.s 422 | Empty | 00 | | 0 | 00/03FE |
844 | 1 debug.s 423 | Comment | 00 | | 0 | 00/03FE | *----------------------------
845 | 1 debug.s 424 | Comment | 00 | | 0 | 00/03FE | * TEXT ROUTINES
846 | 1 debug.s 425 | Comment | 00 | | 0 | 00/03FE | *----------------------------
847 | 1 debug.s 426 | Empty | 00 | | 0 | 00/03FE |
848 | 1 debug.s 427 | Comment | 00 | | 0 | 00/03FE | *---------- Wait for a key
849 | 1 debug.s 428 | Empty | 00 | | 0 | 00/03FE |
850 | 1 debug.s 429 | Macro | 00 | | 0 | 00/03FE | waitFORKEY PushWord #0 ; wait for key
852 | 1 debug.s 429 | Code | 00 | | 3 | 00/03FE : F4 00 00 | PEA #0
855 | 1 debug.s 430 | Macro | 00 | | 0 | 00/0401 | PushWord #1 ; echo char
857 | 1 debug.s 430 | Code | 00 | | 3 | 00/0401 : F4 01 00 | PEA #1
860 | 1 debug.s 431 | Macro | 00 | | 0 | 00/0404 | _ReadChar
862 | 1 debug.s 431 | Code | 00 | | 3 | 00/0404 : A2 0C 22 | LDX #$220C ; load tool call #
863 | 1 debug.s 431 | Code | 00 | | 4 | 00/0407 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
864 | 1 debug.s 432 | Empty | 00 | | 0 | 00/040B |
865 | 1 debug.s 433 | Code | 00 | | 2 | 00/040B : A3 01 | waitKEY1 lda 1,s ; check CR
866 | 1 debug.s 434 | Code | 00 | | 3 | 00/040D : 29 FF 00 | and #$ff ; of typed
867 | 1 debug.s 435 | Code | 00 | | 2 | 00/0410 : 83 01 | sta 1,s ; in char
868 | 1 debug.s 436 | Code | 00 | | 3 | 00/0412 : C9 8D 00 | cmp #$8d
869 | 1 debug.s 437 | Code | 00 | | 2 | 00/0415 : F0 0A | beq waitKEY9
870 | 1 debug.s 438 | Empty | 00 | | 0 | 00/0417 |
871 | 1 debug.s 439 | Macro | 00 | | 0 | 00/0417 | waitKEY8 PushWord #$0d ; return
873 | 1 debug.s 439 | Code | 00 | | 3 | 00/0417 : F4 0D 00 | PEA #$0d
876 | 1 debug.s 440 | Macro | 00 | | 0 | 00/041A | _WriteChar
878 | 1 debug.s 440 | Code | 00 | | 3 | 00/041A : A2 0C 18 | LDX #$180C ; load tool call #
879 | 1 debug.s 440 | Code | 00 | | 4 | 00/041D : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
880 | 1 debug.s 441 | Empty | 00 | | 0 | 00/0421 |
881 | 1 debug.s 442 | Code | 00 | | 1 | 00/0421 : 68 | waitKEY9 pla ; restore entered char
882 | 1 debug.s 443 | Code | 00 | | 1 | 00/0422 : 60 | rts
883 | 1 debug.s 444 | Empty | 00 | | 0 | 00/0423 |
884 | 1 debug.s 445 | Comment | 00 | | 0 | 00/0423 | *---------- Display a word
885 | 1 debug.s 446 | Empty | 00 | | 0 | 00/0423 |
886 | 1 debug.s 447 | Code | 00 | | 1 | 00/0423 : 48 | showWORD pha ; from a word to a string
887 | 1 debug.s 448 | Code | 00 | | 1 | 00/0424 : 48 | pha
888 | 1 debug.s 449 | Code | 00 | | 1 | 00/0425 : 48 | pha ; <= here, really
889 | 1 debug.s 450 | Macro | 00 | | 0 | 00/0426 | _HexIt
891 | 1 debug.s 450 | Code | 00 | | 3 | 00/0426 : A2 0B 2A | LDX #$2A0B ; load tool call #
892 | 1 debug.s 450 | Code | 00 | | 4 | 00/0429 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
893 | 1 debug.s 451 | Macro | 00 | | 0 | 00/042D | PullLong strHEX
896 | 1 debug.s 451 | Code | 00 | | 1 | 00/042D : 68 | PLA
898 | 1 debug.s 451 | Code | 00 | 2 | 3 | 00/042E : 8D 64 04 | STA strHEX
903 | 1 debug.s 451 | Code | 00 | | 1 | 00/0431 : 68 | PLA
905 | 1 debug.s 451 | Code | 00 | 2 | 3 | 00/0432 : 8D 66 04 | STA strHEX+2
911 | 1 debug.s 452 | Empty | 00 | | 0 | 00/0435 |
912 | 1 debug.s 453 | Macro | 00 | | 0 | 00/0435 | PushLong #strHEX ; show the string
916 | 1 debug.s 453 | Code | 00 | 1 >>16 | 3 | 00/0435 : F4 00 00 | PEA #^#strHEX
923 | 1 debug.s 453 | Code | 00 | 2 | 3 | 00/0438 : F4 64 04 | PEA #strHEX
926 | 1 debug.s 454 | Macro | 00 | | 0 | 00/043B | _WriteCString
928 | 1 debug.s 454 | Code | 00 | | 3 | 00/043B : A2 0C 20 | LDX #$200C ; load tool call #
929 | 1 debug.s 454 | Code | 00 | | 4 | 00/043E : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
930 | 1 debug.s 455 | Code | 00 | | 1 | 00/0442 : 60 | rts
931 | 1 debug.s 456 | Empty | 00 | | 0 | 00/0443 |
932 | 1 debug.s 457 | Comment | 00 | | 0 | 00/0443 | *---------- Display a hex word with a $
933 | 1 debug.s 458 | Empty | 00 | | 0 | 00/0443 |
934 | 1 debug.s 459 | Code | 00 | | 1 | 00/0443 : 48 | showHEX pha ; from a word to a string
935 | 1 debug.s 460 | Code | 00 | | 1 | 00/0444 : 48 | pha
936 | 1 debug.s 461 | Code | 00 | | 1 | 00/0445 : 48 | pha ; <= here, really
937 | 1 debug.s 462 | Macro | 00 | | 0 | 00/0446 | _HexIt
939 | 1 debug.s 462 | Code | 00 | | 3 | 00/0446 : A2 0B 2A | LDX #$2A0B ; load tool call #
940 | 1 debug.s 462 | Code | 00 | | 4 | 00/0449 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
941 | 1 debug.s 463 | Macro | 00 | | 0 | 00/044D | PullLong strHEX
944 | 1 debug.s 463 | Code | 00 | | 1 | 00/044D : 68 | PLA
946 | 1 debug.s 463 | Code | 00 | 2 | 3 | 00/044E : 8D 64 04 | STA strHEX
951 | 1 debug.s 463 | Code | 00 | | 1 | 00/0451 : 68 | PLA
953 | 1 debug.s 463 | Code | 00 | 2 | 3 | 00/0452 : 8D 66 04 | STA strHEX+2
959 | 1 debug.s 464 | Empty | 00 | | 0 | 00/0455 |
960 | 1 debug.s 465 | Macro | 00 | | 0 | 00/0455 | PushLong #strHEX1 ; show the string
964 | 1 debug.s 465 | Code | 00 | 1 >>16 | 3 | 00/0455 : F4 00 00 | PEA #^#strHEX1
971 | 1 debug.s 465 | Code | 00 | 2 | 3 | 00/0458 : F4 63 04 | PEA #strHEX1
974 | 1 debug.s 466 | Macro | 00 | | 0 | 00/045B | _WriteCString
976 | 1 debug.s 466 | Code | 00 | | 3 | 00/045B : A2 0C 20 | LDX #$200C ; load tool call #
977 | 1 debug.s 466 | Code | 00 | | 4 | 00/045E : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
978 | 1 debug.s 467 | Code | 00 | | 1 | 00/0462 : 60 | rts
979 | 1 debug.s 468 | Empty | 00 | | 0 | 00/0463 |
980 | 1 debug.s 469 | Comment | 00 | | 0 | 00/0463 | *--- Data
981 | 1 debug.s 470 | Empty | 00 | | 0 | 00/0463 |
982 | 1 debug.s 471 | Data | 00 | | 1 | 00/0463 : 24 | strHEX1 asc '$'
983 | 1 debug.s 472 | Data | 00 | | 5 | 00/0464 : 30 30 30 30 | strHEX asc '0000'00
| | | | | | 00 |
984 | 1 debug.s 473 | Data | 00 | | 6 | 00/0469 : 30 30 30 30 | strBUFFER asc '0000 '00
| | | | | | 20 00 |
985 | 1 debug.s 474 | Empty | 00 | | 0 | 00/046F |
986 | 1 debug.s 475 | Comment | 00 | | 0 | 00/046F | *----------------------------
987 | 1 debug.s 476 | Comment | 00 | | 0 | 00/046F | * DATA
988 | 1 debug.s 477 | Comment | 00 | | 0 | 00/046F | *----------------------------
989 | 1 debug.s 478 | Empty | 00 | | 0 | 00/046F |
990 | 1 debug.s 479 | Data | 00 | | 2 | 00/046F : 00 00 | errCODE ds 2
991 | 1 debug.s 480 | Empty | 00 | | 0 | 00/0471 |
992 | 1 debug.s 481 | Data | 00 | | 2 | 00/0471 : 02 00 | proQUIT dw 2 ; pCount
993 | 1 debug.s 482 | Data | 00 | | 4 | 00/0473 : 00 00 00 00 | ds 4 ; 02 pathname
994 | 1 debug.s 483 | Data | 00 | | 2 | 00/0477 : 00 00 | ds 2 ; 06 flags
995 | 1 debug.s 484 | Empty | 00 | | 0 | 00/0479 |
996 | 1 debug.s 485 | Data | 00 | | 2 | 00/0479 : 08 00 | proDINFO dw 8 ; Parms for DInfo
997 | 1 debug.s 486 | Data | 00 | | 2 | 00/047B : 00 00 | ds 2 ; 02 device num
998 | 1 debug.s 487 | Data | 00 | 3 | 4 | 00/047D : D9 04 00 00 | adrl devINFO ; 04 device name
999 | 1 debug.s 488 | Data | 00 | | 2 | 00/0481 : 00 00 | ds 2 ; 08 characteristics
1000 | 1 debug.s 489 | Data | 00 | | 4 | 00/0483 : 00 00 00 00 | ds 4 ; 0A total blocks
1001 | 1 debug.s 490 | Data | 00 | | 2 | 00/0487 : 00 00 | ds 2 ; 0E slot number
1002 | 1 debug.s 491 | Data | 00 | | 2 | 00/0489 : 00 00 | ds 2 ; 10 unit number
1003 | 1 debug.s 492 | Data | 00 | | 2 | 00/048B : 00 00 | ds 2 ; 12 version
1004 | 1 debug.s 493 | Data | 00 | | 2 | 00/048D : 00 00 | ds 2 ; 14 device id
1005 | 1 debug.s 494 | Empty | 00 | | 0 | 00/048F |
1006 | 1 debug.s 495 | Data | 00 | | 2 | 00/048F : 06 00 | proDREAD dw 6 ; pCount
1007 | 1 debug.s 496 | Data | 00 | | 2 | 00/0491 : 00 00 | ds 2 ; 02 devNum
1008 | 1 debug.s 497 | Data | 00 | 3 | 4 | 00/0493 : 1B 05 00 00 | adrl myBUFFER ; 04 buffer
1009 | 1 debug.s 498 | Data | 00 | | 4 | 00/0497 : 00 02 00 00 | adrl 512 ; 08 requestCount
1010 | 1 debug.s 499 | Data | 00 | | 4 | 00/049B : 00 00 00 00 | adrl 0 ; 0C startingBlock
1011 | 1 debug.s 500 | Data | 00 | | 2 | 00/049F : 00 02 | dw 512 ; 10 blockSize
1012 | 1 debug.s 501 | Data | 00 | | 4 | 00/04A1 : 00 00 00 00 | ds 4 ; 14 transferCount
1013 | 1 debug.s 502 | Empty | 00 | | 0 | 00/04A5 |
1014 | 1 debug.s 503 | Data | 00 | | 2 | 00/04A5 : 06 00 | proDWRITE dw 6 ; pCount
1015 | 1 debug.s 504 | Data | 00 | | 2 | 00/04A7 : 00 00 | ds 2 ; 02 devNum
1016 | 1 debug.s 505 | Data | 00 | 3 | 4 | 00/04A9 : 1B 05 00 00 | adrl myBUFFER ; 04 buffer
1017 | 1 debug.s 506 | Data | 00 | | 4 | 00/04AD : 00 02 00 00 | adrl 512 ; 08 requestCount
1018 | 1 debug.s 507 | Data | 00 | | 4 | 00/04B1 : 00 00 00 00 | adrl 0 ; 0C startingBlock
1019 | 1 debug.s 508 | Data | 00 | | 2 | 00/04B5 : 00 02 | dw 512 ; 10 blockSize
1020 | 1 debug.s 509 | Data | 00 | | 4 | 00/04B7 : 00 00 00 00 | ds 4 ; 14 transferCount
1021 | 1 debug.s 510 | Empty | 00 | | 0 | 00/04BB |
1022 | 1 debug.s 511 | Data | 00 | | 2 | 00/04BB : 05 00 | proDSTATUS dw 5 ; pCount
1023 | 1 debug.s 512 | Data | 00 | | 2 | 00/04BD : 00 00 | ds 2 ; 02 devNum
1024 | 1 debug.s 513 | Data | 00 | | 2 | 00/04BF : 00 00 | ds 2 ; 04 code ($0000 = Device Status)
1025 | 1 debug.s 514 | Data | 00 | 3 | 4 | 00/04C1 : 1B 07 00 00 | adrl myLIST ; 06 list
1026 | 1 debug.s 515 | Data | 00 | | 4 | 00/04C5 : 00 02 00 00 | adrl 512 ; 0A requestCount (a big buffer)
1027 | 1 debug.s 516 | Data | 00 | | 4 | 00/04C9 : 00 00 00 00 | ds 4 ; 0E transferCount
1028 | 1 debug.s 517 | Empty | 00 | | 0 | 00/04CD |
1029 | 1 debug.s 518 | Comment | 00 | | 0 | 00/04CD | *----------
1030 | 1 debug.s 519 | Empty | 00 | | 0 | 00/04CD |
1031 | 1 debug.s 520 | Data | 00 | | 12 | 00/04CD : 0B 2E 41 53 | strDEVICE str '.ASSDDevice' ; length is 12 chars (including length byte)
| | | | | | 53 44 44 65 |
| | | | | | 76 69 63 65 |
1032 | 1 debug.s 521 | Empty | 00 | | 0 | 00/04D9 |
1033 | 1 debug.s 522 | Data | 00 | | 2 | 00/04D9 : 32 00 | devINFO dw $0032 ; buffer size
1034 | 1 debug.s 523 | Data | 00 | | 1 | 00/04DB : 00 | devINFO1 db $00 ; length
1035 | 1 debug.s 524 | Data | 00 | | 1 | 00/04DC : 00 | devINFO2 db $00
1036 | 1 debug.s 525 | Data | 00 | | 48 | 00/04DD : 00 00 00 00 | devINFO3 ds $30 ; data
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
1037 | 1 debug.s 526 | Empty | 00 | | 0 | 00/050D |
1038 | 1 debug.s 527 | Comment | 00 | | 0 | 00/050D | *----------
1039 | 1 debug.s 528 | Empty | 00 | | 0 | 00/050D |
1040 | 1 debug.s 529 | Data | 00 | | 2 | 00/050D : 00 00 | appID ds 2
1041 | 1 debug.s 530 | Data | 00 | | 2 | 00/050F : 00 00 | myID ds 2
1042 | 1 debug.s 531 | Empty | 00 | | 0 | 00/0511 |
1043 | 1 debug.s 532 | Data | 00 | | 2 | 00/0511 : 00 00 | myDP ds 2
1044 | 1 debug.s 533 | Data | 00 | | 4 | 00/0513 : 00 00 00 00 | ptrBUFFER ds 4
1045 | 1 debug.s 534 | Data | 00 | | 4 | 00/0517 : 00 00 00 00 | haBUFFER ds 4
1046 | 1 debug.s 535 | Empty | 00 | | 0 | 00/051B |
1047 | 1 debug.s 536 | Comment | 00 | | 0 | 00/051B | *----------
1048 | 1 debug.s 537 | Empty | 00 | | 0 | 00/051B |
1049 | 1 debug.s 538 | Data | 00 | | 512 | 00/051B : BD BD BD BD | myBUFFER ds 512,$bd
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
| | | | | | BD BD BD BD |
1050 | 1 debug.s 539 | Data | 00 | | 512 | 00/071B : 00 00 00 00 | myLIST ds 512
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
| | | | | | 00 00 00 00 |
1051 | 1 debug.s 540 | Empty | 00 | | 0 | 00/091B |
1052 | 1 debug.s 541 | Empty | 00 | | 0 | 00/091B |
------+-------------------+-------------+----+---------+------+-----------------------+-------------------------------------------------------------------