mirror of
https://github.com/antoinevignau/source.git
synced 2025-01-16 21:32:11 +00:00
Debugging powa!
This commit is contained in:
parent
2f8aa3a1dd
commit
0a91f08a03
@ -38,6 +38,7 @@ maxBLOCKS = $ffffffff ; that is a huge number of blocks
|
||||
|
||||
dftCHAR = $03EC ; default characteristics
|
||||
dftSLOT = $8000 ; not slot dependent
|
||||
dftUNIT = $0001 ; unit 1
|
||||
dftVERSION = $1000 ; v1
|
||||
|
||||
*-----------------------------------------------
|
||||
@ -406,7 +407,7 @@ MyDIB ds 4 ; +00 pointer to the next DIB
|
||||
str 'ASSDDevice' ; +0E device name
|
||||
ds 21 ; 32 - 11 = 21
|
||||
dw dftSLOT ; +2E slot number
|
||||
dw $0000 ; +30 unit number
|
||||
dw dftUNIT ; +30 unit number
|
||||
dw dftVERSION ; +32 version
|
||||
dw devHDD ; +34 device ID
|
||||
dw $0000 ; +36 first linked device
|
||||
|
Binary file not shown.
@ -144,387 +144,388 @@
|
||||
141 | 1 ASSD.DRIVER.S 38 | Empty | 00 | | 0 | 00/0000 |
|
||||
142 | 1 ASSD.DRIVER.S 39 | Equivalence | 00 | | 0 | 00/0000 | dftCHAR = $03EC ; default characteristics
|
||||
143 | 1 ASSD.DRIVER.S 40 | Equivalence | 00 | | 0 | 00/0000 | dftSLOT = $8000 ; not slot dependent
|
||||
144 | 1 ASSD.DRIVER.S 41 | Equivalence | 00 | | 0 | 00/0000 | dftVERSION = $1000 ; v1
|
||||
145 | 1 ASSD.DRIVER.S 42 | Empty | 00 | | 0 | 00/0000 |
|
||||
146 | 1 ASSD.DRIVER.S 43 | Comment | 00 | | 0 | 00/0000 | *-----------------------------------------------
|
||||
147 | 1 ASSD.DRIVER.S 44 | Empty | 00 | | 0 | 00/0000 |
|
||||
148 | 1 ASSD.DRIVER.S 45 | Comment | 00 | | 0 | 00/0000 | *
|
||||
149 | 1 ASSD.DRIVER.S 46 | Comment | 00 | | 0 | 00/0000 | * Entry point
|
||||
150 | 1 ASSD.DRIVER.S 47 | Comment | 00 | | 0 | 00/0000 | *
|
||||
151 | 1 ASSD.DRIVER.S 48 | Empty | 00 | | 0 | 00/0000 |
|
||||
152 | 1 ASSD.DRIVER.S 49 | Data | 00 | | 2 | 00/0000 : E9 01 | RAMDisk da MyDIB-RAMDisk ; offset to 1st DIB
|
||||
153 | 1 ASSD.DRIVER.S 50 | Data | 00 | | 2 | 00/0002 : 01 00 | dw {1} ; number of devices
|
||||
154 | 1 ASSD.DRIVER.S 51 | Data | 00 | | 2 | 00/0004 : 00 00 | dw $0000 ; no configuration list
|
||||
155 | 1 ASSD.DRIVER.S 52 | Empty | 00 | | 0 | 00/0006 |
|
||||
156 | 1 ASSD.DRIVER.S 53 | Comment | 00 | | 0 | 00/0006 | *
|
||||
157 | 1 ASSD.DRIVER.S 54 | Comment | 00 | | 0 | 00/0006 | * Dispatch routine
|
||||
158 | 1 ASSD.DRIVER.S 55 | Comment | 00 | | 0 | 00/0006 | *
|
||||
159 | 1 ASSD.DRIVER.S 56 | Empty | 00 | | 0 | 00/0006 |
|
||||
160 | 1 ASSD.DRIVER.S 57 | Code | 00 | | 1 | 00/0006 : 4B | entryPOINT phk ; Dispatch
|
||||
161 | 1 ASSD.DRIVER.S 58 | Code | 00 | | 1 | 00/0007 : AB | plb
|
||||
162 | 1 ASSD.DRIVER.S 59 | Code | 00 | | 3 | 00/0008 : C9 09 00 | cmp #$0009
|
||||
163 | 1 ASSD.DRIVER.S 60 | Code | 00 | | 2 | 00/000B : 90 05 | bcc L0012
|
||||
164 | 1 ASSD.DRIVER.S 61 | Code | 00 | | 3 | 00/000D : A9 20 00 | lda #$0020
|
||||
165 | 1 ASSD.DRIVER.S 62 | Code | 00 | | 2 | 00/0010 : 80 0B | bra L001D
|
||||
166 | 1 ASSD.DRIVER.S 63 | Code | 00 | | 1 | 00/0012 : 0A | L0012 asl
|
||||
167 | 1 ASSD.DRIVER.S 64 | Code | 00 | | 1 | 00/0013 : AA | tax
|
||||
168 | 1 ASSD.DRIVER.S 65 | Code | 00 | 2 | 3 | 00/0014 : 9C E1 01 | stz errCODE
|
||||
169 | 1 ASSD.DRIVER.S 66 | Code | 00 | 2 | 3 | 00/0017 : FC 21 00 | jsr (tblDISPATCH,x)
|
||||
170 | 1 ASSD.DRIVER.S 67 | Code | 00 | 2 | 3 | 00/001A : AD E1 01 | lda errCODE
|
||||
171 | 1 ASSD.DRIVER.S 68 | Code | 00 | | 3 | 00/001D : C9 01 00 | L001D cmp #$0001
|
||||
172 | 1 ASSD.DRIVER.S 69 | Code | 00 | | 1 | 00/0020 : 6B | rtl
|
||||
173 | 1 ASSD.DRIVER.S 70 | Empty | 00 | | 0 | 00/0021 |
|
||||
174 | 1 ASSD.DRIVER.S 71 | Data | 00 | 2 | 2 | 00/0021 : 33 00 | tblDISPATCH da DStartup ; Driver_Startup
|
||||
175 | 1 ASSD.DRIVER.S 72 | Data | 00 | 2 | 2 | 00/0023 : 55 00 | da DOpen ; Driver_Open
|
||||
176 | 1 ASSD.DRIVER.S 73 | Data | 00 | 2 | 2 | 00/0025 : 56 00 | da DRead ; Driver_Read
|
||||
177 | 1 ASSD.DRIVER.S 74 | Data | 00 | 2 | 2 | 00/0027 : A3 00 | da DWrite ; Driver_Write
|
||||
178 | 1 ASSD.DRIVER.S 75 | Data | 00 | 2 | 2 | 00/0029 : 55 00 | da DClose ; Driver_Close
|
||||
179 | 1 ASSD.DRIVER.S 76 | Data | 00 | 2 | 2 | 00/002B : F0 00 | da DStatus ; Driver_Status
|
||||
180 | 1 ASSD.DRIVER.S 77 | Data | 00 | 2 | 2 | 00/002D : 4E 01 | da DControl ; Driver_Control
|
||||
181 | 1 ASSD.DRIVER.S 78 | Data | 00 | 2 | 2 | 00/002F : 55 00 | da DFlush ; Driver_Flush
|
||||
182 | 1 ASSD.DRIVER.S 79 | Data | 00 | 2 | 2 | 00/0031 : 52 00 | da DShutdown ; Driver_Shutdown
|
||||
183 | 1 ASSD.DRIVER.S 80 | Empty | 00 | | 0 | 00/0033 |
|
||||
184 | 1 ASSD.DRIVER.S 81 | Comment | 00 | | 0 | 00/0033 | *
|
||||
185 | 1 ASSD.DRIVER.S 82 | Comment | 00 | | 0 | 00/0033 | * Driver_Startup
|
||||
186 | 1 ASSD.DRIVER.S 83 | Comment | 00 | | 0 | 00/0033 | *
|
||||
187 | 1 ASSD.DRIVER.S 84 | Empty | 00 | | 0 | 00/0033 |
|
||||
188 | 1 ASSD.DRIVER.S 85 | Empty | 00 | | 0 | 00/0033 | DStartup
|
||||
189 | 1 ASSD.DRIVER.S 86 | Code | 00 | | 4 | 00/0033 : AF 0A 00 E2 | ldal {$e2000a}
|
||||
190 | 1 ASSD.DRIVER.S 87 | Code | 00 | | 3 | 00/0037 : 29 FF 00 | and #$ff
|
||||
191 | 1 ASSD.DRIVER.S 88 | Code | 00 | | 3 | 00/003A : C9 01 00 | cmp #$01
|
||||
192 | 1 ASSD.DRIVER.S 89 | Code | 00 | | 2 | 00/003D : D0 13 | bne DShutdown ; no AS found
|
||||
193 | 1 ASSD.DRIVER.S 90 | Empty | 00 | | 0 | 00/003F |
|
||||
194 | 1 ASSD.DRIVER.S 91 | Code | 00 | | 4 | 00/003F : AF 0C 00 E2 | ldal {$e2000c}
|
||||
195 | 1 ASSD.DRIVER.S 92 | Code | 00 | | 3 | 00/0043 : 29 FF 00 | and #$ff
|
||||
196 | 1 ASSD.DRIVER.S 93 | Code | 00 | | 3 | 00/0046 : C9 07 00 | cmp #{7}
|
||||
197 | 1 ASSD.DRIVER.S 94 | Code | 00 | | 2 | 00/0049 : 90 07 | bcc DShutdown ; no minimum version
|
||||
198 | 1 ASSD.DRIVER.S 95 | Empty | 00 | | 0 | 00/004B |
|
||||
199 | 1 ASSD.DRIVER.S 96 | Code | 00 | | 3 | 00/004B : A9 01 00 | lda #1 ; we're on
|
||||
200 | 1 ASSD.DRIVER.S 97 | Code | 00 | 2 | 3 | 00/004E : 8D DF 01 | sta fgSTARTED
|
||||
201 | 1 ASSD.DRIVER.S 98 | Code | 00 | | 1 | 00/0051 : 60 | rts
|
||||
202 | 1 ASSD.DRIVER.S 99 | Empty | 00 | | 0 | 00/0052 |
|
||||
203 | 1 ASSD.DRIVER.S 100 | Comment | 00 | | 0 | 00/0052 | *
|
||||
204 | 1 ASSD.DRIVER.S 101 | Comment | 00 | | 0 | 00/0052 | * Driver_Shutdown
|
||||
205 | 1 ASSD.DRIVER.S 102 | Comment | 00 | | 0 | 00/0052 | *
|
||||
206 | 1 ASSD.DRIVER.S 103 | Empty | 00 | | 0 | 00/0052 |
|
||||
207 | 1 ASSD.DRIVER.S 104 | Code | 00 | 2 | 3 | 00/0052 : 9C DF 01 | DShutdown stz fgSTARTED
|
||||
208 | 1 ASSD.DRIVER.S 105 | Empty | 00 | | 0 | 00/0055 |
|
||||
209 | 1 ASSD.DRIVER.S 106 | Comment | 00 | | 0 | 00/0055 | *
|
||||
210 | 1 ASSD.DRIVER.S 107 | Comment | 00 | | 0 | 00/0055 | * Driver_Open
|
||||
211 | 1 ASSD.DRIVER.S 108 | Comment | 00 | | 0 | 00/0055 | * Driver_Close
|
||||
212 | 1 ASSD.DRIVER.S 109 | Comment | 00 | | 0 | 00/0055 | * Driver_Flush
|
||||
213 | 1 ASSD.DRIVER.S 110 | Comment | 00 | | 0 | 00/0055 | *
|
||||
214 | 1 ASSD.DRIVER.S 111 | Empty | 00 | | 0 | 00/0055 |
|
||||
215 | 1 ASSD.DRIVER.S 112 | Empty | 00 | | 0 | 00/0055 | DOpen ; Driver_Open
|
||||
216 | 1 ASSD.DRIVER.S 113 | Empty | 00 | | 0 | 00/0055 | DClose ; Driver_Close
|
||||
217 | 1 ASSD.DRIVER.S 114 | Empty | 00 | | 0 | 00/0055 | DFlush ; Driver_Flush
|
||||
218 | 1 ASSD.DRIVER.S 115 | Code | 00 | | 1 | 00/0055 : 60 | rts
|
||||
219 | 1 ASSD.DRIVER.S 116 | Empty | 00 | | 0 | 00/0056 |
|
||||
220 | 1 ASSD.DRIVER.S 117 | Comment | 00 | | 0 | 00/0056 | *
|
||||
221 | 1 ASSD.DRIVER.S 118 | Comment | 00 | | 0 | 00/0056 | * Driver_Read
|
||||
222 | 1 ASSD.DRIVER.S 119 | Comment | 00 | | 0 | 00/0056 | *
|
||||
223 | 1 ASSD.DRIVER.S 120 | Empty | 00 | | 0 | 00/0056 |
|
||||
224 | 1 ASSD.DRIVER.S 121 | Code | 00 | 2 | 3 | 00/0056 : 20 8D 01 | DRead jsr doSETUP
|
||||
225 | 1 ASSD.DRIVER.S 122 | Code | 00 | | 2 | 00/0059 : 90 01 | bcc dr1
|
||||
226 | 1 ASSD.DRIVER.S 123 | Code | 00 | | 1 | 00/005B : 60 | rts
|
||||
227 | 1 ASSD.DRIVER.S 124 | Empty | 00 | | 0 | 00/005C |
|
||||
228 | 1 ASSD.DRIVER.S 125 | Comment | 00 | | 0 | 00/005C | *--- The AS magic is here
|
||||
229 | 1 ASSD.DRIVER.S 126 | Empty | 00 | | 0 | 00/005C |
|
||||
230 | 1 ASSD.DRIVER.S 127 | Code | 00 | | 2 | 00/005C : D4 05 | dr1 pei {$04}+1 ; save pointer
|
||||
231 | 1 ASSD.DRIVER.S 128 | Empty | 00 | | 0 | 00/005E |
|
||||
232 | 1 ASSD.DRIVER.S 129 | Code | 10 | | 2 | 00/005E : E2 20 | sep #$20
|
||||
233 | 1 ASSD.DRIVER.S 130 | Code | 10 | | 2 | 00/0060 : A5 13 | lda {$10}+3
|
||||
234 | 1 ASSD.DRIVER.S 131 | Code | 10 | | 4 | 00/0062 : 8F 00 00 E4 | stal {$e40000}
|
||||
235 | 1 ASSD.DRIVER.S 132 | Code | 10 | | 2 | 00/0066 : A5 12 | lda {$10}+2
|
||||
236 | 1 ASSD.DRIVER.S 133 | Code | 10 | | 4 | 00/0068 : 8F 02 00 E4 | stal {$e40002}
|
||||
237 | 1 ASSD.DRIVER.S 134 | Code | 10 | | 2 | 00/006C : A5 11 | lda {$10}+1
|
||||
238 | 1 ASSD.DRIVER.S 135 | Code | 10 | | 4 | 00/006E : 8F 04 00 E4 | stal {$e40004}
|
||||
239 | 1 ASSD.DRIVER.S 136 | Code | 10 | | 2 | 00/0072 : A5 10 | lda {$10}
|
||||
240 | 1 ASSD.DRIVER.S 137 | Code | 10 | | 4 | 00/0074 : 8F 06 00 E4 | stal {$e40006}
|
||||
241 | 1 ASSD.DRIVER.S 138 | Empty | 10 | | 0 | 00/0078 |
|
||||
242 | 1 ASSD.DRIVER.S 139 | Code | 10 | | 2 | 00/0078 : A9 01 | lda #1
|
||||
243 | 1 ASSD.DRIVER.S 140 | Code | 10 | | 4 | 00/007A : 8F 08 00 E4 | stal {$e40008}
|
||||
244 | 1 ASSD.DRIVER.S 141 | Empty | 10 | | 0 | 00/007E |
|
||||
245 | 1 ASSD.DRIVER.S 142 | Code | 10 | 2 | 3 | 00/007E : AE E7 01 | ldx nbPAGES ; number of 512-byte pages to copy
|
||||
246 | 1 ASSD.DRIVER.S 143 | Code | 10 | | 3 | 00/0081 : A0 00 00 | dr2 ldy #0 ; read one block
|
||||
247 | 1 ASSD.DRIVER.S 144 | Code | 10 | | 2 | 00/0084 : E2 20 | sep #$20
|
||||
248 | 1 ASSD.DRIVER.S 145 | Code | 10 | | 4 | 00/0086 : AF 0A 00 E4 | ozunid_1 ldal {$e4000a}
|
||||
249 | 1 ASSD.DRIVER.S 146 | Code | 10 | | 2 | 00/008A : 97 04 | sta [{$04}],y
|
||||
250 | 1 ASSD.DRIVER.S 147 | Code | 10 | | 1 | 00/008C : C8 | iny
|
||||
251 | 1 ASSD.DRIVER.S 148 | Code | 10 | | 3 | 00/008D : C0 00 02 | cpy #{512}
|
||||
252 | 1 ASSD.DRIVER.S 149 | Code | 10 | | 2 | 00/0090 : 90 F4 | bcc ozunid_1
|
||||
253 | 1 ASSD.DRIVER.S 150 | Empty | 10 | | 0 | 00/0092 |
|
||||
254 | 1 ASSD.DRIVER.S 151 | Code | 00 | | 2 | 00/0092 : C2 20 | rep #$20 ; move destination pointer
|
||||
255 | 1 ASSD.DRIVER.S 152 | Code | 00 | | 2 | 00/0094 : A5 05 | lda {$04}+1
|
||||
256 | 1 ASSD.DRIVER.S 153 | Code | 00 | | 1 | 00/0096 : 18 | clc
|
||||
257 | 1 ASSD.DRIVER.S 154 | Code | 00 | | 3 | 00/0097 : 69 02 00 | adc #>{512} ; rwBlockSize+1
|
||||
258 | 1 ASSD.DRIVER.S 155 | Code | 00 | | 2 | 00/009A : 85 05 | sta {$04}+1
|
||||
259 | 1 ASSD.DRIVER.S 156 | Empty | 00 | | 0 | 00/009C |
|
||||
260 | 1 ASSD.DRIVER.S 157 | Code | 00 | | 1 | 00/009C : CA | dex ; next block
|
||||
261 | 1 ASSD.DRIVER.S 158 | Code | 00 | | 2 | 00/009D : D0 E2 | bne dr2
|
||||
262 | 1 ASSD.DRIVER.S 159 | Empty | 00 | | 0 | 00/009F |
|
||||
263 | 1 ASSD.DRIVER.S 160 | Code | 00 | | 1 | 00/009F : 68 | pla ; restore pointer
|
||||
264 | 1 ASSD.DRIVER.S 161 | Code | 00 | | 2 | 00/00A0 : 85 05 | sta {$04}+1
|
||||
265 | 1 ASSD.DRIVER.S 162 | Code | 00 | | 1 | 00/00A2 : 60 | rts
|
||||
266 | 1 ASSD.DRIVER.S 163 | Empty | 00 | | 0 | 00/00A3 |
|
||||
267 | 1 ASSD.DRIVER.S 164 | Comment | 00 | | 0 | 00/00A3 | *--- The AS magic ends here
|
||||
268 | 1 ASSD.DRIVER.S 165 | Empty | 00 | | 0 | 00/00A3 |
|
||||
269 | 1 ASSD.DRIVER.S 166 | Comment | 00 | | 0 | 00/00A3 | *
|
||||
270 | 1 ASSD.DRIVER.S 167 | Comment | 00 | | 0 | 00/00A3 | * Driver_Write
|
||||
271 | 1 ASSD.DRIVER.S 168 | Comment | 00 | | 0 | 00/00A3 | *
|
||||
272 | 1 ASSD.DRIVER.S 169 | Empty | 00 | | 0 | 00/00A3 |
|
||||
273 | 1 ASSD.DRIVER.S 170 | Code | 00 | 2 | 3 | 00/00A3 : 20 8D 01 | DWrite jsr doSETUP
|
||||
274 | 1 ASSD.DRIVER.S 171 | Code | 00 | | 2 | 00/00A6 : 90 01 | bcc dw1
|
||||
275 | 1 ASSD.DRIVER.S 172 | Code | 00 | | 1 | 00/00A8 : 60 | rts
|
||||
276 | 1 ASSD.DRIVER.S 173 | Empty | 00 | | 0 | 00/00A9 |
|
||||
277 | 1 ASSD.DRIVER.S 174 | Comment | 00 | | 0 | 00/00A9 | *--- The AS magic is here
|
||||
278 | 1 ASSD.DRIVER.S 175 | Empty | 00 | | 0 | 00/00A9 |
|
||||
279 | 1 ASSD.DRIVER.S 176 | Code | 00 | | 2 | 00/00A9 : D4 05 | dw1 pei {$04}+1 ; save pointer
|
||||
280 | 1 ASSD.DRIVER.S 177 | Empty | 00 | | 0 | 00/00AB |
|
||||
281 | 1 ASSD.DRIVER.S 178 | Code | 10 | | 2 | 00/00AB : E2 20 | sep #$20
|
||||
282 | 1 ASSD.DRIVER.S 179 | Code | 10 | | 2 | 00/00AD : A5 13 | lda {$10}+3
|
||||
283 | 1 ASSD.DRIVER.S 180 | Code | 10 | | 4 | 00/00AF : 8F 00 00 E4 | stal {$e40000}
|
||||
284 | 1 ASSD.DRIVER.S 181 | Code | 10 | | 2 | 00/00B3 : A5 12 | lda {$10}+2
|
||||
285 | 1 ASSD.DRIVER.S 182 | Code | 10 | | 4 | 00/00B5 : 8F 02 00 E4 | stal {$e40002}
|
||||
286 | 1 ASSD.DRIVER.S 183 | Code | 10 | | 2 | 00/00B9 : A5 11 | lda {$10}+1
|
||||
287 | 1 ASSD.DRIVER.S 184 | Code | 10 | | 4 | 00/00BB : 8F 04 00 E4 | stal {$e40004}
|
||||
288 | 1 ASSD.DRIVER.S 185 | Code | 10 | | 2 | 00/00BF : A5 10 | lda {$10}
|
||||
289 | 1 ASSD.DRIVER.S 186 | Code | 10 | | 4 | 00/00C1 : 8F 06 00 E4 | stal {$e40006}
|
||||
290 | 1 ASSD.DRIVER.S 187 | Empty | 10 | | 0 | 00/00C5 |
|
||||
291 | 1 ASSD.DRIVER.S 188 | Code | 10 | | 2 | 00/00C5 : A9 01 | lda #1
|
||||
292 | 1 ASSD.DRIVER.S 189 | Code | 10 | | 4 | 00/00C7 : 8F 0C 00 E4 | stal {$e4000c}
|
||||
293 | 1 ASSD.DRIVER.S 190 | Empty | 10 | | 0 | 00/00CB |
|
||||
294 | 1 ASSD.DRIVER.S 191 | Code | 10 | 2 | 3 | 00/00CB : AE E7 01 | ldx nbPAGES ; number of 512-byte pages to copy
|
||||
295 | 1 ASSD.DRIVER.S 192 | Code | 10 | | 3 | 00/00CE : A0 00 00 | dw2 ldy #0 ; read one block
|
||||
296 | 1 ASSD.DRIVER.S 193 | Code | 10 | | 2 | 00/00D1 : E2 20 | sep #$20
|
||||
297 | 1 ASSD.DRIVER.S 194 | Code | 10 | | 2 | 00/00D3 : B7 04 | ozunid_2 lda [{$04}],y
|
||||
298 | 1 ASSD.DRIVER.S 195 | Code | 10 | | 4 | 00/00D5 : 8F 0A 00 E4 | stal {$e4000a}
|
||||
299 | 1 ASSD.DRIVER.S 196 | Code | 10 | | 1 | 00/00D9 : C8 | iny
|
||||
300 | 1 ASSD.DRIVER.S 197 | Code | 10 | | 3 | 00/00DA : C0 00 02 | cpy #{512}
|
||||
301 | 1 ASSD.DRIVER.S 198 | Code | 10 | | 2 | 00/00DD : 90 F4 | bcc ozunid_2
|
||||
302 | 1 ASSD.DRIVER.S 199 | Empty | 10 | | 0 | 00/00DF |
|
||||
303 | 1 ASSD.DRIVER.S 200 | Code | 00 | | 2 | 00/00DF : C2 20 | rep #$20 ; move destination pointer
|
||||
304 | 1 ASSD.DRIVER.S 201 | Code | 00 | | 2 | 00/00E1 : A5 05 | lda {$04}+1
|
||||
305 | 1 ASSD.DRIVER.S 202 | Code | 00 | | 1 | 00/00E3 : 18 | clc
|
||||
306 | 1 ASSD.DRIVER.S 203 | Code | 00 | | 3 | 00/00E4 : 69 02 00 | adc #>{512} ; rwBlockSize+1
|
||||
307 | 1 ASSD.DRIVER.S 204 | Code | 00 | | 2 | 00/00E7 : 85 05 | sta {$04}+1
|
||||
308 | 1 ASSD.DRIVER.S 205 | Empty | 00 | | 0 | 00/00E9 |
|
||||
309 | 1 ASSD.DRIVER.S 206 | Code | 00 | | 1 | 00/00E9 : CA | dex ; next block
|
||||
310 | 1 ASSD.DRIVER.S 207 | Code | 00 | | 2 | 00/00EA : D0 E2 | bne dw2
|
||||
311 | 1 ASSD.DRIVER.S 208 | Empty | 00 | | 0 | 00/00EC |
|
||||
312 | 1 ASSD.DRIVER.S 209 | Code | 00 | | 1 | 00/00EC : 68 | pla ; restore pointer
|
||||
313 | 1 ASSD.DRIVER.S 210 | Code | 00 | | 2 | 00/00ED : 85 05 | sta {$04}+1
|
||||
314 | 1 ASSD.DRIVER.S 211 | Code | 00 | | 1 | 00/00EF : 60 | rts
|
||||
315 | 1 ASSD.DRIVER.S 212 | Empty | 00 | | 0 | 00/00F0 |
|
||||
316 | 1 ASSD.DRIVER.S 213 | Comment | 00 | | 0 | 00/00F0 | *--- The AS magic ends here
|
||||
317 | 1 ASSD.DRIVER.S 214 | Empty | 00 | | 0 | 00/00F0 |
|
||||
318 | 1 ASSD.DRIVER.S 215 | Comment | 00 | | 0 | 00/00F0 | *
|
||||
319 | 1 ASSD.DRIVER.S 216 | Comment | 00 | | 0 | 00/00F0 | * Driver_Status
|
||||
320 | 1 ASSD.DRIVER.S 217 | Comment | 00 | | 0 | 00/00F0 | *
|
||||
321 | 1 ASSD.DRIVER.S 218 | Empty | 00 | | 0 | 00/00F0 |
|
||||
322 | 1 ASSD.DRIVER.S 219 | Code | 00 | | 2 | 00/00F0 : A5 16 | DStatus lda {$16}
|
||||
323 | 1 ASSD.DRIVER.S 220 | Code | 00 | | 3 | 00/00F2 : C9 05 00 | cmp #4+1
|
||||
324 | 1 ASSD.DRIVER.S 221 | Code | 00 | | 2 | 00/00F5 : 90 07 | bcc DStatus1
|
||||
325 | 1 ASSD.DRIVER.S 222 | Code | 00 | | 3 | 00/00F7 : A9 21 00 | lda #$0021 ; drvrBadCode
|
||||
326 | 1 ASSD.DRIVER.S 223 | Code | 00 | 2 | 3 | 00/00FA : 8D E1 01 | sta errCODE
|
||||
327 | 1 ASSD.DRIVER.S 224 | Code | 00 | | 1 | 00/00FD : 60 | rts
|
||||
328 | 1 ASSD.DRIVER.S 225 | Empty | 00 | | 0 | 00/00FE |
|
||||
329 | 1 ASSD.DRIVER.S 226 | Code | 00 | | 1 | 00/00FE : 0A | DStatus1 asl
|
||||
330 | 1 ASSD.DRIVER.S 227 | Code | 00 | | 1 | 00/00FF : AA | tax
|
||||
331 | 1 ASSD.DRIVER.S 228 | Code | 00 | | 2 | 00/0100 : 64 0C | stz {$0C}
|
||||
332 | 1 ASSD.DRIVER.S 229 | Code | 00 | | 2 | 00/0102 : 64 0E | stz {$0C}+2
|
||||
333 | 1 ASSD.DRIVER.S 230 | Code | 00 | 2 | 3 | 00/0104 : FC 08 01 | jsr (tblSTATUS,x)
|
||||
334 | 1 ASSD.DRIVER.S 231 | Code | 00 | | 1 | 00/0107 : 60 | rts
|
||||
335 | 1 ASSD.DRIVER.S 232 | Empty | 00 | | 0 | 00/0108 |
|
||||
336 | 1 ASSD.DRIVER.S 233 | Data | 00 | 2 | 2 | 00/0108 : 13 01 | tblSTATUS da SGetStatus ; GetDeviceStatus
|
||||
337 | 1 ASSD.DRIVER.S 234 | Data | 00 | 2 | 2 | 00/010A : 43 01 | da SGet ; GetConfigParameters
|
||||
338 | 1 ASSD.DRIVER.S 235 | Data | 00 | 2 | 2 | 00/010C : 43 01 | da SGet ; GetWaitStatus
|
||||
339 | 1 ASSD.DRIVER.S 236 | Data | 00 | 2 | 2 | 00/010E : 43 01 | da SGet ; GetFormatOptions
|
||||
340 | 1 ASSD.DRIVER.S 237 | Data | 00 | 2 | 2 | 00/0110 : 12 01 | da SNada ; GetPartitionMap
|
||||
341 | 1 ASSD.DRIVER.S 238 | Empty | 00 | | 0 | 00/0112 |
|
||||
342 | 1 ASSD.DRIVER.S 239 | Code | 00 | | 1 | 00/0112 : 60 | SNada rts
|
||||
343 | 1 ASSD.DRIVER.S 240 | Empty | 00 | | 0 | 00/0113 |
|
||||
344 | 1 ASSD.DRIVER.S 241 | Comment | 00 | | 0 | 00/0113 | *----------- GetDeviceStatus
|
||||
345 | 1 ASSD.DRIVER.S 242 | Empty | 00 | | 0 | 00/0113 |
|
||||
346 | 1 ASSD.DRIVER.S 243 | Code | 00 | | 3 | 00/0113 : A9 02 00 | SGetStatus lda #2 ; GetDeviceStatus
|
||||
347 | 1 ASSD.DRIVER.S 244 | Code | 00 | | 2 | 00/0116 : 85 0C | sta {$0C}
|
||||
348 | 1 ASSD.DRIVER.S 245 | Empty | 00 | | 0 | 00/0118 |
|
||||
349 | 1 ASSD.DRIVER.S 246 | Code | 00 | | 2 | 00/0118 : A5 08 | lda {$08} ; check length of buffer
|
||||
350 | 1 ASSD.DRIVER.S 247 | Code | 00 | | 3 | 00/011A : C9 06 00 | cmp #6
|
||||
351 | 1 ASSD.DRIVER.S 248 | Code | 00 | | 2 | 00/011D : 90 14 | bcc SGS1
|
||||
352 | 1 ASSD.DRIVER.S 249 | Code | 00 | | 3 | 00/011F : A9 06 00 | lda #6
|
||||
353 | 1 ASSD.DRIVER.S 250 | Code | 00 | | 2 | 00/0122 : 85 0C | sta {$0C}
|
||||
354 | 1 ASSD.DRIVER.S 251 | Empty | 00 | | 0 | 00/0124 |
|
||||
355 | 1 ASSD.DRIVER.S 252 | Code | 00 | | 3 | 00/0124 : A0 02 00 | ldy #2 ; we can send the number of blocks
|
||||
356 | 1 ASSD.DRIVER.S 253 | Code | 00 | | 3 | 00/0127 : A9 FF FF | lda #{$ffffffff}
|
||||
357 | 1 ASSD.DRIVER.S 254 | Code | 00 | | 2 | 00/012A : 97 04 | sta [{$04}],y
|
||||
358 | 1 ASSD.DRIVER.S 255 | Code | 00 | | 1 | 00/012C : C8 | iny
|
||||
359 | 1 ASSD.DRIVER.S 256 | Code | 00 | | 1 | 00/012D : C8 | iny
|
||||
360 | 1 ASSD.DRIVER.S 257 | Code | 00 | | 3 | 00/012E : A9 FF FF | lda #^{$ffffffff}
|
||||
361 | 1 ASSD.DRIVER.S 258 | Code | 00 | | 2 | 00/0131 : 97 04 | sta [{$04}],y
|
||||
362 | 1 ASSD.DRIVER.S 259 | Empty | 00 | | 0 | 00/0133 |
|
||||
363 | 1 ASSD.DRIVER.S 260 | Code | 00 | | 3 | 00/0133 : A2 10 00 | SGS1 ldx #{$0010}
|
||||
364 | 1 ASSD.DRIVER.S 261 | Code | 00 | 2 | 3 | 00/0136 : AD DF 01 | lda fgSTARTED ; send the status of the driver
|
||||
365 | 1 ASSD.DRIVER.S 262 | Code | 00 | | 2 | 00/0139 : D0 01 | bne SGS2
|
||||
366 | 1 ASSD.DRIVER.S 263 | Code | 00 | | 1 | 00/013B : E8 | inx
|
||||
367 | 1 ASSD.DRIVER.S 264 | Code | 00 | | 1 | 00/013C : 8A | SGS2 txa
|
||||
368 | 1 ASSD.DRIVER.S 265 | Code | 00 | | 3 | 00/013D : 09 00 80 | ora #{$8000} ; we are uncertain of the block count
|
||||
369 | 1 ASSD.DRIVER.S 266 | Code | 00 | | 2 | 00/0140 : 87 04 | sta [{$04}]
|
||||
370 | 1 ASSD.DRIVER.S 267 | Code | 00 | | 1 | 00/0142 : 60 | rts
|
||||
371 | 1 ASSD.DRIVER.S 268 | Empty | 00 | | 0 | 00/0143 |
|
||||
372 | 1 ASSD.DRIVER.S 269 | Comment | 00 | | 0 | 00/0143 | *----------- GetConfigParameters / GetWaitStatus
|
||||
373 | 1 ASSD.DRIVER.S 270 | Empty | 00 | | 0 | 00/0143 |
|
||||
374 | 1 ASSD.DRIVER.S 271 | Code | 00 | | 3 | 00/0143 : A9 00 00 | SGet lda #0 ; GetConfigParameters
|
||||
375 | 1 ASSD.DRIVER.S 272 | Code | 00 | | 2 | 00/0146 : 87 04 | sta [{$04}] ; GetWaitStatus
|
||||
376 | 1 ASSD.DRIVER.S 273 | Code | 00 | | 3 | 00/0148 : A9 02 00 | lda #2
|
||||
377 | 1 ASSD.DRIVER.S 274 | Code | 00 | | 2 | 00/014B : 85 0C | sta {$0C}
|
||||
378 | 1 ASSD.DRIVER.S 275 | Code | 00 | | 1 | 00/014D : 60 | rts
|
||||
379 | 1 ASSD.DRIVER.S 276 | Empty | 00 | | 0 | 00/014E |
|
||||
380 | 1 ASSD.DRIVER.S 277 | Comment | 00 | | 0 | 00/014E | *
|
||||
381 | 1 ASSD.DRIVER.S 278 | Comment | 00 | | 0 | 00/014E | * Driver_Control
|
||||
382 | 1 ASSD.DRIVER.S 279 | Comment | 00 | | 0 | 00/014E | *
|
||||
383 | 1 ASSD.DRIVER.S 280 | Empty | 00 | | 0 | 00/014E |
|
||||
384 | 1 ASSD.DRIVER.S 281 | Code | 00 | 2 | 3 | 00/014E : 20 C6 01 | DControl jsr checkSWITCHED
|
||||
385 | 1 ASSD.DRIVER.S 282 | Code | 00 | | 2 | 00/0151 : 90 01 | bcc DControl1
|
||||
386 | 1 ASSD.DRIVER.S 283 | Code | 00 | | 1 | 00/0153 : 60 | rts
|
||||
387 | 1 ASSD.DRIVER.S 284 | Empty | 00 | | 0 | 00/0154 |
|
||||
388 | 1 ASSD.DRIVER.S 285 | Code | 00 | | 2 | 00/0154 : A5 16 | DControl1 lda {$16}
|
||||
389 | 1 ASSD.DRIVER.S 286 | Code | 00 | | 3 | 00/0156 : C9 0A 00 | cmp #9+1
|
||||
390 | 1 ASSD.DRIVER.S 287 | Code | 00 | | 2 | 00/0159 : 90 07 | bcc DControl2
|
||||
391 | 1 ASSD.DRIVER.S 288 | Empty | 00 | | 0 | 00/015B |
|
||||
392 | 1 ASSD.DRIVER.S 289 | Code | 00 | | 3 | 00/015B : A9 21 00 | lda #$0021
|
||||
393 | 1 ASSD.DRIVER.S 290 | Code | 00 | 2 | 3 | 00/015E : 8D E1 01 | sta errCODE
|
||||
394 | 1 ASSD.DRIVER.S 291 | Code | 00 | | 1 | 00/0161 : 60 | rts
|
||||
395 | 1 ASSD.DRIVER.S 292 | Empty | 00 | | 0 | 00/0162 |
|
||||
396 | 1 ASSD.DRIVER.S 293 | Code | 00 | | 1 | 00/0162 : 0A | DControl2 asl
|
||||
397 | 1 ASSD.DRIVER.S 294 | Code | 00 | | 1 | 00/0163 : AA | tax
|
||||
398 | 1 ASSD.DRIVER.S 295 | Code | 00 | | 2 | 00/0164 : 64 0C | stz {$0C}
|
||||
399 | 1 ASSD.DRIVER.S 296 | Code | 00 | | 2 | 00/0166 : 64 0E | stz {$0C}+2
|
||||
400 | 1 ASSD.DRIVER.S 297 | Code | 00 | 2 | 3 | 00/0168 : FC 6C 01 | jsr (tblCONTROL,x)
|
||||
401 | 1 ASSD.DRIVER.S 298 | Code | 00 | | 1 | 00/016B : 60 | rts
|
||||
402 | 1 ASSD.DRIVER.S 299 | Empty | 00 | | 0 | 00/016C |
|
||||
403 | 1 ASSD.DRIVER.S 300 | Data | 00 | 2 | 2 | 00/016C : 80 01 | tblCONTROL da CNada ; 0 ResetDevice
|
||||
404 | 1 ASSD.DRIVER.S 301 | Data | 00 | 2 | 2 | 00/016E : 80 01 | da CNada ; 1 FormatDevice
|
||||
405 | 1 ASSD.DRIVER.S 302 | Data | 00 | 2 | 2 | 00/0170 : 80 01 | da CNada ; 2 EjectMedium
|
||||
406 | 1 ASSD.DRIVER.S 303 | Data | 00 | 2 | 2 | 00/0172 : 81 01 | da CSet ; 3 SetConfigParameters
|
||||
407 | 1 ASSD.DRIVER.S 304 | Data | 00 | 2 | 2 | 00/0174 : 81 01 | da CSet ; 4 SetWaitStatus
|
||||
408 | 1 ASSD.DRIVER.S 305 | Data | 00 | 2 | 2 | 00/0176 : 81 01 | da CSet ; 5 SetFormatOptions
|
||||
409 | 1 ASSD.DRIVER.S 306 | Data | 00 | 2 | 2 | 00/0178 : 80 01 | da CNada ; 6 AssignPartitionOwner
|
||||
410 | 1 ASSD.DRIVER.S 307 | Data | 00 | 2 | 2 | 00/017A : 80 01 | da CNada ; 7 ArmSignal
|
||||
411 | 1 ASSD.DRIVER.S 308 | Data | 00 | 2 | 2 | 00/017C : 80 01 | da CNada ; 8 DisarmSignal
|
||||
412 | 1 ASSD.DRIVER.S 309 | Data | 00 | 2 | 2 | 00/017E : 80 01 | da CNada ; 9 SetPartitionMap
|
||||
413 | 1 ASSD.DRIVER.S 310 | Empty | 00 | | 0 | 00/0180 |
|
||||
414 | 1 ASSD.DRIVER.S 311 | Code | 00 | | 1 | 00/0180 : 60 | CNada rts
|
||||
415 | 1 ASSD.DRIVER.S 312 | Empty | 00 | | 0 | 00/0181 |
|
||||
416 | 1 ASSD.DRIVER.S 313 | Comment | 00 | | 0 | 00/0181 | *----------- SetConfigParameters / SetWaitStatus
|
||||
417 | 1 ASSD.DRIVER.S 314 | Empty | 00 | | 0 | 00/0181 |
|
||||
418 | 1 ASSD.DRIVER.S 315 | Code | 00 | | 2 | 00/0181 : A7 04 | CSet lda [{$04}] ; SetConfigParameters
|
||||
419 | 1 ASSD.DRIVER.S 316 | Code | 00 | | 2 | 00/0183 : D0 01 | bne CSetERR ; SetWaitStatus
|
||||
420 | 1 ASSD.DRIVER.S 317 | Code | 00 | | 1 | 00/0185 : 60 | rts
|
||||
421 | 1 ASSD.DRIVER.S 318 | Code | 00 | | 3 | 00/0186 : A9 22 00 | CSetERR lda #$0022
|
||||
422 | 1 ASSD.DRIVER.S 319 | Code | 00 | 2 | 3 | 00/0189 : 8D E1 01 | sta errCODE
|
||||
423 | 1 ASSD.DRIVER.S 320 | Code | 00 | | 1 | 00/018C : 60 | rts
|
||||
424 | 1 ASSD.DRIVER.S 321 | Empty | 00 | | 0 | 00/018D |
|
||||
425 | 1 ASSD.DRIVER.S 322 | Comment | 00 | | 0 | 00/018D | *----------------------------
|
||||
426 | 1 ASSD.DRIVER.S 323 | Empty | 00 | | 0 | 00/018D |
|
||||
427 | 1 ASSD.DRIVER.S 324 | Comment | 00 | | 0 | 00/018D | * Status flag of the current device
|
||||
428 | 1 ASSD.DRIVER.S 325 | Comment | 00 | | 0 | 00/018D | * $0001: image has been switched (disk switched)
|
||||
429 | 1 ASSD.DRIVER.S 326 | Comment | 00 | | 0 | 00/018D | * $0010: image is active (disk in drive)
|
||||
430 | 1 ASSD.DRIVER.S 327 | Comment | 00 | | 0 | 00/018D | * $0100: image has been modified
|
||||
431 | 1 ASSD.DRIVER.S 328 | Empty | 00 | | 0 | 00/018D |
|
||||
432 | 1 ASSD.DRIVER.S 329 | Comment | 00 | | 0 | 00/018D | *
|
||||
433 | 1 ASSD.DRIVER.S 330 | Comment | 00 | | 0 | 00/018D | * Checks everything is OK
|
||||
434 | 1 ASSD.DRIVER.S 331 | Comment | 00 | | 0 | 00/018D | *
|
||||
435 | 1 ASSD.DRIVER.S 332 | Empty | 00 | | 0 | 00/018D |
|
||||
436 | 1 ASSD.DRIVER.S 333 | Code | 00 | 2 | 3 | 00/018D : 20 C6 01 | doSETUP jsr checkSWITCHED
|
||||
437 | 1 ASSD.DRIVER.S 334 | Code | 00 | | 2 | 00/0190 : 90 01 | bcc ds2
|
||||
438 | 1 ASSD.DRIVER.S 335 | Code | 00 | | 1 | 00/0192 : 60 | rts
|
||||
439 | 1 ASSD.DRIVER.S 336 | Empty | 00 | | 0 | 00/0193 |
|
||||
440 | 1 ASSD.DRIVER.S 337 | Code | 00 | | 2 | 00/0193 : A5 08 | ds2 lda {$08} ; nb of bytes to read
|
||||
441 | 1 ASSD.DRIVER.S 338 | Code | 00 | | 2 | 00/0195 : 05 0A | ora {$08}+2
|
||||
442 | 1 ASSD.DRIVER.S 339 | Code | 00 | | 2 | 00/0197 : D0 08 | bne ds4
|
||||
443 | 1 ASSD.DRIVER.S 340 | Empty | 00 | | 0 | 00/0199 |
|
||||
444 | 1 ASSD.DRIVER.S 341 | Code | 00 | | 3 | 00/0199 : A9 2C 00 | lda #$002C ; invalidByteCount
|
||||
445 | 1 ASSD.DRIVER.S 342 | Code | 00 | 2 | 3 | 00/019C : 8D E1 01 | sta errCODE
|
||||
446 | 1 ASSD.DRIVER.S 343 | Code | 00 | | 1 | 00/019F : 38 | sec
|
||||
447 | 1 ASSD.DRIVER.S 344 | Code | 00 | | 1 | 00/01A0 : 60 | rts
|
||||
448 | 1 ASSD.DRIVER.S 345 | Empty | 00 | | 0 | 00/01A1 |
|
||||
449 | 1 ASSD.DRIVER.S 346 | Comment | 00 | | 0 | 00/01A1 | * $0102_0400 =
|
||||
450 | 1 ASSD.DRIVER.S 347 | Empty | 00 | | 0 | 00/01A1 |
|
||||
451 | 1 ASSD.DRIVER.S 348 | Comment | 00 | | 0 | 00/01A1 | *--- requestcount : $0200 => 1
|
||||
452 | 1 ASSD.DRIVER.S 349 | Comment | 00 | | 0 | 00/01A1 | *--- From a Block to a RAM address
|
||||
453 | 1 ASSD.DRIVER.S 350 | Empty | 00 | | 0 | 00/01A1 |
|
||||
454 | 1 ASSD.DRIVER.S 351 | Code | 00 | | 2 | 00/01A1 : A5 0B | ds4 lda {$08}+3 ; number of pages
|
||||
455 | 1 ASSD.DRIVER.S 352 | Code | 00 | | 3 | 00/01A3 : 29 FF 00 | and #$00ff ; to calculate
|
||||
456 | 1 ASSD.DRIVER.S 353 | Code | 00 | | 1 | 00/01A6 : 4A | lsr
|
||||
457 | 1 ASSD.DRIVER.S 354 | Code | 00 | | 2 | 00/01A7 : A5 09 | lda {$08}+1 ; $01020400 => $010204 => $8102
|
||||
458 | 1 ASSD.DRIVER.S 355 | Code | 00 | | 1 | 00/01A9 : 6A | ror
|
||||
459 | 1 ASSD.DRIVER.S 356 | Code | 00 | 2 | 3 | 00/01AA : 8D E7 01 | sta nbPAGES ; to calculate
|
||||
460 | 1 ASSD.DRIVER.S 357 | Empty | 00 | | 0 | 00/01AD |
|
||||
461 | 1 ASSD.DRIVER.S 358 | Code | 00 | | 2 | 00/01AD : A5 08 | lda {$08} ; multiple of $0200
|
||||
462 | 1 ASSD.DRIVER.S 359 | Code | 00 | | 3 | 00/01AF : 29 FF 01 | and #{512}-1
|
||||
463 | 1 ASSD.DRIVER.S 360 | Code | 00 | | 2 | 00/01B2 : F0 08 | beq ds6
|
||||
464 | 1 ASSD.DRIVER.S 361 | Empty | 00 | | 0 | 00/01B4 |
|
||||
465 | 1 ASSD.DRIVER.S 362 | Code | 00 | | 3 | 00/01B4 : A9 2D 00 | lda #$002D ; bad block count
|
||||
466 | 1 ASSD.DRIVER.S 363 | Code | 00 | 2 | 3 | 00/01B7 : 8D E1 01 | sta errCODE
|
||||
467 | 1 ASSD.DRIVER.S 364 | Code | 00 | | 1 | 00/01BA : 38 | sec
|
||||
468 | 1 ASSD.DRIVER.S 365 | Code | 00 | | 1 | 00/01BB : 60 | rts
|
||||
469 | 1 ASSD.DRIVER.S 366 | Empty | 00 | | 0 | 00/01BC |
|
||||
470 | 1 ASSD.DRIVER.S 367 | Comment | 00 | | 0 | 00/01BC | *--- Generic transfer now
|
||||
471 | 1 ASSD.DRIVER.S 368 | Empty | 00 | | 0 | 00/01BC |
|
||||
472 | 1 ASSD.DRIVER.S 369 | Code | 00 | | 2 | 00/01BC : A5 08 | ds6 lda {$08} ; assume transfer=request
|
||||
473 | 1 ASSD.DRIVER.S 370 | Code | 00 | | 2 | 00/01BE : 85 0C | sta {$0C}
|
||||
474 | 1 ASSD.DRIVER.S 371 | Code | 00 | | 2 | 00/01C0 : A5 0A | lda {$08}+2
|
||||
475 | 1 ASSD.DRIVER.S 372 | Code | 00 | | 2 | 00/01C2 : 85 0E | sta {$0C}+2
|
||||
476 | 1 ASSD.DRIVER.S 373 | Empty | 00 | | 0 | 00/01C4 |
|
||||
477 | 1 ASSD.DRIVER.S 374 | Code | 00 | | 1 | 00/01C4 : 18 | clc
|
||||
478 | 1 ASSD.DRIVER.S 375 | Code | 00 | | 1 | 00/01C5 : 60 | rts
|
||||
479 | 1 ASSD.DRIVER.S 376 | Empty | 00 | | 0 | 00/01C6 |
|
||||
480 | 1 ASSD.DRIVER.S 377 | Comment | 00 | | 0 | 00/01C6 | *----------------------------
|
||||
481 | 1 ASSD.DRIVER.S 378 | Empty | 00 | | 0 | 00/01C6 |
|
||||
482 | 1 ASSD.DRIVER.S 379 | Empty | 00 | | 0 | 00/01C6 | checkSWITCHED
|
||||
483 | 1 ASSD.DRIVER.S 380 | Code | 00 | 2 | 3 | 00/01C6 : AD DF 01 | lda fgSTARTED
|
||||
484 | 1 ASSD.DRIVER.S 381 | Code | 00 | | 2 | 00/01C9 : D0 12 | bne cs1
|
||||
485 | 1 ASSD.DRIVER.S 382 | Empty | 00 | | 0 | 00/01CB |
|
||||
486 | 1 ASSD.DRIVER.S 383 | Code | 00 | | 4 | 00/01CB : 22 90 FC 01 | jsl {$01FC90}
|
||||
487 | 1 ASSD.DRIVER.S 384 | Empty | 00 | | 0 | 00/01CF |
|
||||
488 | 1 ASSD.DRIVER.S 385 | Code | 00 | | 3 | 00/01CF : A9 01 00 | lda #1
|
||||
489 | 1 ASSD.DRIVER.S 386 | Code | 00 | 2 | 3 | 00/01D2 : 8D DF 01 | sta fgSTARTED
|
||||
490 | 1 ASSD.DRIVER.S 387 | Code | 00 | | 3 | 00/01D5 : A9 2E 00 | lda #$002e
|
||||
491 | 1 ASSD.DRIVER.S 388 | Code | 00 | 2 | 3 | 00/01D8 : 8D E1 01 | sta errCODE
|
||||
492 | 1 ASSD.DRIVER.S 389 | Code | 00 | | 1 | 00/01DB : 38 | sec
|
||||
493 | 1 ASSD.DRIVER.S 390 | Code | 00 | | 1 | 00/01DC : 60 | rts
|
||||
494 | 1 ASSD.DRIVER.S 391 | Empty | 00 | | 0 | 00/01DD |
|
||||
495 | 1 ASSD.DRIVER.S 392 | Code | 00 | | 1 | 00/01DD : 18 | cs1 clc
|
||||
496 | 1 ASSD.DRIVER.S 393 | Code | 00 | | 1 | 00/01DE : 60 | rts
|
||||
497 | 1 ASSD.DRIVER.S 394 | Empty | 00 | | 0 | 00/01DF |
|
||||
498 | 1 ASSD.DRIVER.S 395 | Comment | 00 | | 0 | 00/01DF | *----------------------------
|
||||
499 | 1 ASSD.DRIVER.S 396 | Empty | 00 | | 0 | 00/01DF |
|
||||
500 | 1 ASSD.DRIVER.S 397 | Data | 00 | | 2 | 00/01DF : 00 00 | fgSTARTED ds 2 ; 0: not started, 1: started
|
||||
501 | 1 ASSD.DRIVER.S 398 | Data | 00 | | 2 | 00/01E1 : 00 00 | errCODE ds 2
|
||||
502 | 1 ASSD.DRIVER.S 399 | Data | 00 | | 4 | 00/01E3 : 00 00 00 00 | thePAGE ds 4 ; page to read/write: $hh/ll00
|
||||
503 | 1 ASSD.DRIVER.S 400 | Data | 00 | | 2 | 00/01E7 : 00 00 | nbPAGES ds 2 ; number of blockSIZEP pages to copy
|
||||
504 | 1 ASSD.DRIVER.S 401 | Empty | 00 | | 0 | 00/01E9 |
|
||||
505 | 1 ASSD.DRIVER.S 402 | Data | 00 | | 4 | 00/01E9 : 00 00 00 00 | MyDIB ds 4 ; +00 pointer to the next DIB
|
||||
506 | 1 ASSD.DRIVER.S 403 | Data | 00 | 3 | 4 | 00/01ED : 06 00 00 00 | adrl entryPOINT ; +04 driver entry point
|
||||
507 | 1 ASSD.DRIVER.S 404 | Data | 00 | | 2 | 00/01F1 : EC 03 | dw {$03EC} ; +08 characteristics
|
||||
508 | 1 ASSD.DRIVER.S 405 | Data | 00 | | 4 | 00/01F3 : 00 00 00 00 | ds 4 ; +0A block count
|
||||
509 | 1 ASSD.DRIVER.S 406 | Data | 00 | | 11 | 00/01F7 : 0A 41 53 53 | str 'ASSDDevice' ; +0E device name
|
||||
144 | 1 ASSD.DRIVER.S 41 | Equivalence | 00 | | 0 | 00/0000 | dftUNIT = $0001 ; unit 1
|
||||
145 | 1 ASSD.DRIVER.S 42 | Equivalence | 00 | | 0 | 00/0000 | dftVERSION = $1000 ; v1
|
||||
146 | 1 ASSD.DRIVER.S 43 | Empty | 00 | | 0 | 00/0000 |
|
||||
147 | 1 ASSD.DRIVER.S 44 | Comment | 00 | | 0 | 00/0000 | *-----------------------------------------------
|
||||
148 | 1 ASSD.DRIVER.S 45 | Empty | 00 | | 0 | 00/0000 |
|
||||
149 | 1 ASSD.DRIVER.S 46 | Comment | 00 | | 0 | 00/0000 | *
|
||||
150 | 1 ASSD.DRIVER.S 47 | Comment | 00 | | 0 | 00/0000 | * Entry point
|
||||
151 | 1 ASSD.DRIVER.S 48 | Comment | 00 | | 0 | 00/0000 | *
|
||||
152 | 1 ASSD.DRIVER.S 49 | Empty | 00 | | 0 | 00/0000 |
|
||||
153 | 1 ASSD.DRIVER.S 50 | Data | 00 | | 2 | 00/0000 : E9 01 | RAMDisk da MyDIB-RAMDisk ; offset to 1st DIB
|
||||
154 | 1 ASSD.DRIVER.S 51 | Data | 00 | | 2 | 00/0002 : 01 00 | dw {1} ; number of devices
|
||||
155 | 1 ASSD.DRIVER.S 52 | Data | 00 | | 2 | 00/0004 : 00 00 | dw $0000 ; no configuration list
|
||||
156 | 1 ASSD.DRIVER.S 53 | Empty | 00 | | 0 | 00/0006 |
|
||||
157 | 1 ASSD.DRIVER.S 54 | Comment | 00 | | 0 | 00/0006 | *
|
||||
158 | 1 ASSD.DRIVER.S 55 | Comment | 00 | | 0 | 00/0006 | * Dispatch routine
|
||||
159 | 1 ASSD.DRIVER.S 56 | Comment | 00 | | 0 | 00/0006 | *
|
||||
160 | 1 ASSD.DRIVER.S 57 | Empty | 00 | | 0 | 00/0006 |
|
||||
161 | 1 ASSD.DRIVER.S 58 | Code | 00 | | 1 | 00/0006 : 4B | entryPOINT phk ; Dispatch
|
||||
162 | 1 ASSD.DRIVER.S 59 | Code | 00 | | 1 | 00/0007 : AB | plb
|
||||
163 | 1 ASSD.DRIVER.S 60 | Code | 00 | | 3 | 00/0008 : C9 09 00 | cmp #$0009
|
||||
164 | 1 ASSD.DRIVER.S 61 | Code | 00 | | 2 | 00/000B : 90 05 | bcc L0012
|
||||
165 | 1 ASSD.DRIVER.S 62 | Code | 00 | | 3 | 00/000D : A9 20 00 | lda #$0020
|
||||
166 | 1 ASSD.DRIVER.S 63 | Code | 00 | | 2 | 00/0010 : 80 0B | bra L001D
|
||||
167 | 1 ASSD.DRIVER.S 64 | Code | 00 | | 1 | 00/0012 : 0A | L0012 asl
|
||||
168 | 1 ASSD.DRIVER.S 65 | Code | 00 | | 1 | 00/0013 : AA | tax
|
||||
169 | 1 ASSD.DRIVER.S 66 | Code | 00 | 2 | 3 | 00/0014 : 9C E1 01 | stz errCODE
|
||||
170 | 1 ASSD.DRIVER.S 67 | Code | 00 | 2 | 3 | 00/0017 : FC 21 00 | jsr (tblDISPATCH,x)
|
||||
171 | 1 ASSD.DRIVER.S 68 | Code | 00 | 2 | 3 | 00/001A : AD E1 01 | lda errCODE
|
||||
172 | 1 ASSD.DRIVER.S 69 | Code | 00 | | 3 | 00/001D : C9 01 00 | L001D cmp #$0001
|
||||
173 | 1 ASSD.DRIVER.S 70 | Code | 00 | | 1 | 00/0020 : 6B | rtl
|
||||
174 | 1 ASSD.DRIVER.S 71 | Empty | 00 | | 0 | 00/0021 |
|
||||
175 | 1 ASSD.DRIVER.S 72 | Data | 00 | 2 | 2 | 00/0021 : 33 00 | tblDISPATCH da DStartup ; Driver_Startup
|
||||
176 | 1 ASSD.DRIVER.S 73 | Data | 00 | 2 | 2 | 00/0023 : 55 00 | da DOpen ; Driver_Open
|
||||
177 | 1 ASSD.DRIVER.S 74 | Data | 00 | 2 | 2 | 00/0025 : 56 00 | da DRead ; Driver_Read
|
||||
178 | 1 ASSD.DRIVER.S 75 | Data | 00 | 2 | 2 | 00/0027 : A3 00 | da DWrite ; Driver_Write
|
||||
179 | 1 ASSD.DRIVER.S 76 | Data | 00 | 2 | 2 | 00/0029 : 55 00 | da DClose ; Driver_Close
|
||||
180 | 1 ASSD.DRIVER.S 77 | Data | 00 | 2 | 2 | 00/002B : F0 00 | da DStatus ; Driver_Status
|
||||
181 | 1 ASSD.DRIVER.S 78 | Data | 00 | 2 | 2 | 00/002D : 4E 01 | da DControl ; Driver_Control
|
||||
182 | 1 ASSD.DRIVER.S 79 | Data | 00 | 2 | 2 | 00/002F : 55 00 | da DFlush ; Driver_Flush
|
||||
183 | 1 ASSD.DRIVER.S 80 | Data | 00 | 2 | 2 | 00/0031 : 52 00 | da DShutdown ; Driver_Shutdown
|
||||
184 | 1 ASSD.DRIVER.S 81 | Empty | 00 | | 0 | 00/0033 |
|
||||
185 | 1 ASSD.DRIVER.S 82 | Comment | 00 | | 0 | 00/0033 | *
|
||||
186 | 1 ASSD.DRIVER.S 83 | Comment | 00 | | 0 | 00/0033 | * Driver_Startup
|
||||
187 | 1 ASSD.DRIVER.S 84 | Comment | 00 | | 0 | 00/0033 | *
|
||||
188 | 1 ASSD.DRIVER.S 85 | Empty | 00 | | 0 | 00/0033 |
|
||||
189 | 1 ASSD.DRIVER.S 86 | Empty | 00 | | 0 | 00/0033 | DStartup
|
||||
190 | 1 ASSD.DRIVER.S 87 | Code | 00 | | 4 | 00/0033 : AF 0A 00 E2 | ldal {$e2000a}
|
||||
191 | 1 ASSD.DRIVER.S 88 | Code | 00 | | 3 | 00/0037 : 29 FF 00 | and #$ff
|
||||
192 | 1 ASSD.DRIVER.S 89 | Code | 00 | | 3 | 00/003A : C9 01 00 | cmp #$01
|
||||
193 | 1 ASSD.DRIVER.S 90 | Code | 00 | | 2 | 00/003D : D0 13 | bne DShutdown ; no AS found
|
||||
194 | 1 ASSD.DRIVER.S 91 | Empty | 00 | | 0 | 00/003F |
|
||||
195 | 1 ASSD.DRIVER.S 92 | Code | 00 | | 4 | 00/003F : AF 0C 00 E2 | ldal {$e2000c}
|
||||
196 | 1 ASSD.DRIVER.S 93 | Code | 00 | | 3 | 00/0043 : 29 FF 00 | and #$ff
|
||||
197 | 1 ASSD.DRIVER.S 94 | Code | 00 | | 3 | 00/0046 : C9 07 00 | cmp #{7}
|
||||
198 | 1 ASSD.DRIVER.S 95 | Code | 00 | | 2 | 00/0049 : 90 07 | bcc DShutdown ; no minimum version
|
||||
199 | 1 ASSD.DRIVER.S 96 | Empty | 00 | | 0 | 00/004B |
|
||||
200 | 1 ASSD.DRIVER.S 97 | Code | 00 | | 3 | 00/004B : A9 01 00 | lda #1 ; we're on
|
||||
201 | 1 ASSD.DRIVER.S 98 | Code | 00 | 2 | 3 | 00/004E : 8D DF 01 | sta fgSTARTED
|
||||
202 | 1 ASSD.DRIVER.S 99 | Code | 00 | | 1 | 00/0051 : 60 | rts
|
||||
203 | 1 ASSD.DRIVER.S 100 | Empty | 00 | | 0 | 00/0052 |
|
||||
204 | 1 ASSD.DRIVER.S 101 | Comment | 00 | | 0 | 00/0052 | *
|
||||
205 | 1 ASSD.DRIVER.S 102 | Comment | 00 | | 0 | 00/0052 | * Driver_Shutdown
|
||||
206 | 1 ASSD.DRIVER.S 103 | Comment | 00 | | 0 | 00/0052 | *
|
||||
207 | 1 ASSD.DRIVER.S 104 | Empty | 00 | | 0 | 00/0052 |
|
||||
208 | 1 ASSD.DRIVER.S 105 | Code | 00 | 2 | 3 | 00/0052 : 9C DF 01 | DShutdown stz fgSTARTED
|
||||
209 | 1 ASSD.DRIVER.S 106 | Empty | 00 | | 0 | 00/0055 |
|
||||
210 | 1 ASSD.DRIVER.S 107 | Comment | 00 | | 0 | 00/0055 | *
|
||||
211 | 1 ASSD.DRIVER.S 108 | Comment | 00 | | 0 | 00/0055 | * Driver_Open
|
||||
212 | 1 ASSD.DRIVER.S 109 | Comment | 00 | | 0 | 00/0055 | * Driver_Close
|
||||
213 | 1 ASSD.DRIVER.S 110 | Comment | 00 | | 0 | 00/0055 | * Driver_Flush
|
||||
214 | 1 ASSD.DRIVER.S 111 | Comment | 00 | | 0 | 00/0055 | *
|
||||
215 | 1 ASSD.DRIVER.S 112 | Empty | 00 | | 0 | 00/0055 |
|
||||
216 | 1 ASSD.DRIVER.S 113 | Empty | 00 | | 0 | 00/0055 | DOpen ; Driver_Open
|
||||
217 | 1 ASSD.DRIVER.S 114 | Empty | 00 | | 0 | 00/0055 | DClose ; Driver_Close
|
||||
218 | 1 ASSD.DRIVER.S 115 | Empty | 00 | | 0 | 00/0055 | DFlush ; Driver_Flush
|
||||
219 | 1 ASSD.DRIVER.S 116 | Code | 00 | | 1 | 00/0055 : 60 | rts
|
||||
220 | 1 ASSD.DRIVER.S 117 | Empty | 00 | | 0 | 00/0056 |
|
||||
221 | 1 ASSD.DRIVER.S 118 | Comment | 00 | | 0 | 00/0056 | *
|
||||
222 | 1 ASSD.DRIVER.S 119 | Comment | 00 | | 0 | 00/0056 | * Driver_Read
|
||||
223 | 1 ASSD.DRIVER.S 120 | Comment | 00 | | 0 | 00/0056 | *
|
||||
224 | 1 ASSD.DRIVER.S 121 | Empty | 00 | | 0 | 00/0056 |
|
||||
225 | 1 ASSD.DRIVER.S 122 | Code | 00 | 2 | 3 | 00/0056 : 20 8D 01 | DRead jsr doSETUP
|
||||
226 | 1 ASSD.DRIVER.S 123 | Code | 00 | | 2 | 00/0059 : 90 01 | bcc dr1
|
||||
227 | 1 ASSD.DRIVER.S 124 | Code | 00 | | 1 | 00/005B : 60 | rts
|
||||
228 | 1 ASSD.DRIVER.S 125 | Empty | 00 | | 0 | 00/005C |
|
||||
229 | 1 ASSD.DRIVER.S 126 | Comment | 00 | | 0 | 00/005C | *--- The AS magic is here
|
||||
230 | 1 ASSD.DRIVER.S 127 | Empty | 00 | | 0 | 00/005C |
|
||||
231 | 1 ASSD.DRIVER.S 128 | Code | 00 | | 2 | 00/005C : D4 05 | dr1 pei {$04}+1 ; save pointer
|
||||
232 | 1 ASSD.DRIVER.S 129 | Empty | 00 | | 0 | 00/005E |
|
||||
233 | 1 ASSD.DRIVER.S 130 | Code | 10 | | 2 | 00/005E : E2 20 | sep #$20
|
||||
234 | 1 ASSD.DRIVER.S 131 | Code | 10 | | 2 | 00/0060 : A5 13 | lda {$10}+3
|
||||
235 | 1 ASSD.DRIVER.S 132 | Code | 10 | | 4 | 00/0062 : 8F 00 00 E4 | stal {$e40000}
|
||||
236 | 1 ASSD.DRIVER.S 133 | Code | 10 | | 2 | 00/0066 : A5 12 | lda {$10}+2
|
||||
237 | 1 ASSD.DRIVER.S 134 | Code | 10 | | 4 | 00/0068 : 8F 02 00 E4 | stal {$e40002}
|
||||
238 | 1 ASSD.DRIVER.S 135 | Code | 10 | | 2 | 00/006C : A5 11 | lda {$10}+1
|
||||
239 | 1 ASSD.DRIVER.S 136 | Code | 10 | | 4 | 00/006E : 8F 04 00 E4 | stal {$e40004}
|
||||
240 | 1 ASSD.DRIVER.S 137 | Code | 10 | | 2 | 00/0072 : A5 10 | lda {$10}
|
||||
241 | 1 ASSD.DRIVER.S 138 | Code | 10 | | 4 | 00/0074 : 8F 06 00 E4 | stal {$e40006}
|
||||
242 | 1 ASSD.DRIVER.S 139 | Empty | 10 | | 0 | 00/0078 |
|
||||
243 | 1 ASSD.DRIVER.S 140 | Code | 10 | | 2 | 00/0078 : A9 01 | lda #1
|
||||
244 | 1 ASSD.DRIVER.S 141 | Code | 10 | | 4 | 00/007A : 8F 08 00 E4 | stal {$e40008}
|
||||
245 | 1 ASSD.DRIVER.S 142 | Empty | 10 | | 0 | 00/007E |
|
||||
246 | 1 ASSD.DRIVER.S 143 | Code | 10 | 2 | 3 | 00/007E : AE E7 01 | ldx nbPAGES ; number of 512-byte pages to copy
|
||||
247 | 1 ASSD.DRIVER.S 144 | Code | 10 | | 3 | 00/0081 : A0 00 00 | dr2 ldy #0 ; read one block
|
||||
248 | 1 ASSD.DRIVER.S 145 | Code | 10 | | 2 | 00/0084 : E2 20 | sep #$20
|
||||
249 | 1 ASSD.DRIVER.S 146 | Code | 10 | | 4 | 00/0086 : AF 0A 00 E4 | ozunid_1 ldal {$e4000a}
|
||||
250 | 1 ASSD.DRIVER.S 147 | Code | 10 | | 2 | 00/008A : 97 04 | sta [{$04}],y
|
||||
251 | 1 ASSD.DRIVER.S 148 | Code | 10 | | 1 | 00/008C : C8 | iny
|
||||
252 | 1 ASSD.DRIVER.S 149 | Code | 10 | | 3 | 00/008D : C0 00 02 | cpy #{512}
|
||||
253 | 1 ASSD.DRIVER.S 150 | Code | 10 | | 2 | 00/0090 : 90 F4 | bcc ozunid_1
|
||||
254 | 1 ASSD.DRIVER.S 151 | Empty | 10 | | 0 | 00/0092 |
|
||||
255 | 1 ASSD.DRIVER.S 152 | Code | 00 | | 2 | 00/0092 : C2 20 | rep #$20 ; move destination pointer
|
||||
256 | 1 ASSD.DRIVER.S 153 | Code | 00 | | 2 | 00/0094 : A5 05 | lda {$04}+1
|
||||
257 | 1 ASSD.DRIVER.S 154 | Code | 00 | | 1 | 00/0096 : 18 | clc
|
||||
258 | 1 ASSD.DRIVER.S 155 | Code | 00 | | 3 | 00/0097 : 69 02 00 | adc #>{512} ; rwBlockSize+1
|
||||
259 | 1 ASSD.DRIVER.S 156 | Code | 00 | | 2 | 00/009A : 85 05 | sta {$04}+1
|
||||
260 | 1 ASSD.DRIVER.S 157 | Empty | 00 | | 0 | 00/009C |
|
||||
261 | 1 ASSD.DRIVER.S 158 | Code | 00 | | 1 | 00/009C : CA | dex ; next block
|
||||
262 | 1 ASSD.DRIVER.S 159 | Code | 00 | | 2 | 00/009D : D0 E2 | bne dr2
|
||||
263 | 1 ASSD.DRIVER.S 160 | Empty | 00 | | 0 | 00/009F |
|
||||
264 | 1 ASSD.DRIVER.S 161 | Code | 00 | | 1 | 00/009F : 68 | pla ; restore pointer
|
||||
265 | 1 ASSD.DRIVER.S 162 | Code | 00 | | 2 | 00/00A0 : 85 05 | sta {$04}+1
|
||||
266 | 1 ASSD.DRIVER.S 163 | Code | 00 | | 1 | 00/00A2 : 60 | rts
|
||||
267 | 1 ASSD.DRIVER.S 164 | Empty | 00 | | 0 | 00/00A3 |
|
||||
268 | 1 ASSD.DRIVER.S 165 | Comment | 00 | | 0 | 00/00A3 | *--- The AS magic ends here
|
||||
269 | 1 ASSD.DRIVER.S 166 | Empty | 00 | | 0 | 00/00A3 |
|
||||
270 | 1 ASSD.DRIVER.S 167 | Comment | 00 | | 0 | 00/00A3 | *
|
||||
271 | 1 ASSD.DRIVER.S 168 | Comment | 00 | | 0 | 00/00A3 | * Driver_Write
|
||||
272 | 1 ASSD.DRIVER.S 169 | Comment | 00 | | 0 | 00/00A3 | *
|
||||
273 | 1 ASSD.DRIVER.S 170 | Empty | 00 | | 0 | 00/00A3 |
|
||||
274 | 1 ASSD.DRIVER.S 171 | Code | 00 | 2 | 3 | 00/00A3 : 20 8D 01 | DWrite jsr doSETUP
|
||||
275 | 1 ASSD.DRIVER.S 172 | Code | 00 | | 2 | 00/00A6 : 90 01 | bcc dw1
|
||||
276 | 1 ASSD.DRIVER.S 173 | Code | 00 | | 1 | 00/00A8 : 60 | rts
|
||||
277 | 1 ASSD.DRIVER.S 174 | Empty | 00 | | 0 | 00/00A9 |
|
||||
278 | 1 ASSD.DRIVER.S 175 | Comment | 00 | | 0 | 00/00A9 | *--- The AS magic is here
|
||||
279 | 1 ASSD.DRIVER.S 176 | Empty | 00 | | 0 | 00/00A9 |
|
||||
280 | 1 ASSD.DRIVER.S 177 | Code | 00 | | 2 | 00/00A9 : D4 05 | dw1 pei {$04}+1 ; save pointer
|
||||
281 | 1 ASSD.DRIVER.S 178 | Empty | 00 | | 0 | 00/00AB |
|
||||
282 | 1 ASSD.DRIVER.S 179 | Code | 10 | | 2 | 00/00AB : E2 20 | sep #$20
|
||||
283 | 1 ASSD.DRIVER.S 180 | Code | 10 | | 2 | 00/00AD : A5 13 | lda {$10}+3
|
||||
284 | 1 ASSD.DRIVER.S 181 | Code | 10 | | 4 | 00/00AF : 8F 00 00 E4 | stal {$e40000}
|
||||
285 | 1 ASSD.DRIVER.S 182 | Code | 10 | | 2 | 00/00B3 : A5 12 | lda {$10}+2
|
||||
286 | 1 ASSD.DRIVER.S 183 | Code | 10 | | 4 | 00/00B5 : 8F 02 00 E4 | stal {$e40002}
|
||||
287 | 1 ASSD.DRIVER.S 184 | Code | 10 | | 2 | 00/00B9 : A5 11 | lda {$10}+1
|
||||
288 | 1 ASSD.DRIVER.S 185 | Code | 10 | | 4 | 00/00BB : 8F 04 00 E4 | stal {$e40004}
|
||||
289 | 1 ASSD.DRIVER.S 186 | Code | 10 | | 2 | 00/00BF : A5 10 | lda {$10}
|
||||
290 | 1 ASSD.DRIVER.S 187 | Code | 10 | | 4 | 00/00C1 : 8F 06 00 E4 | stal {$e40006}
|
||||
291 | 1 ASSD.DRIVER.S 188 | Empty | 10 | | 0 | 00/00C5 |
|
||||
292 | 1 ASSD.DRIVER.S 189 | Code | 10 | | 2 | 00/00C5 : A9 01 | lda #1
|
||||
293 | 1 ASSD.DRIVER.S 190 | Code | 10 | | 4 | 00/00C7 : 8F 0C 00 E4 | stal {$e4000c}
|
||||
294 | 1 ASSD.DRIVER.S 191 | Empty | 10 | | 0 | 00/00CB |
|
||||
295 | 1 ASSD.DRIVER.S 192 | Code | 10 | 2 | 3 | 00/00CB : AE E7 01 | ldx nbPAGES ; number of 512-byte pages to copy
|
||||
296 | 1 ASSD.DRIVER.S 193 | Code | 10 | | 3 | 00/00CE : A0 00 00 | dw2 ldy #0 ; read one block
|
||||
297 | 1 ASSD.DRIVER.S 194 | Code | 10 | | 2 | 00/00D1 : E2 20 | sep #$20
|
||||
298 | 1 ASSD.DRIVER.S 195 | Code | 10 | | 2 | 00/00D3 : B7 04 | ozunid_2 lda [{$04}],y
|
||||
299 | 1 ASSD.DRIVER.S 196 | Code | 10 | | 4 | 00/00D5 : 8F 0A 00 E4 | stal {$e4000a}
|
||||
300 | 1 ASSD.DRIVER.S 197 | Code | 10 | | 1 | 00/00D9 : C8 | iny
|
||||
301 | 1 ASSD.DRIVER.S 198 | Code | 10 | | 3 | 00/00DA : C0 00 02 | cpy #{512}
|
||||
302 | 1 ASSD.DRIVER.S 199 | Code | 10 | | 2 | 00/00DD : 90 F4 | bcc ozunid_2
|
||||
303 | 1 ASSD.DRIVER.S 200 | Empty | 10 | | 0 | 00/00DF |
|
||||
304 | 1 ASSD.DRIVER.S 201 | Code | 00 | | 2 | 00/00DF : C2 20 | rep #$20 ; move destination pointer
|
||||
305 | 1 ASSD.DRIVER.S 202 | Code | 00 | | 2 | 00/00E1 : A5 05 | lda {$04}+1
|
||||
306 | 1 ASSD.DRIVER.S 203 | Code | 00 | | 1 | 00/00E3 : 18 | clc
|
||||
307 | 1 ASSD.DRIVER.S 204 | Code | 00 | | 3 | 00/00E4 : 69 02 00 | adc #>{512} ; rwBlockSize+1
|
||||
308 | 1 ASSD.DRIVER.S 205 | Code | 00 | | 2 | 00/00E7 : 85 05 | sta {$04}+1
|
||||
309 | 1 ASSD.DRIVER.S 206 | Empty | 00 | | 0 | 00/00E9 |
|
||||
310 | 1 ASSD.DRIVER.S 207 | Code | 00 | | 1 | 00/00E9 : CA | dex ; next block
|
||||
311 | 1 ASSD.DRIVER.S 208 | Code | 00 | | 2 | 00/00EA : D0 E2 | bne dw2
|
||||
312 | 1 ASSD.DRIVER.S 209 | Empty | 00 | | 0 | 00/00EC |
|
||||
313 | 1 ASSD.DRIVER.S 210 | Code | 00 | | 1 | 00/00EC : 68 | pla ; restore pointer
|
||||
314 | 1 ASSD.DRIVER.S 211 | Code | 00 | | 2 | 00/00ED : 85 05 | sta {$04}+1
|
||||
315 | 1 ASSD.DRIVER.S 212 | Code | 00 | | 1 | 00/00EF : 60 | rts
|
||||
316 | 1 ASSD.DRIVER.S 213 | Empty | 00 | | 0 | 00/00F0 |
|
||||
317 | 1 ASSD.DRIVER.S 214 | Comment | 00 | | 0 | 00/00F0 | *--- The AS magic ends here
|
||||
318 | 1 ASSD.DRIVER.S 215 | Empty | 00 | | 0 | 00/00F0 |
|
||||
319 | 1 ASSD.DRIVER.S 216 | Comment | 00 | | 0 | 00/00F0 | *
|
||||
320 | 1 ASSD.DRIVER.S 217 | Comment | 00 | | 0 | 00/00F0 | * Driver_Status
|
||||
321 | 1 ASSD.DRIVER.S 218 | Comment | 00 | | 0 | 00/00F0 | *
|
||||
322 | 1 ASSD.DRIVER.S 219 | Empty | 00 | | 0 | 00/00F0 |
|
||||
323 | 1 ASSD.DRIVER.S 220 | Code | 00 | | 2 | 00/00F0 : A5 16 | DStatus lda {$16}
|
||||
324 | 1 ASSD.DRIVER.S 221 | Code | 00 | | 3 | 00/00F2 : C9 05 00 | cmp #4+1
|
||||
325 | 1 ASSD.DRIVER.S 222 | Code | 00 | | 2 | 00/00F5 : 90 07 | bcc DStatus1
|
||||
326 | 1 ASSD.DRIVER.S 223 | Code | 00 | | 3 | 00/00F7 : A9 21 00 | lda #$0021 ; drvrBadCode
|
||||
327 | 1 ASSD.DRIVER.S 224 | Code | 00 | 2 | 3 | 00/00FA : 8D E1 01 | sta errCODE
|
||||
328 | 1 ASSD.DRIVER.S 225 | Code | 00 | | 1 | 00/00FD : 60 | rts
|
||||
329 | 1 ASSD.DRIVER.S 226 | Empty | 00 | | 0 | 00/00FE |
|
||||
330 | 1 ASSD.DRIVER.S 227 | Code | 00 | | 1 | 00/00FE : 0A | DStatus1 asl
|
||||
331 | 1 ASSD.DRIVER.S 228 | Code | 00 | | 1 | 00/00FF : AA | tax
|
||||
332 | 1 ASSD.DRIVER.S 229 | Code | 00 | | 2 | 00/0100 : 64 0C | stz {$0C}
|
||||
333 | 1 ASSD.DRIVER.S 230 | Code | 00 | | 2 | 00/0102 : 64 0E | stz {$0C}+2
|
||||
334 | 1 ASSD.DRIVER.S 231 | Code | 00 | 2 | 3 | 00/0104 : FC 08 01 | jsr (tblSTATUS,x)
|
||||
335 | 1 ASSD.DRIVER.S 232 | Code | 00 | | 1 | 00/0107 : 60 | rts
|
||||
336 | 1 ASSD.DRIVER.S 233 | Empty | 00 | | 0 | 00/0108 |
|
||||
337 | 1 ASSD.DRIVER.S 234 | Data | 00 | 2 | 2 | 00/0108 : 13 01 | tblSTATUS da SGetStatus ; GetDeviceStatus
|
||||
338 | 1 ASSD.DRIVER.S 235 | Data | 00 | 2 | 2 | 00/010A : 43 01 | da SGet ; GetConfigParameters
|
||||
339 | 1 ASSD.DRIVER.S 236 | Data | 00 | 2 | 2 | 00/010C : 43 01 | da SGet ; GetWaitStatus
|
||||
340 | 1 ASSD.DRIVER.S 237 | Data | 00 | 2 | 2 | 00/010E : 43 01 | da SGet ; GetFormatOptions
|
||||
341 | 1 ASSD.DRIVER.S 238 | Data | 00 | 2 | 2 | 00/0110 : 12 01 | da SNada ; GetPartitionMap
|
||||
342 | 1 ASSD.DRIVER.S 239 | Empty | 00 | | 0 | 00/0112 |
|
||||
343 | 1 ASSD.DRIVER.S 240 | Code | 00 | | 1 | 00/0112 : 60 | SNada rts
|
||||
344 | 1 ASSD.DRIVER.S 241 | Empty | 00 | | 0 | 00/0113 |
|
||||
345 | 1 ASSD.DRIVER.S 242 | Comment | 00 | | 0 | 00/0113 | *----------- GetDeviceStatus
|
||||
346 | 1 ASSD.DRIVER.S 243 | Empty | 00 | | 0 | 00/0113 |
|
||||
347 | 1 ASSD.DRIVER.S 244 | Code | 00 | | 3 | 00/0113 : A9 02 00 | SGetStatus lda #2 ; GetDeviceStatus
|
||||
348 | 1 ASSD.DRIVER.S 245 | Code | 00 | | 2 | 00/0116 : 85 0C | sta {$0C}
|
||||
349 | 1 ASSD.DRIVER.S 246 | Empty | 00 | | 0 | 00/0118 |
|
||||
350 | 1 ASSD.DRIVER.S 247 | Code | 00 | | 2 | 00/0118 : A5 08 | lda {$08} ; check length of buffer
|
||||
351 | 1 ASSD.DRIVER.S 248 | Code | 00 | | 3 | 00/011A : C9 06 00 | cmp #6
|
||||
352 | 1 ASSD.DRIVER.S 249 | Code | 00 | | 2 | 00/011D : 90 14 | bcc SGS1
|
||||
353 | 1 ASSD.DRIVER.S 250 | Code | 00 | | 3 | 00/011F : A9 06 00 | lda #6
|
||||
354 | 1 ASSD.DRIVER.S 251 | Code | 00 | | 2 | 00/0122 : 85 0C | sta {$0C}
|
||||
355 | 1 ASSD.DRIVER.S 252 | Empty | 00 | | 0 | 00/0124 |
|
||||
356 | 1 ASSD.DRIVER.S 253 | Code | 00 | | 3 | 00/0124 : A0 02 00 | ldy #2 ; we can send the number of blocks
|
||||
357 | 1 ASSD.DRIVER.S 254 | Code | 00 | | 3 | 00/0127 : A9 FF FF | lda #{$ffffffff}
|
||||
358 | 1 ASSD.DRIVER.S 255 | Code | 00 | | 2 | 00/012A : 97 04 | sta [{$04}],y
|
||||
359 | 1 ASSD.DRIVER.S 256 | Code | 00 | | 1 | 00/012C : C8 | iny
|
||||
360 | 1 ASSD.DRIVER.S 257 | Code | 00 | | 1 | 00/012D : C8 | iny
|
||||
361 | 1 ASSD.DRIVER.S 258 | Code | 00 | | 3 | 00/012E : A9 FF FF | lda #^{$ffffffff}
|
||||
362 | 1 ASSD.DRIVER.S 259 | Code | 00 | | 2 | 00/0131 : 97 04 | sta [{$04}],y
|
||||
363 | 1 ASSD.DRIVER.S 260 | Empty | 00 | | 0 | 00/0133 |
|
||||
364 | 1 ASSD.DRIVER.S 261 | Code | 00 | | 3 | 00/0133 : A2 10 00 | SGS1 ldx #{$0010}
|
||||
365 | 1 ASSD.DRIVER.S 262 | Code | 00 | 2 | 3 | 00/0136 : AD DF 01 | lda fgSTARTED ; send the status of the driver
|
||||
366 | 1 ASSD.DRIVER.S 263 | Code | 00 | | 2 | 00/0139 : D0 01 | bne SGS2
|
||||
367 | 1 ASSD.DRIVER.S 264 | Code | 00 | | 1 | 00/013B : E8 | inx
|
||||
368 | 1 ASSD.DRIVER.S 265 | Code | 00 | | 1 | 00/013C : 8A | SGS2 txa
|
||||
369 | 1 ASSD.DRIVER.S 266 | Code | 00 | | 3 | 00/013D : 09 00 80 | ora #{$8000} ; we are uncertain of the block count
|
||||
370 | 1 ASSD.DRIVER.S 267 | Code | 00 | | 2 | 00/0140 : 87 04 | sta [{$04}]
|
||||
371 | 1 ASSD.DRIVER.S 268 | Code | 00 | | 1 | 00/0142 : 60 | rts
|
||||
372 | 1 ASSD.DRIVER.S 269 | Empty | 00 | | 0 | 00/0143 |
|
||||
373 | 1 ASSD.DRIVER.S 270 | Comment | 00 | | 0 | 00/0143 | *----------- GetConfigParameters / GetWaitStatus
|
||||
374 | 1 ASSD.DRIVER.S 271 | Empty | 00 | | 0 | 00/0143 |
|
||||
375 | 1 ASSD.DRIVER.S 272 | Code | 00 | | 3 | 00/0143 : A9 00 00 | SGet lda #0 ; GetConfigParameters
|
||||
376 | 1 ASSD.DRIVER.S 273 | Code | 00 | | 2 | 00/0146 : 87 04 | sta [{$04}] ; GetWaitStatus
|
||||
377 | 1 ASSD.DRIVER.S 274 | Code | 00 | | 3 | 00/0148 : A9 02 00 | lda #2
|
||||
378 | 1 ASSD.DRIVER.S 275 | Code | 00 | | 2 | 00/014B : 85 0C | sta {$0C}
|
||||
379 | 1 ASSD.DRIVER.S 276 | Code | 00 | | 1 | 00/014D : 60 | rts
|
||||
380 | 1 ASSD.DRIVER.S 277 | Empty | 00 | | 0 | 00/014E |
|
||||
381 | 1 ASSD.DRIVER.S 278 | Comment | 00 | | 0 | 00/014E | *
|
||||
382 | 1 ASSD.DRIVER.S 279 | Comment | 00 | | 0 | 00/014E | * Driver_Control
|
||||
383 | 1 ASSD.DRIVER.S 280 | Comment | 00 | | 0 | 00/014E | *
|
||||
384 | 1 ASSD.DRIVER.S 281 | Empty | 00 | | 0 | 00/014E |
|
||||
385 | 1 ASSD.DRIVER.S 282 | Code | 00 | 2 | 3 | 00/014E : 20 C6 01 | DControl jsr checkSWITCHED
|
||||
386 | 1 ASSD.DRIVER.S 283 | Code | 00 | | 2 | 00/0151 : 90 01 | bcc DControl1
|
||||
387 | 1 ASSD.DRIVER.S 284 | Code | 00 | | 1 | 00/0153 : 60 | rts
|
||||
388 | 1 ASSD.DRIVER.S 285 | Empty | 00 | | 0 | 00/0154 |
|
||||
389 | 1 ASSD.DRIVER.S 286 | Code | 00 | | 2 | 00/0154 : A5 16 | DControl1 lda {$16}
|
||||
390 | 1 ASSD.DRIVER.S 287 | Code | 00 | | 3 | 00/0156 : C9 0A 00 | cmp #9+1
|
||||
391 | 1 ASSD.DRIVER.S 288 | Code | 00 | | 2 | 00/0159 : 90 07 | bcc DControl2
|
||||
392 | 1 ASSD.DRIVER.S 289 | Empty | 00 | | 0 | 00/015B |
|
||||
393 | 1 ASSD.DRIVER.S 290 | Code | 00 | | 3 | 00/015B : A9 21 00 | lda #$0021
|
||||
394 | 1 ASSD.DRIVER.S 291 | Code | 00 | 2 | 3 | 00/015E : 8D E1 01 | sta errCODE
|
||||
395 | 1 ASSD.DRIVER.S 292 | Code | 00 | | 1 | 00/0161 : 60 | rts
|
||||
396 | 1 ASSD.DRIVER.S 293 | Empty | 00 | | 0 | 00/0162 |
|
||||
397 | 1 ASSD.DRIVER.S 294 | Code | 00 | | 1 | 00/0162 : 0A | DControl2 asl
|
||||
398 | 1 ASSD.DRIVER.S 295 | Code | 00 | | 1 | 00/0163 : AA | tax
|
||||
399 | 1 ASSD.DRIVER.S 296 | Code | 00 | | 2 | 00/0164 : 64 0C | stz {$0C}
|
||||
400 | 1 ASSD.DRIVER.S 297 | Code | 00 | | 2 | 00/0166 : 64 0E | stz {$0C}+2
|
||||
401 | 1 ASSD.DRIVER.S 298 | Code | 00 | 2 | 3 | 00/0168 : FC 6C 01 | jsr (tblCONTROL,x)
|
||||
402 | 1 ASSD.DRIVER.S 299 | Code | 00 | | 1 | 00/016B : 60 | rts
|
||||
403 | 1 ASSD.DRIVER.S 300 | Empty | 00 | | 0 | 00/016C |
|
||||
404 | 1 ASSD.DRIVER.S 301 | Data | 00 | 2 | 2 | 00/016C : 80 01 | tblCONTROL da CNada ; 0 ResetDevice
|
||||
405 | 1 ASSD.DRIVER.S 302 | Data | 00 | 2 | 2 | 00/016E : 80 01 | da CNada ; 1 FormatDevice
|
||||
406 | 1 ASSD.DRIVER.S 303 | Data | 00 | 2 | 2 | 00/0170 : 80 01 | da CNada ; 2 EjectMedium
|
||||
407 | 1 ASSD.DRIVER.S 304 | Data | 00 | 2 | 2 | 00/0172 : 81 01 | da CSet ; 3 SetConfigParameters
|
||||
408 | 1 ASSD.DRIVER.S 305 | Data | 00 | 2 | 2 | 00/0174 : 81 01 | da CSet ; 4 SetWaitStatus
|
||||
409 | 1 ASSD.DRIVER.S 306 | Data | 00 | 2 | 2 | 00/0176 : 81 01 | da CSet ; 5 SetFormatOptions
|
||||
410 | 1 ASSD.DRIVER.S 307 | Data | 00 | 2 | 2 | 00/0178 : 80 01 | da CNada ; 6 AssignPartitionOwner
|
||||
411 | 1 ASSD.DRIVER.S 308 | Data | 00 | 2 | 2 | 00/017A : 80 01 | da CNada ; 7 ArmSignal
|
||||
412 | 1 ASSD.DRIVER.S 309 | Data | 00 | 2 | 2 | 00/017C : 80 01 | da CNada ; 8 DisarmSignal
|
||||
413 | 1 ASSD.DRIVER.S 310 | Data | 00 | 2 | 2 | 00/017E : 80 01 | da CNada ; 9 SetPartitionMap
|
||||
414 | 1 ASSD.DRIVER.S 311 | Empty | 00 | | 0 | 00/0180 |
|
||||
415 | 1 ASSD.DRIVER.S 312 | Code | 00 | | 1 | 00/0180 : 60 | CNada rts
|
||||
416 | 1 ASSD.DRIVER.S 313 | Empty | 00 | | 0 | 00/0181 |
|
||||
417 | 1 ASSD.DRIVER.S 314 | Comment | 00 | | 0 | 00/0181 | *----------- SetConfigParameters / SetWaitStatus
|
||||
418 | 1 ASSD.DRIVER.S 315 | Empty | 00 | | 0 | 00/0181 |
|
||||
419 | 1 ASSD.DRIVER.S 316 | Code | 00 | | 2 | 00/0181 : A7 04 | CSet lda [{$04}] ; SetConfigParameters
|
||||
420 | 1 ASSD.DRIVER.S 317 | Code | 00 | | 2 | 00/0183 : D0 01 | bne CSetERR ; SetWaitStatus
|
||||
421 | 1 ASSD.DRIVER.S 318 | Code | 00 | | 1 | 00/0185 : 60 | rts
|
||||
422 | 1 ASSD.DRIVER.S 319 | Code | 00 | | 3 | 00/0186 : A9 22 00 | CSetERR lda #$0022
|
||||
423 | 1 ASSD.DRIVER.S 320 | Code | 00 | 2 | 3 | 00/0189 : 8D E1 01 | sta errCODE
|
||||
424 | 1 ASSD.DRIVER.S 321 | Code | 00 | | 1 | 00/018C : 60 | rts
|
||||
425 | 1 ASSD.DRIVER.S 322 | Empty | 00 | | 0 | 00/018D |
|
||||
426 | 1 ASSD.DRIVER.S 323 | Comment | 00 | | 0 | 00/018D | *----------------------------
|
||||
427 | 1 ASSD.DRIVER.S 324 | Empty | 00 | | 0 | 00/018D |
|
||||
428 | 1 ASSD.DRIVER.S 325 | Comment | 00 | | 0 | 00/018D | * Status flag of the current device
|
||||
429 | 1 ASSD.DRIVER.S 326 | Comment | 00 | | 0 | 00/018D | * $0001: image has been switched (disk switched)
|
||||
430 | 1 ASSD.DRIVER.S 327 | Comment | 00 | | 0 | 00/018D | * $0010: image is active (disk in drive)
|
||||
431 | 1 ASSD.DRIVER.S 328 | Comment | 00 | | 0 | 00/018D | * $0100: image has been modified
|
||||
432 | 1 ASSD.DRIVER.S 329 | Empty | 00 | | 0 | 00/018D |
|
||||
433 | 1 ASSD.DRIVER.S 330 | Comment | 00 | | 0 | 00/018D | *
|
||||
434 | 1 ASSD.DRIVER.S 331 | Comment | 00 | | 0 | 00/018D | * Checks everything is OK
|
||||
435 | 1 ASSD.DRIVER.S 332 | Comment | 00 | | 0 | 00/018D | *
|
||||
436 | 1 ASSD.DRIVER.S 333 | Empty | 00 | | 0 | 00/018D |
|
||||
437 | 1 ASSD.DRIVER.S 334 | Code | 00 | 2 | 3 | 00/018D : 20 C6 01 | doSETUP jsr checkSWITCHED
|
||||
438 | 1 ASSD.DRIVER.S 335 | Code | 00 | | 2 | 00/0190 : 90 01 | bcc ds2
|
||||
439 | 1 ASSD.DRIVER.S 336 | Code | 00 | | 1 | 00/0192 : 60 | rts
|
||||
440 | 1 ASSD.DRIVER.S 337 | Empty | 00 | | 0 | 00/0193 |
|
||||
441 | 1 ASSD.DRIVER.S 338 | Code | 00 | | 2 | 00/0193 : A5 08 | ds2 lda {$08} ; nb of bytes to read
|
||||
442 | 1 ASSD.DRIVER.S 339 | Code | 00 | | 2 | 00/0195 : 05 0A | ora {$08}+2
|
||||
443 | 1 ASSD.DRIVER.S 340 | Code | 00 | | 2 | 00/0197 : D0 08 | bne ds4
|
||||
444 | 1 ASSD.DRIVER.S 341 | Empty | 00 | | 0 | 00/0199 |
|
||||
445 | 1 ASSD.DRIVER.S 342 | Code | 00 | | 3 | 00/0199 : A9 2C 00 | lda #$002C ; invalidByteCount
|
||||
446 | 1 ASSD.DRIVER.S 343 | Code | 00 | 2 | 3 | 00/019C : 8D E1 01 | sta errCODE
|
||||
447 | 1 ASSD.DRIVER.S 344 | Code | 00 | | 1 | 00/019F : 38 | sec
|
||||
448 | 1 ASSD.DRIVER.S 345 | Code | 00 | | 1 | 00/01A0 : 60 | rts
|
||||
449 | 1 ASSD.DRIVER.S 346 | Empty | 00 | | 0 | 00/01A1 |
|
||||
450 | 1 ASSD.DRIVER.S 347 | Comment | 00 | | 0 | 00/01A1 | * $0102_0400 =
|
||||
451 | 1 ASSD.DRIVER.S 348 | Empty | 00 | | 0 | 00/01A1 |
|
||||
452 | 1 ASSD.DRIVER.S 349 | Comment | 00 | | 0 | 00/01A1 | *--- requestcount : $0200 => 1
|
||||
453 | 1 ASSD.DRIVER.S 350 | Comment | 00 | | 0 | 00/01A1 | *--- From a Block to a RAM address
|
||||
454 | 1 ASSD.DRIVER.S 351 | Empty | 00 | | 0 | 00/01A1 |
|
||||
455 | 1 ASSD.DRIVER.S 352 | Code | 00 | | 2 | 00/01A1 : A5 0B | ds4 lda {$08}+3 ; number of pages
|
||||
456 | 1 ASSD.DRIVER.S 353 | Code | 00 | | 3 | 00/01A3 : 29 FF 00 | and #$00ff ; to calculate
|
||||
457 | 1 ASSD.DRIVER.S 354 | Code | 00 | | 1 | 00/01A6 : 4A | lsr
|
||||
458 | 1 ASSD.DRIVER.S 355 | Code | 00 | | 2 | 00/01A7 : A5 09 | lda {$08}+1 ; $01020400 => $010204 => $8102
|
||||
459 | 1 ASSD.DRIVER.S 356 | Code | 00 | | 1 | 00/01A9 : 6A | ror
|
||||
460 | 1 ASSD.DRIVER.S 357 | Code | 00 | 2 | 3 | 00/01AA : 8D E7 01 | sta nbPAGES ; to calculate
|
||||
461 | 1 ASSD.DRIVER.S 358 | Empty | 00 | | 0 | 00/01AD |
|
||||
462 | 1 ASSD.DRIVER.S 359 | Code | 00 | | 2 | 00/01AD : A5 08 | lda {$08} ; multiple of $0200
|
||||
463 | 1 ASSD.DRIVER.S 360 | Code | 00 | | 3 | 00/01AF : 29 FF 01 | and #{512}-1
|
||||
464 | 1 ASSD.DRIVER.S 361 | Code | 00 | | 2 | 00/01B2 : F0 08 | beq ds6
|
||||
465 | 1 ASSD.DRIVER.S 362 | Empty | 00 | | 0 | 00/01B4 |
|
||||
466 | 1 ASSD.DRIVER.S 363 | Code | 00 | | 3 | 00/01B4 : A9 2D 00 | lda #$002D ; bad block count
|
||||
467 | 1 ASSD.DRIVER.S 364 | Code | 00 | 2 | 3 | 00/01B7 : 8D E1 01 | sta errCODE
|
||||
468 | 1 ASSD.DRIVER.S 365 | Code | 00 | | 1 | 00/01BA : 38 | sec
|
||||
469 | 1 ASSD.DRIVER.S 366 | Code | 00 | | 1 | 00/01BB : 60 | rts
|
||||
470 | 1 ASSD.DRIVER.S 367 | Empty | 00 | | 0 | 00/01BC |
|
||||
471 | 1 ASSD.DRIVER.S 368 | Comment | 00 | | 0 | 00/01BC | *--- Generic transfer now
|
||||
472 | 1 ASSD.DRIVER.S 369 | Empty | 00 | | 0 | 00/01BC |
|
||||
473 | 1 ASSD.DRIVER.S 370 | Code | 00 | | 2 | 00/01BC : A5 08 | ds6 lda {$08} ; assume transfer=request
|
||||
474 | 1 ASSD.DRIVER.S 371 | Code | 00 | | 2 | 00/01BE : 85 0C | sta {$0C}
|
||||
475 | 1 ASSD.DRIVER.S 372 | Code | 00 | | 2 | 00/01C0 : A5 0A | lda {$08}+2
|
||||
476 | 1 ASSD.DRIVER.S 373 | Code | 00 | | 2 | 00/01C2 : 85 0E | sta {$0C}+2
|
||||
477 | 1 ASSD.DRIVER.S 374 | Empty | 00 | | 0 | 00/01C4 |
|
||||
478 | 1 ASSD.DRIVER.S 375 | Code | 00 | | 1 | 00/01C4 : 18 | clc
|
||||
479 | 1 ASSD.DRIVER.S 376 | Code | 00 | | 1 | 00/01C5 : 60 | rts
|
||||
480 | 1 ASSD.DRIVER.S 377 | Empty | 00 | | 0 | 00/01C6 |
|
||||
481 | 1 ASSD.DRIVER.S 378 | Comment | 00 | | 0 | 00/01C6 | *----------------------------
|
||||
482 | 1 ASSD.DRIVER.S 379 | Empty | 00 | | 0 | 00/01C6 |
|
||||
483 | 1 ASSD.DRIVER.S 380 | Empty | 00 | | 0 | 00/01C6 | checkSWITCHED
|
||||
484 | 1 ASSD.DRIVER.S 381 | Code | 00 | 2 | 3 | 00/01C6 : AD DF 01 | lda fgSTARTED
|
||||
485 | 1 ASSD.DRIVER.S 382 | Code | 00 | | 2 | 00/01C9 : D0 12 | bne cs1
|
||||
486 | 1 ASSD.DRIVER.S 383 | Empty | 00 | | 0 | 00/01CB |
|
||||
487 | 1 ASSD.DRIVER.S 384 | Code | 00 | | 4 | 00/01CB : 22 90 FC 01 | jsl {$01FC90}
|
||||
488 | 1 ASSD.DRIVER.S 385 | Empty | 00 | | 0 | 00/01CF |
|
||||
489 | 1 ASSD.DRIVER.S 386 | Code | 00 | | 3 | 00/01CF : A9 01 00 | lda #1
|
||||
490 | 1 ASSD.DRIVER.S 387 | Code | 00 | 2 | 3 | 00/01D2 : 8D DF 01 | sta fgSTARTED
|
||||
491 | 1 ASSD.DRIVER.S 388 | Code | 00 | | 3 | 00/01D5 : A9 2E 00 | lda #$002e
|
||||
492 | 1 ASSD.DRIVER.S 389 | Code | 00 | 2 | 3 | 00/01D8 : 8D E1 01 | sta errCODE
|
||||
493 | 1 ASSD.DRIVER.S 390 | Code | 00 | | 1 | 00/01DB : 38 | sec
|
||||
494 | 1 ASSD.DRIVER.S 391 | Code | 00 | | 1 | 00/01DC : 60 | rts
|
||||
495 | 1 ASSD.DRIVER.S 392 | Empty | 00 | | 0 | 00/01DD |
|
||||
496 | 1 ASSD.DRIVER.S 393 | Code | 00 | | 1 | 00/01DD : 18 | cs1 clc
|
||||
497 | 1 ASSD.DRIVER.S 394 | Code | 00 | | 1 | 00/01DE : 60 | rts
|
||||
498 | 1 ASSD.DRIVER.S 395 | Empty | 00 | | 0 | 00/01DF |
|
||||
499 | 1 ASSD.DRIVER.S 396 | Comment | 00 | | 0 | 00/01DF | *----------------------------
|
||||
500 | 1 ASSD.DRIVER.S 397 | Empty | 00 | | 0 | 00/01DF |
|
||||
501 | 1 ASSD.DRIVER.S 398 | Data | 00 | | 2 | 00/01DF : 00 00 | fgSTARTED ds 2 ; 0: not started, 1: started
|
||||
502 | 1 ASSD.DRIVER.S 399 | Data | 00 | | 2 | 00/01E1 : 00 00 | errCODE ds 2
|
||||
503 | 1 ASSD.DRIVER.S 400 | Data | 00 | | 4 | 00/01E3 : 00 00 00 00 | thePAGE ds 4 ; page to read/write: $hh/ll00
|
||||
504 | 1 ASSD.DRIVER.S 401 | Data | 00 | | 2 | 00/01E7 : 00 00 | nbPAGES ds 2 ; number of blockSIZEP pages to copy
|
||||
505 | 1 ASSD.DRIVER.S 402 | Empty | 00 | | 0 | 00/01E9 |
|
||||
506 | 1 ASSD.DRIVER.S 403 | Data | 00 | | 4 | 00/01E9 : 00 00 00 00 | MyDIB ds 4 ; +00 pointer to the next DIB
|
||||
507 | 1 ASSD.DRIVER.S 404 | Data | 00 | 3 | 4 | 00/01ED : 06 00 00 00 | adrl entryPOINT ; +04 driver entry point
|
||||
508 | 1 ASSD.DRIVER.S 405 | Data | 00 | | 2 | 00/01F1 : EC 03 | dw {$03EC} ; +08 characteristics
|
||||
509 | 1 ASSD.DRIVER.S 406 | Data | 00 | | 4 | 00/01F3 : 00 00 00 00 | ds 4 ; +0A block count
|
||||
510 | 1 ASSD.DRIVER.S 407 | Data | 00 | | 11 | 00/01F7 : 0A 41 53 53 | str 'ASSDDevice' ; +0E device name
|
||||
| | | | | | 44 44 65 76 |
|
||||
| | | | | | 69 63 65 |
|
||||
510 | 1 ASSD.DRIVER.S 407 | Data | 00 | | 21 | 00/0202 : 00 00 00 00 | ds 21 ; 32 - 11 = 21
|
||||
511 | 1 ASSD.DRIVER.S 408 | Data | 00 | | 21 | 00/0202 : 00 00 00 00 | ds 21 ; 32 - 11 = 21
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 |
|
||||
511 | 1 ASSD.DRIVER.S 408 | Data | 00 | | 2 | 00/0217 : 00 80 | dw {$8000} ; +2E slot number
|
||||
512 | 1 ASSD.DRIVER.S 409 | Data | 00 | | 2 | 00/0219 : 00 00 | dw $0000 ; +30 unit number
|
||||
513 | 1 ASSD.DRIVER.S 410 | Data | 00 | | 2 | 00/021B : 00 10 | dw {$1000} ; +32 version
|
||||
514 | 1 ASSD.DRIVER.S 411 | Data | 00 | | 2 | 00/021D : 13 00 | dw {$0013} ; +34 device ID
|
||||
515 | 1 ASSD.DRIVER.S 412 | Data | 00 | | 2 | 00/021F : 00 00 | dw $0000 ; +36 first linked device
|
||||
516 | 1 ASSD.DRIVER.S 413 | Data | 00 | | 2 | 00/0221 : 00 00 | dw $0000 ; +38 next linked device
|
||||
517 | 1 ASSD.DRIVER.S 414 | Data | 00 | | 4 | 00/0223 : 00 00 00 00 | adrl $00000000 ; +3A extended DIB ptr
|
||||
518 | 1 ASSD.DRIVER.S 415 | Data | 00 | | 2 | 00/0227 : 00 00 | dw $0000 ; +3E device number
|
||||
519 | 1 ASSD.DRIVER.S 416 | Empty | 00 | | 0 | 00/0229 |
|
||||
512 | 1 ASSD.DRIVER.S 409 | Data | 00 | | 2 | 00/0217 : 00 80 | dw {$8000} ; +2E slot number
|
||||
513 | 1 ASSD.DRIVER.S 410 | Data | 00 | | 2 | 00/0219 : 01 00 | dw {$0001} ; +30 unit number
|
||||
514 | 1 ASSD.DRIVER.S 411 | Data | 00 | | 2 | 00/021B : 00 10 | dw {$1000} ; +32 version
|
||||
515 | 1 ASSD.DRIVER.S 412 | Data | 00 | | 2 | 00/021D : 13 00 | dw {$0013} ; +34 device ID
|
||||
516 | 1 ASSD.DRIVER.S 413 | Data | 00 | | 2 | 00/021F : 00 00 | dw $0000 ; +36 first linked device
|
||||
517 | 1 ASSD.DRIVER.S 414 | Data | 00 | | 2 | 00/0221 : 00 00 | dw $0000 ; +38 next linked device
|
||||
518 | 1 ASSD.DRIVER.S 415 | Data | 00 | | 4 | 00/0223 : 00 00 00 00 | adrl $00000000 ; +3A extended DIB ptr
|
||||
519 | 1 ASSD.DRIVER.S 416 | Data | 00 | | 2 | 00/0227 : 00 00 | dw $0000 ; +3E device number
|
||||
520 | 1 ASSD.DRIVER.S 417 | Empty | 00 | | 0 | 00/0229 |
|
||||
------+-------------------------+-------------+----+---------+------+-----------------------+-------------------------------------------------------------------
|
||||
|
Binary file not shown.
Binary file not shown.
@ -244,7 +244,6 @@ found lda proDINFO+8 ; block device?
|
||||
dw $202f
|
||||
adrl proDREAD
|
||||
jsr showERRCODE
|
||||
|
||||
jsr printBUFFER ; output two lines of buffer
|
||||
|
||||
lda errCODE ; only write if read is OK
|
||||
@ -456,6 +455,6 @@ haBUFFER ds 4
|
||||
|
||||
*----------
|
||||
|
||||
myBUFFER ds 512
|
||||
myBUFFER ds 512,$bd
|
||||
myLIST ds 512
|
||||
|
||||
|
@ -361,437 +361,436 @@
|
||||
562 | 1 debug.s 244 | Data | 00 | | 2 | 00/0233 : 2F 20 | dw $202f
|
||||
563 | 1 debug.s 245 | Data | 00 | 3 | 4 | 00/0235 : 01 04 00 00 | adrl proDREAD
|
||||
564 | 1 debug.s 246 | Code | 00 | 2 | 3 | 00/0239 : 20 5F 02 | jsr showERRCODE
|
||||
565 | 1 debug.s 247 | Empty | 00 | | 0 | 00/023C |
|
||||
566 | 1 debug.s 248 | Code | 00 | 2 | 3 | 00/023C : 20 80 02 | jsr printBUFFER ; output two lines of buffer
|
||||
567 | 1 debug.s 249 | Empty | 00 | | 0 | 00/023F |
|
||||
568 | 1 debug.s 250 | Code | 00 | 2 | 3 | 00/023F : AD E1 03 | lda errCODE ; only write if read is OK
|
||||
569 | 1 debug.s 251 | Code | 00 | | 2 | 00/0242 : F0 01 | beq okWRITE
|
||||
570 | 1 debug.s 252 | Code | 00 | | 1 | 00/0244 : 60 | rts
|
||||
571 | 1 debug.s 253 | Empty | 00 | | 0 | 00/0245 |
|
||||
572 | 1 debug.s 254 | Comment | 00 | | 0 | 00/0245 | *--- Perform a DWrite
|
||||
573 | 1 debug.s 255 | Empty | 00 | | 0 | 00/0245 |
|
||||
574 | 1 debug.s 256 | Macro | 00 | | 0 | 00/0245 | okWRITE PushLong #strDWRITE ; show the string
|
||||
578 | 1 debug.s 256 | Code | 00 | 1 >>16 | 3 | 00/0245 : F4 00 00 | PEA #^#strDWRITE
|
||||
585 | 1 debug.s 256 | Code | 00 | 2 | 3 | 00/0248 : F4 24 03 | PEA #strDWRITE
|
||||
588 | 1 debug.s 257 | Macro | 00 | | 0 | 00/024B | _WriteCString
|
||||
590 | 1 debug.s 257 | Code | 00 | | 3 | 00/024B : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
591 | 1 debug.s 257 | Code | 00 | | 4 | 00/024E : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
592 | 1 debug.s 258 | Empty | 00 | | 0 | 00/0252 |
|
||||
593 | 1 debug.s 259 | Code | 00 | | 4 | 00/0252 : 22 A8 00 E1 | jsl {$e100a8}
|
||||
594 | 1 debug.s 260 | Data | 00 | | 2 | 00/0256 : 30 20 | dw $2030
|
||||
595 | 1 debug.s 261 | Data | 00 | 3 | 4 | 00/0258 : 17 04 00 00 | adrl proDWRITE
|
||||
596 | 1 debug.s 262 | Code | 00 | 2 | 3 | 00/025C : 4C 5F 02 | jmp showERRCODE
|
||||
597 | 1 debug.s 263 | Empty | 00 | | 0 | 00/025F |
|
||||
598 | 1 debug.s 264 | Comment | 00 | | 0 | 00/025F | *--- Code end
|
||||
599 | 1 debug.s 265 | Empty | 00 | | 0 | 00/025F |
|
||||
600 | 1 debug.s 266 | Empty | 00 | | 0 | 00/025F | showERRCODE
|
||||
601 | 1 debug.s 267 | Code | 00 | 2 | 3 | 00/025F : 8D E1 03 | sta errCODE ; save it
|
||||
602 | 1 debug.s 268 | Empty | 00 | | 0 | 00/0262 |
|
||||
603 | 1 debug.s 269 | Macro | 00 | | 0 | 00/0262 | PushLong #strERR ; show the string
|
||||
607 | 1 debug.s 269 | Code | 00 | 1 >>16 | 3 | 00/0262 : F4 00 00 | PEA #^#strERR
|
||||
614 | 1 debug.s 269 | Code | 00 | 2 | 3 | 00/0265 : F4 62 03 | PEA #strERR
|
||||
617 | 1 debug.s 270 | Macro | 00 | | 0 | 00/0268 | _WriteCString
|
||||
619 | 1 debug.s 270 | Code | 00 | | 3 | 00/0268 : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
620 | 1 debug.s 270 | Code | 00 | | 4 | 00/026B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
621 | 1 debug.s 271 | Empty | 00 | | 0 | 00/026F |
|
||||
622 | 1 debug.s 272 | Code | 00 | 2 | 3 | 00/026F : AD E1 03 | lda errCODE ; show the error code
|
||||
623 | 1 debug.s 273 | Code | 00 | 2 | 3 | 00/0272 : 20 B5 03 | jsr showHEX
|
||||
624 | 1 debug.s 274 | Empty | 00 | | 0 | 00/0275 |
|
||||
625 | 1 debug.s 275 | Macro | 00 | | 0 | 00/0275 | PushWord #$0d
|
||||
627 | 1 debug.s 275 | Code | 00 | | 3 | 00/0275 : F4 0D 00 | PEA #$0d
|
||||
630 | 1 debug.s 276 | Macro | 00 | | 0 | 00/0278 | _WriteChar
|
||||
632 | 1 debug.s 276 | Code | 00 | | 3 | 00/0278 : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
633 | 1 debug.s 276 | Code | 00 | | 4 | 00/027B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
634 | 1 debug.s 277 | Code | 00 | | 1 | 00/027F : 60 | rts
|
||||
635 | 1 debug.s 278 | Empty | 00 | | 0 | 00/0280 |
|
||||
636 | 1 debug.s 279 | Comment | 00 | | 0 | 00/0280 | *--- Print a line of buffer
|
||||
637 | 1 debug.s 280 | Empty | 00 | | 0 | 00/0280 |
|
||||
638 | 1 debug.s 281 | Macro | 00 | | 0 | 00/0280 | printBUFFER PushWord #$20
|
||||
640 | 1 debug.s 281 | Code | 00 | | 3 | 00/0280 : F4 20 00 | PEA #$20
|
||||
643 | 1 debug.s 282 | Macro | 00 | | 0 | 00/0283 | _WriteChar
|
||||
645 | 1 debug.s 282 | Code | 00 | | 3 | 00/0283 : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
646 | 1 debug.s 282 | Code | 00 | | 4 | 00/0286 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
647 | 1 debug.s 283 | Empty | 00 | | 0 | 00/028A |
|
||||
648 | 1 debug.s 284 | Code | 00 | 2 | 3 | 00/028A : AD 8D 04 | lda myBUFFER
|
||||
649 | 1 debug.s 285 | Code | 00 | 2 | 3 | 00/028D : 20 FB 02 | jsr printME
|
||||
650 | 1 debug.s 286 | Code | 00 | 2 | 3 | 00/0290 : AD 8F 04 | lda myBUFFER+2
|
||||
651 | 1 debug.s 287 | Code | 00 | 2 | 3 | 00/0293 : 20 FB 02 | jsr printME
|
||||
652 | 1 debug.s 288 | Code | 00 | 2 | 3 | 00/0296 : AD 91 04 | lda myBUFFER+4
|
||||
653 | 1 debug.s 289 | Code | 00 | 2 | 3 | 00/0299 : 20 FB 02 | jsr printME
|
||||
654 | 1 debug.s 290 | Code | 00 | 2 | 3 | 00/029C : AD 93 04 | lda myBUFFER+6
|
||||
655 | 1 debug.s 291 | Code | 00 | 2 | 3 | 00/029F : 20 FB 02 | jsr printME
|
||||
656 | 1 debug.s 292 | Code | 00 | 2 | 3 | 00/02A2 : AD 95 04 | lda myBUFFER+8
|
||||
657 | 1 debug.s 293 | Code | 00 | 2 | 3 | 00/02A5 : 20 FB 02 | jsr printME
|
||||
658 | 1 debug.s 294 | Code | 00 | 2 | 3 | 00/02A8 : AD 97 04 | lda myBUFFER+10
|
||||
659 | 1 debug.s 295 | Code | 00 | 2 | 3 | 00/02AB : 20 FB 02 | jsr printME
|
||||
660 | 1 debug.s 296 | Code | 00 | 2 | 3 | 00/02AE : AD 99 04 | lda myBUFFER+12
|
||||
661 | 1 debug.s 297 | Code | 00 | 2 | 3 | 00/02B1 : 20 FB 02 | jsr printME
|
||||
662 | 1 debug.s 298 | Code | 00 | 2 | 3 | 00/02B4 : AD 9B 04 | lda myBUFFER+14
|
||||
663 | 1 debug.s 299 | Code | 00 | 2 | 3 | 00/02B7 : 20 FB 02 | jsr printME
|
||||
664 | 1 debug.s 300 | Empty | 00 | | 0 | 00/02BA |
|
||||
665 | 1 debug.s 301 | Macro | 00 | | 0 | 00/02BA | PushWord #$0d
|
||||
667 | 1 debug.s 301 | Code | 00 | | 3 | 00/02BA : F4 0D 00 | PEA #$0d
|
||||
670 | 1 debug.s 302 | Macro | 00 | | 0 | 00/02BD | _WriteChar
|
||||
672 | 1 debug.s 302 | Code | 00 | | 3 | 00/02BD : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
673 | 1 debug.s 302 | Code | 00 | | 4 | 00/02C0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
674 | 1 debug.s 303 | Empty | 00 | | 0 | 00/02C4 |
|
||||
675 | 1 debug.s 304 | Macro | 00 | | 0 | 00/02C4 | PushWord #$20
|
||||
677 | 1 debug.s 304 | Code | 00 | | 3 | 00/02C4 : F4 20 00 | PEA #$20
|
||||
680 | 1 debug.s 305 | Macro | 00 | | 0 | 00/02C7 | _WriteChar
|
||||
682 | 1 debug.s 305 | Code | 00 | | 3 | 00/02C7 : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
683 | 1 debug.s 305 | Code | 00 | | 4 | 00/02CA : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
684 | 1 debug.s 306 | Empty | 00 | | 0 | 00/02CE |
|
||||
685 | 1 debug.s 307 | Code | 00 | 2 | 3 | 00/02CE : AD 9D 04 | lda myBUFFER+16
|
||||
686 | 1 debug.s 308 | Code | 00 | 2 | 3 | 00/02D1 : 20 FB 02 | jsr printME
|
||||
687 | 1 debug.s 309 | Code | 00 | 2 | 3 | 00/02D4 : AD 9F 04 | lda myBUFFER+18
|
||||
688 | 1 debug.s 310 | Code | 00 | 2 | 3 | 00/02D7 : 20 FB 02 | jsr printME
|
||||
689 | 1 debug.s 311 | Code | 00 | 2 | 3 | 00/02DA : AD A1 04 | lda myBUFFER+20
|
||||
690 | 1 debug.s 312 | Code | 00 | 2 | 3 | 00/02DD : 20 FB 02 | jsr printME
|
||||
691 | 1 debug.s 313 | Code | 00 | 2 | 3 | 00/02E0 : AD A3 04 | lda myBUFFER+22
|
||||
692 | 1 debug.s 314 | Code | 00 | 2 | 3 | 00/02E3 : 20 FB 02 | jsr printME
|
||||
693 | 1 debug.s 315 | Code | 00 | 2 | 3 | 00/02E6 : AD A5 04 | lda myBUFFER+24
|
||||
694 | 1 debug.s 316 | Code | 00 | 2 | 3 | 00/02E9 : 20 FB 02 | jsr printME
|
||||
695 | 1 debug.s 317 | Code | 00 | 2 | 3 | 00/02EC : AD A7 04 | lda myBUFFER+26
|
||||
696 | 1 debug.s 318 | Code | 00 | 2 | 3 | 00/02EF : 20 FB 02 | jsr printME
|
||||
697 | 1 debug.s 319 | Code | 00 | 2 | 3 | 00/02F2 : AD A9 04 | lda myBUFFER+28
|
||||
698 | 1 debug.s 320 | Code | 00 | 2 | 3 | 00/02F5 : 20 FB 02 | jsr printME
|
||||
699 | 1 debug.s 321 | Code | 00 | 2 | 3 | 00/02F8 : AD AB 04 | lda myBUFFER+30 ; ends into the code below...
|
||||
700 | 1 debug.s 322 | Empty | 00 | | 0 | 00/02FB |
|
||||
701 | 1 debug.s 323 | Code | 00 | | 1 | 00/02FB : 48 | printME pha ; from a word to a string
|
||||
702 | 1 debug.s 324 | Code | 00 | | 1 | 00/02FC : 48 | pha
|
||||
703 | 1 debug.s 325 | Code | 00 | | 1 | 00/02FD : 48 | pha ; <= here, really
|
||||
704 | 1 debug.s 326 | Macro | 00 | | 0 | 00/02FE | _HexIt
|
||||
706 | 1 debug.s 326 | Code | 00 | | 3 | 00/02FE : A2 0B 2A | LDX #$2A0B ; load tool call #
|
||||
707 | 1 debug.s 326 | Code | 00 | | 4 | 00/0301 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
708 | 1 debug.s 327 | Macro | 00 | | 0 | 00/0305 | PullLong strBUFFER
|
||||
711 | 1 debug.s 327 | Code | 00 | | 1 | 00/0305 : 68 | PLA
|
||||
713 | 1 debug.s 327 | Code | 00 | 2 | 3 | 00/0306 : 8D DB 03 | STA strBUFFER
|
||||
718 | 1 debug.s 327 | Code | 00 | | 1 | 00/0309 : 68 | PLA
|
||||
720 | 1 debug.s 327 | Code | 00 | 2 | 3 | 00/030A : 8D DD 03 | STA strBUFFER+2
|
||||
726 | 1 debug.s 328 | Empty | 00 | | 0 | 00/030D |
|
||||
727 | 1 debug.s 329 | Macro | 00 | | 0 | 00/030D | PushLong #strBUFFER ; show the string
|
||||
731 | 1 debug.s 329 | Code | 00 | 1 >>16 | 3 | 00/030D : F4 00 00 | PEA #^#strBUFFER
|
||||
738 | 1 debug.s 329 | Code | 00 | 2 | 3 | 00/0310 : F4 DB 03 | PEA #strBUFFER
|
||||
741 | 1 debug.s 330 | Macro | 00 | | 0 | 00/0313 | _WriteCString
|
||||
743 | 1 debug.s 330 | Code | 00 | | 3 | 00/0313 : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
744 | 1 debug.s 330 | Code | 00 | | 4 | 00/0316 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
745 | 1 debug.s 331 | Code | 00 | | 1 | 00/031A : 60 | rts
|
||||
746 | 1 debug.s 332 | Empty | 00 | | 0 | 00/031B |
|
||||
747 | 1 debug.s 333 | Comment | 00 | | 0 | 00/031B | *---------- Data
|
||||
748 | 1 debug.s 334 | Empty | 00 | | 0 | 00/031B |
|
||||
749 | 1 debug.s 335 | Data | 00 | | 9 | 00/031B : 0D 0D 44 52 | strDREAD asc 0d0d'DRead '00
|
||||
565 | 1 debug.s 247 | Code | 00 | 2 | 3 | 00/023C : 20 80 02 | jsr printBUFFER ; output two lines of buffer
|
||||
566 | 1 debug.s 248 | Empty | 00 | | 0 | 00/023F |
|
||||
567 | 1 debug.s 249 | Code | 00 | 2 | 3 | 00/023F : AD E1 03 | lda errCODE ; only write if read is OK
|
||||
568 | 1 debug.s 250 | Code | 00 | | 2 | 00/0242 : F0 01 | beq okWRITE
|
||||
569 | 1 debug.s 251 | Code | 00 | | 1 | 00/0244 : 60 | rts
|
||||
570 | 1 debug.s 252 | Empty | 00 | | 0 | 00/0245 |
|
||||
571 | 1 debug.s 253 | Comment | 00 | | 0 | 00/0245 | *--- Perform a DWrite
|
||||
572 | 1 debug.s 254 | Empty | 00 | | 0 | 00/0245 |
|
||||
573 | 1 debug.s 255 | Macro | 00 | | 0 | 00/0245 | okWRITE PushLong #strDWRITE ; show the string
|
||||
577 | 1 debug.s 255 | Code | 00 | 1 >>16 | 3 | 00/0245 : F4 00 00 | PEA #^#strDWRITE
|
||||
584 | 1 debug.s 255 | Code | 00 | 2 | 3 | 00/0248 : F4 24 03 | PEA #strDWRITE
|
||||
587 | 1 debug.s 256 | Macro | 00 | | 0 | 00/024B | _WriteCString
|
||||
589 | 1 debug.s 256 | Code | 00 | | 3 | 00/024B : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
590 | 1 debug.s 256 | Code | 00 | | 4 | 00/024E : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
591 | 1 debug.s 257 | Empty | 00 | | 0 | 00/0252 |
|
||||
592 | 1 debug.s 258 | Code | 00 | | 4 | 00/0252 : 22 A8 00 E1 | jsl {$e100a8}
|
||||
593 | 1 debug.s 259 | Data | 00 | | 2 | 00/0256 : 30 20 | dw $2030
|
||||
594 | 1 debug.s 260 | Data | 00 | 3 | 4 | 00/0258 : 17 04 00 00 | adrl proDWRITE
|
||||
595 | 1 debug.s 261 | Code | 00 | 2 | 3 | 00/025C : 4C 5F 02 | jmp showERRCODE
|
||||
596 | 1 debug.s 262 | Empty | 00 | | 0 | 00/025F |
|
||||
597 | 1 debug.s 263 | Comment | 00 | | 0 | 00/025F | *--- Code end
|
||||
598 | 1 debug.s 264 | Empty | 00 | | 0 | 00/025F |
|
||||
599 | 1 debug.s 265 | Empty | 00 | | 0 | 00/025F | showERRCODE
|
||||
600 | 1 debug.s 266 | Code | 00 | 2 | 3 | 00/025F : 8D E1 03 | sta errCODE ; save it
|
||||
601 | 1 debug.s 267 | Empty | 00 | | 0 | 00/0262 |
|
||||
602 | 1 debug.s 268 | Macro | 00 | | 0 | 00/0262 | PushLong #strERR ; show the string
|
||||
606 | 1 debug.s 268 | Code | 00 | 1 >>16 | 3 | 00/0262 : F4 00 00 | PEA #^#strERR
|
||||
613 | 1 debug.s 268 | Code | 00 | 2 | 3 | 00/0265 : F4 62 03 | PEA #strERR
|
||||
616 | 1 debug.s 269 | Macro | 00 | | 0 | 00/0268 | _WriteCString
|
||||
618 | 1 debug.s 269 | Code | 00 | | 3 | 00/0268 : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
619 | 1 debug.s 269 | Code | 00 | | 4 | 00/026B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
620 | 1 debug.s 270 | Empty | 00 | | 0 | 00/026F |
|
||||
621 | 1 debug.s 271 | Code | 00 | 2 | 3 | 00/026F : AD E1 03 | lda errCODE ; show the error code
|
||||
622 | 1 debug.s 272 | Code | 00 | 2 | 3 | 00/0272 : 20 B5 03 | jsr showHEX
|
||||
623 | 1 debug.s 273 | Empty | 00 | | 0 | 00/0275 |
|
||||
624 | 1 debug.s 274 | Macro | 00 | | 0 | 00/0275 | PushWord #$0d
|
||||
626 | 1 debug.s 274 | Code | 00 | | 3 | 00/0275 : F4 0D 00 | PEA #$0d
|
||||
629 | 1 debug.s 275 | Macro | 00 | | 0 | 00/0278 | _WriteChar
|
||||
631 | 1 debug.s 275 | Code | 00 | | 3 | 00/0278 : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
632 | 1 debug.s 275 | Code | 00 | | 4 | 00/027B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
633 | 1 debug.s 276 | Code | 00 | | 1 | 00/027F : 60 | rts
|
||||
634 | 1 debug.s 277 | Empty | 00 | | 0 | 00/0280 |
|
||||
635 | 1 debug.s 278 | Comment | 00 | | 0 | 00/0280 | *--- Print a line of buffer
|
||||
636 | 1 debug.s 279 | Empty | 00 | | 0 | 00/0280 |
|
||||
637 | 1 debug.s 280 | Macro | 00 | | 0 | 00/0280 | printBUFFER PushWord #$20
|
||||
639 | 1 debug.s 280 | Code | 00 | | 3 | 00/0280 : F4 20 00 | PEA #$20
|
||||
642 | 1 debug.s 281 | Macro | 00 | | 0 | 00/0283 | _WriteChar
|
||||
644 | 1 debug.s 281 | Code | 00 | | 3 | 00/0283 : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
645 | 1 debug.s 281 | Code | 00 | | 4 | 00/0286 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
646 | 1 debug.s 282 | Empty | 00 | | 0 | 00/028A |
|
||||
647 | 1 debug.s 283 | Code | 00 | 2 | 3 | 00/028A : AD 8D 04 | lda myBUFFER
|
||||
648 | 1 debug.s 284 | Code | 00 | 2 | 3 | 00/028D : 20 FB 02 | jsr printME
|
||||
649 | 1 debug.s 285 | Code | 00 | 2 | 3 | 00/0290 : AD 8F 04 | lda myBUFFER+2
|
||||
650 | 1 debug.s 286 | Code | 00 | 2 | 3 | 00/0293 : 20 FB 02 | jsr printME
|
||||
651 | 1 debug.s 287 | Code | 00 | 2 | 3 | 00/0296 : AD 91 04 | lda myBUFFER+4
|
||||
652 | 1 debug.s 288 | Code | 00 | 2 | 3 | 00/0299 : 20 FB 02 | jsr printME
|
||||
653 | 1 debug.s 289 | Code | 00 | 2 | 3 | 00/029C : AD 93 04 | lda myBUFFER+6
|
||||
654 | 1 debug.s 290 | Code | 00 | 2 | 3 | 00/029F : 20 FB 02 | jsr printME
|
||||
655 | 1 debug.s 291 | Code | 00 | 2 | 3 | 00/02A2 : AD 95 04 | lda myBUFFER+8
|
||||
656 | 1 debug.s 292 | Code | 00 | 2 | 3 | 00/02A5 : 20 FB 02 | jsr printME
|
||||
657 | 1 debug.s 293 | Code | 00 | 2 | 3 | 00/02A8 : AD 97 04 | lda myBUFFER+10
|
||||
658 | 1 debug.s 294 | Code | 00 | 2 | 3 | 00/02AB : 20 FB 02 | jsr printME
|
||||
659 | 1 debug.s 295 | Code | 00 | 2 | 3 | 00/02AE : AD 99 04 | lda myBUFFER+12
|
||||
660 | 1 debug.s 296 | Code | 00 | 2 | 3 | 00/02B1 : 20 FB 02 | jsr printME
|
||||
661 | 1 debug.s 297 | Code | 00 | 2 | 3 | 00/02B4 : AD 9B 04 | lda myBUFFER+14
|
||||
662 | 1 debug.s 298 | Code | 00 | 2 | 3 | 00/02B7 : 20 FB 02 | jsr printME
|
||||
663 | 1 debug.s 299 | Empty | 00 | | 0 | 00/02BA |
|
||||
664 | 1 debug.s 300 | Macro | 00 | | 0 | 00/02BA | PushWord #$0d
|
||||
666 | 1 debug.s 300 | Code | 00 | | 3 | 00/02BA : F4 0D 00 | PEA #$0d
|
||||
669 | 1 debug.s 301 | Macro | 00 | | 0 | 00/02BD | _WriteChar
|
||||
671 | 1 debug.s 301 | Code | 00 | | 3 | 00/02BD : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
672 | 1 debug.s 301 | Code | 00 | | 4 | 00/02C0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
673 | 1 debug.s 302 | Empty | 00 | | 0 | 00/02C4 |
|
||||
674 | 1 debug.s 303 | Macro | 00 | | 0 | 00/02C4 | PushWord #$20
|
||||
676 | 1 debug.s 303 | Code | 00 | | 3 | 00/02C4 : F4 20 00 | PEA #$20
|
||||
679 | 1 debug.s 304 | Macro | 00 | | 0 | 00/02C7 | _WriteChar
|
||||
681 | 1 debug.s 304 | Code | 00 | | 3 | 00/02C7 : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
682 | 1 debug.s 304 | Code | 00 | | 4 | 00/02CA : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
683 | 1 debug.s 305 | Empty | 00 | | 0 | 00/02CE |
|
||||
684 | 1 debug.s 306 | Code | 00 | 2 | 3 | 00/02CE : AD 9D 04 | lda myBUFFER+16
|
||||
685 | 1 debug.s 307 | Code | 00 | 2 | 3 | 00/02D1 : 20 FB 02 | jsr printME
|
||||
686 | 1 debug.s 308 | Code | 00 | 2 | 3 | 00/02D4 : AD 9F 04 | lda myBUFFER+18
|
||||
687 | 1 debug.s 309 | Code | 00 | 2 | 3 | 00/02D7 : 20 FB 02 | jsr printME
|
||||
688 | 1 debug.s 310 | Code | 00 | 2 | 3 | 00/02DA : AD A1 04 | lda myBUFFER+20
|
||||
689 | 1 debug.s 311 | Code | 00 | 2 | 3 | 00/02DD : 20 FB 02 | jsr printME
|
||||
690 | 1 debug.s 312 | Code | 00 | 2 | 3 | 00/02E0 : AD A3 04 | lda myBUFFER+22
|
||||
691 | 1 debug.s 313 | Code | 00 | 2 | 3 | 00/02E3 : 20 FB 02 | jsr printME
|
||||
692 | 1 debug.s 314 | Code | 00 | 2 | 3 | 00/02E6 : AD A5 04 | lda myBUFFER+24
|
||||
693 | 1 debug.s 315 | Code | 00 | 2 | 3 | 00/02E9 : 20 FB 02 | jsr printME
|
||||
694 | 1 debug.s 316 | Code | 00 | 2 | 3 | 00/02EC : AD A7 04 | lda myBUFFER+26
|
||||
695 | 1 debug.s 317 | Code | 00 | 2 | 3 | 00/02EF : 20 FB 02 | jsr printME
|
||||
696 | 1 debug.s 318 | Code | 00 | 2 | 3 | 00/02F2 : AD A9 04 | lda myBUFFER+28
|
||||
697 | 1 debug.s 319 | Code | 00 | 2 | 3 | 00/02F5 : 20 FB 02 | jsr printME
|
||||
698 | 1 debug.s 320 | Code | 00 | 2 | 3 | 00/02F8 : AD AB 04 | lda myBUFFER+30 ; ends into the code below...
|
||||
699 | 1 debug.s 321 | Empty | 00 | | 0 | 00/02FB |
|
||||
700 | 1 debug.s 322 | Code | 00 | | 1 | 00/02FB : 48 | printME pha ; from a word to a string
|
||||
701 | 1 debug.s 323 | Code | 00 | | 1 | 00/02FC : 48 | pha
|
||||
702 | 1 debug.s 324 | Code | 00 | | 1 | 00/02FD : 48 | pha ; <= here, really
|
||||
703 | 1 debug.s 325 | Macro | 00 | | 0 | 00/02FE | _HexIt
|
||||
705 | 1 debug.s 325 | Code | 00 | | 3 | 00/02FE : A2 0B 2A | LDX #$2A0B ; load tool call #
|
||||
706 | 1 debug.s 325 | Code | 00 | | 4 | 00/0301 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
707 | 1 debug.s 326 | Macro | 00 | | 0 | 00/0305 | PullLong strBUFFER
|
||||
710 | 1 debug.s 326 | Code | 00 | | 1 | 00/0305 : 68 | PLA
|
||||
712 | 1 debug.s 326 | Code | 00 | 2 | 3 | 00/0306 : 8D DB 03 | STA strBUFFER
|
||||
717 | 1 debug.s 326 | Code | 00 | | 1 | 00/0309 : 68 | PLA
|
||||
719 | 1 debug.s 326 | Code | 00 | 2 | 3 | 00/030A : 8D DD 03 | STA strBUFFER+2
|
||||
725 | 1 debug.s 327 | Empty | 00 | | 0 | 00/030D |
|
||||
726 | 1 debug.s 328 | Macro | 00 | | 0 | 00/030D | PushLong #strBUFFER ; show the string
|
||||
730 | 1 debug.s 328 | Code | 00 | 1 >>16 | 3 | 00/030D : F4 00 00 | PEA #^#strBUFFER
|
||||
737 | 1 debug.s 328 | Code | 00 | 2 | 3 | 00/0310 : F4 DB 03 | PEA #strBUFFER
|
||||
740 | 1 debug.s 329 | Macro | 00 | | 0 | 00/0313 | _WriteCString
|
||||
742 | 1 debug.s 329 | Code | 00 | | 3 | 00/0313 : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
743 | 1 debug.s 329 | Code | 00 | | 4 | 00/0316 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
744 | 1 debug.s 330 | Code | 00 | | 1 | 00/031A : 60 | rts
|
||||
745 | 1 debug.s 331 | Empty | 00 | | 0 | 00/031B |
|
||||
746 | 1 debug.s 332 | Comment | 00 | | 0 | 00/031B | *---------- Data
|
||||
747 | 1 debug.s 333 | Empty | 00 | | 0 | 00/031B |
|
||||
748 | 1 debug.s 334 | Data | 00 | | 9 | 00/031B : 0D 0D 44 52 | strDREAD asc 0d0d'DRead '00
|
||||
| | | | | | 65 61 64 20 |
|
||||
| | | | | | 00 |
|
||||
750 | 1 debug.s 336 | Data | 00 | | 10 | 00/0324 : 0D 0D 44 57 | strDWRITE asc 0d0d'DWrite '00
|
||||
749 | 1 debug.s 335 | Data | 00 | | 10 | 00/0324 : 0D 0D 44 57 | strDWRITE asc 0d0d'DWrite '00
|
||||
| | | | | | 72 69 74 65 |
|
||||
| | | | | | 20 00 |
|
||||
751 | 1 debug.s 337 | Data | 00 | | 11 | 00/032E : 0D 0D 44 53 | strDSTATUS asc 0d0d'DStatus '00
|
||||
750 | 1 debug.s 336 | Data | 00 | | 11 | 00/032E : 0D 0D 44 53 | strDSTATUS asc 0d0d'DStatus '00
|
||||
| | | | | | 74 61 74 75 |
|
||||
| | | | | | 73 20 00 |
|
||||
752 | 1 debug.s 338 | Empty | 00 | | 0 | 00/0339 |
|
||||
753 | 1 debug.s 339 | Data | 00 | | 20 | 00/0339 : 20 43 68 61 | strCHARS asc ' Characteristics: '00
|
||||
751 | 1 debug.s 337 | Empty | 00 | | 0 | 00/0339 |
|
||||
752 | 1 debug.s 338 | Data | 00 | | 20 | 00/0339 : 20 43 68 61 | strCHARS asc ' Characteristics: '00
|
||||
| | | | | | 72 61 63 74 |
|
||||
| | | | | | 65 72 69 73 |
|
||||
| | | | | | 74 69 63 73 |
|
||||
| | | | | | 3A 20 20 00 |
|
||||
754 | 1 debug.s 340 | Data | 00 | | 21 | 00/034D : 0D 20 4E 75 | strBLOCKS asc 0d' Number of blocks: '00
|
||||
753 | 1 debug.s 339 | Data | 00 | | 21 | 00/034D : 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 |
|
||||
755 | 1 debug.s 341 | Empty | 00 | | 0 | 00/0362 |
|
||||
756 | 1 debug.s 342 | Data | 00 | | 14 | 00/0362 : 2D 20 45 72 | strERR asc '- Error code '00
|
||||
754 | 1 debug.s 340 | Empty | 00 | | 0 | 00/0362 |
|
||||
755 | 1 debug.s 341 | Data | 00 | | 14 | 00/0362 : 2D 20 45 72 | strERR asc '- Error code '00
|
||||
| | | | | | 72 6F 72 20 |
|
||||
| | | | | | 63 6F 64 65 |
|
||||
| | | | | | 20 00 |
|
||||
757 | 1 debug.s 343 | Empty | 00 | | 0 | 00/0370 |
|
||||
758 | 1 debug.s 344 | Comment | 00 | | 0 | 00/0370 | *----------------------------
|
||||
759 | 1 debug.s 345 | Comment | 00 | | 0 | 00/0370 | * TEXT ROUTINES
|
||||
760 | 1 debug.s 346 | Comment | 00 | | 0 | 00/0370 | *----------------------------
|
||||
761 | 1 debug.s 347 | Empty | 00 | | 0 | 00/0370 |
|
||||
762 | 1 debug.s 348 | Comment | 00 | | 0 | 00/0370 | *---------- Wait for a key
|
||||
763 | 1 debug.s 349 | Empty | 00 | | 0 | 00/0370 |
|
||||
764 | 1 debug.s 350 | Macro | 00 | | 0 | 00/0370 | waitFORKEY PushWord #0 ; wait for key
|
||||
766 | 1 debug.s 350 | Code | 00 | | 3 | 00/0370 : F4 00 00 | PEA #0
|
||||
769 | 1 debug.s 351 | Macro | 00 | | 0 | 00/0373 | PushWord #1 ; echo char
|
||||
771 | 1 debug.s 351 | Code | 00 | | 3 | 00/0373 : F4 01 00 | PEA #1
|
||||
774 | 1 debug.s 352 | Macro | 00 | | 0 | 00/0376 | _ReadChar
|
||||
776 | 1 debug.s 352 | Code | 00 | | 3 | 00/0376 : A2 0C 22 | LDX #$220C ; load tool call #
|
||||
777 | 1 debug.s 352 | Code | 00 | | 4 | 00/0379 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
778 | 1 debug.s 353 | Empty | 00 | | 0 | 00/037D |
|
||||
779 | 1 debug.s 354 | Code | 00 | | 2 | 00/037D : A3 01 | waitKEY1 lda 1,s ; check CR
|
||||
780 | 1 debug.s 355 | Code | 00 | | 3 | 00/037F : 29 FF 00 | and #$ff ; of typed
|
||||
781 | 1 debug.s 356 | Code | 00 | | 2 | 00/0382 : 83 01 | sta 1,s ; in char
|
||||
782 | 1 debug.s 357 | Code | 00 | | 3 | 00/0384 : C9 8D 00 | cmp #$8d
|
||||
783 | 1 debug.s 358 | Code | 00 | | 2 | 00/0387 : F0 0A | beq waitKEY9
|
||||
784 | 1 debug.s 359 | Empty | 00 | | 0 | 00/0389 |
|
||||
785 | 1 debug.s 360 | Macro | 00 | | 0 | 00/0389 | waitKEY8 PushWord #$0d ; return
|
||||
787 | 1 debug.s 360 | Code | 00 | | 3 | 00/0389 : F4 0D 00 | PEA #$0d
|
||||
790 | 1 debug.s 361 | Macro | 00 | | 0 | 00/038C | _WriteChar
|
||||
792 | 1 debug.s 361 | Code | 00 | | 3 | 00/038C : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
793 | 1 debug.s 361 | Code | 00 | | 4 | 00/038F : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
794 | 1 debug.s 362 | Empty | 00 | | 0 | 00/0393 |
|
||||
795 | 1 debug.s 363 | Code | 00 | | 1 | 00/0393 : 68 | waitKEY9 pla ; restore entered char
|
||||
796 | 1 debug.s 364 | Code | 00 | | 1 | 00/0394 : 60 | rts
|
||||
797 | 1 debug.s 365 | Empty | 00 | | 0 | 00/0395 |
|
||||
798 | 1 debug.s 366 | Comment | 00 | | 0 | 00/0395 | *---------- Display a word
|
||||
799 | 1 debug.s 367 | Empty | 00 | | 0 | 00/0395 |
|
||||
800 | 1 debug.s 368 | Code | 00 | | 1 | 00/0395 : 48 | showWORD pha ; from a word to a string
|
||||
801 | 1 debug.s 369 | Code | 00 | | 1 | 00/0396 : 48 | pha
|
||||
802 | 1 debug.s 370 | Code | 00 | | 1 | 00/0397 : 48 | pha ; <= here, really
|
||||
803 | 1 debug.s 371 | Macro | 00 | | 0 | 00/0398 | _HexIt
|
||||
805 | 1 debug.s 371 | Code | 00 | | 3 | 00/0398 : A2 0B 2A | LDX #$2A0B ; load tool call #
|
||||
806 | 1 debug.s 371 | Code | 00 | | 4 | 00/039B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
807 | 1 debug.s 372 | Macro | 00 | | 0 | 00/039F | PullLong strHEX
|
||||
810 | 1 debug.s 372 | Code | 00 | | 1 | 00/039F : 68 | PLA
|
||||
812 | 1 debug.s 372 | Code | 00 | 2 | 3 | 00/03A0 : 8D D6 03 | STA strHEX
|
||||
817 | 1 debug.s 372 | Code | 00 | | 1 | 00/03A3 : 68 | PLA
|
||||
819 | 1 debug.s 372 | Code | 00 | 2 | 3 | 00/03A4 : 8D D8 03 | STA strHEX+2
|
||||
825 | 1 debug.s 373 | Empty | 00 | | 0 | 00/03A7 |
|
||||
826 | 1 debug.s 374 | Macro | 00 | | 0 | 00/03A7 | PushLong #strHEX ; show the string
|
||||
830 | 1 debug.s 374 | Code | 00 | 1 >>16 | 3 | 00/03A7 : F4 00 00 | PEA #^#strHEX
|
||||
837 | 1 debug.s 374 | Code | 00 | 2 | 3 | 00/03AA : F4 D6 03 | PEA #strHEX
|
||||
840 | 1 debug.s 375 | Macro | 00 | | 0 | 00/03AD | _WriteCString
|
||||
842 | 1 debug.s 375 | Code | 00 | | 3 | 00/03AD : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
843 | 1 debug.s 375 | Code | 00 | | 4 | 00/03B0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
844 | 1 debug.s 376 | Code | 00 | | 1 | 00/03B4 : 60 | rts
|
||||
845 | 1 debug.s 377 | Empty | 00 | | 0 | 00/03B5 |
|
||||
846 | 1 debug.s 378 | Comment | 00 | | 0 | 00/03B5 | *---------- Display a hex word with a $
|
||||
847 | 1 debug.s 379 | Empty | 00 | | 0 | 00/03B5 |
|
||||
848 | 1 debug.s 380 | Code | 00 | | 1 | 00/03B5 : 48 | showHEX pha ; from a word to a string
|
||||
849 | 1 debug.s 381 | Code | 00 | | 1 | 00/03B6 : 48 | pha
|
||||
850 | 1 debug.s 382 | Code | 00 | | 1 | 00/03B7 : 48 | pha ; <= here, really
|
||||
851 | 1 debug.s 383 | Macro | 00 | | 0 | 00/03B8 | _HexIt
|
||||
853 | 1 debug.s 383 | Code | 00 | | 3 | 00/03B8 : A2 0B 2A | LDX #$2A0B ; load tool call #
|
||||
854 | 1 debug.s 383 | Code | 00 | | 4 | 00/03BB : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
855 | 1 debug.s 384 | Macro | 00 | | 0 | 00/03BF | PullLong strHEX
|
||||
858 | 1 debug.s 384 | Code | 00 | | 1 | 00/03BF : 68 | PLA
|
||||
860 | 1 debug.s 384 | Code | 00 | 2 | 3 | 00/03C0 : 8D D6 03 | STA strHEX
|
||||
865 | 1 debug.s 384 | Code | 00 | | 1 | 00/03C3 : 68 | PLA
|
||||
867 | 1 debug.s 384 | Code | 00 | 2 | 3 | 00/03C4 : 8D D8 03 | STA strHEX+2
|
||||
873 | 1 debug.s 385 | Empty | 00 | | 0 | 00/03C7 |
|
||||
874 | 1 debug.s 386 | Macro | 00 | | 0 | 00/03C7 | PushLong #strHEX1 ; show the string
|
||||
878 | 1 debug.s 386 | Code | 00 | 1 >>16 | 3 | 00/03C7 : F4 00 00 | PEA #^#strHEX1
|
||||
885 | 1 debug.s 386 | Code | 00 | 2 | 3 | 00/03CA : F4 D5 03 | PEA #strHEX1
|
||||
888 | 1 debug.s 387 | Macro | 00 | | 0 | 00/03CD | _WriteCString
|
||||
890 | 1 debug.s 387 | Code | 00 | | 3 | 00/03CD : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
891 | 1 debug.s 387 | Code | 00 | | 4 | 00/03D0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
892 | 1 debug.s 388 | Code | 00 | | 1 | 00/03D4 : 60 | rts
|
||||
893 | 1 debug.s 389 | Empty | 00 | | 0 | 00/03D5 |
|
||||
894 | 1 debug.s 390 | Comment | 00 | | 0 | 00/03D5 | *--- Data
|
||||
895 | 1 debug.s 391 | Empty | 00 | | 0 | 00/03D5 |
|
||||
896 | 1 debug.s 392 | Data | 00 | | 1 | 00/03D5 : 24 | strHEX1 asc '$'
|
||||
897 | 1 debug.s 393 | Data | 00 | | 5 | 00/03D6 : 30 30 30 30 | strHEX asc '0000'00
|
||||
756 | 1 debug.s 342 | Empty | 00 | | 0 | 00/0370 |
|
||||
757 | 1 debug.s 343 | Comment | 00 | | 0 | 00/0370 | *----------------------------
|
||||
758 | 1 debug.s 344 | Comment | 00 | | 0 | 00/0370 | * TEXT ROUTINES
|
||||
759 | 1 debug.s 345 | Comment | 00 | | 0 | 00/0370 | *----------------------------
|
||||
760 | 1 debug.s 346 | Empty | 00 | | 0 | 00/0370 |
|
||||
761 | 1 debug.s 347 | Comment | 00 | | 0 | 00/0370 | *---------- Wait for a key
|
||||
762 | 1 debug.s 348 | Empty | 00 | | 0 | 00/0370 |
|
||||
763 | 1 debug.s 349 | Macro | 00 | | 0 | 00/0370 | waitFORKEY PushWord #0 ; wait for key
|
||||
765 | 1 debug.s 349 | Code | 00 | | 3 | 00/0370 : F4 00 00 | PEA #0
|
||||
768 | 1 debug.s 350 | Macro | 00 | | 0 | 00/0373 | PushWord #1 ; echo char
|
||||
770 | 1 debug.s 350 | Code | 00 | | 3 | 00/0373 : F4 01 00 | PEA #1
|
||||
773 | 1 debug.s 351 | Macro | 00 | | 0 | 00/0376 | _ReadChar
|
||||
775 | 1 debug.s 351 | Code | 00 | | 3 | 00/0376 : A2 0C 22 | LDX #$220C ; load tool call #
|
||||
776 | 1 debug.s 351 | Code | 00 | | 4 | 00/0379 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
777 | 1 debug.s 352 | Empty | 00 | | 0 | 00/037D |
|
||||
778 | 1 debug.s 353 | Code | 00 | | 2 | 00/037D : A3 01 | waitKEY1 lda 1,s ; check CR
|
||||
779 | 1 debug.s 354 | Code | 00 | | 3 | 00/037F : 29 FF 00 | and #$ff ; of typed
|
||||
780 | 1 debug.s 355 | Code | 00 | | 2 | 00/0382 : 83 01 | sta 1,s ; in char
|
||||
781 | 1 debug.s 356 | Code | 00 | | 3 | 00/0384 : C9 8D 00 | cmp #$8d
|
||||
782 | 1 debug.s 357 | Code | 00 | | 2 | 00/0387 : F0 0A | beq waitKEY9
|
||||
783 | 1 debug.s 358 | Empty | 00 | | 0 | 00/0389 |
|
||||
784 | 1 debug.s 359 | Macro | 00 | | 0 | 00/0389 | waitKEY8 PushWord #$0d ; return
|
||||
786 | 1 debug.s 359 | Code | 00 | | 3 | 00/0389 : F4 0D 00 | PEA #$0d
|
||||
789 | 1 debug.s 360 | Macro | 00 | | 0 | 00/038C | _WriteChar
|
||||
791 | 1 debug.s 360 | Code | 00 | | 3 | 00/038C : A2 0C 18 | LDX #$180C ; load tool call #
|
||||
792 | 1 debug.s 360 | Code | 00 | | 4 | 00/038F : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
793 | 1 debug.s 361 | Empty | 00 | | 0 | 00/0393 |
|
||||
794 | 1 debug.s 362 | Code | 00 | | 1 | 00/0393 : 68 | waitKEY9 pla ; restore entered char
|
||||
795 | 1 debug.s 363 | Code | 00 | | 1 | 00/0394 : 60 | rts
|
||||
796 | 1 debug.s 364 | Empty | 00 | | 0 | 00/0395 |
|
||||
797 | 1 debug.s 365 | Comment | 00 | | 0 | 00/0395 | *---------- Display a word
|
||||
798 | 1 debug.s 366 | Empty | 00 | | 0 | 00/0395 |
|
||||
799 | 1 debug.s 367 | Code | 00 | | 1 | 00/0395 : 48 | showWORD pha ; from a word to a string
|
||||
800 | 1 debug.s 368 | Code | 00 | | 1 | 00/0396 : 48 | pha
|
||||
801 | 1 debug.s 369 | Code | 00 | | 1 | 00/0397 : 48 | pha ; <= here, really
|
||||
802 | 1 debug.s 370 | Macro | 00 | | 0 | 00/0398 | _HexIt
|
||||
804 | 1 debug.s 370 | Code | 00 | | 3 | 00/0398 : A2 0B 2A | LDX #$2A0B ; load tool call #
|
||||
805 | 1 debug.s 370 | Code | 00 | | 4 | 00/039B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
806 | 1 debug.s 371 | Macro | 00 | | 0 | 00/039F | PullLong strHEX
|
||||
809 | 1 debug.s 371 | Code | 00 | | 1 | 00/039F : 68 | PLA
|
||||
811 | 1 debug.s 371 | Code | 00 | 2 | 3 | 00/03A0 : 8D D6 03 | STA strHEX
|
||||
816 | 1 debug.s 371 | Code | 00 | | 1 | 00/03A3 : 68 | PLA
|
||||
818 | 1 debug.s 371 | Code | 00 | 2 | 3 | 00/03A4 : 8D D8 03 | STA strHEX+2
|
||||
824 | 1 debug.s 372 | Empty | 00 | | 0 | 00/03A7 |
|
||||
825 | 1 debug.s 373 | Macro | 00 | | 0 | 00/03A7 | PushLong #strHEX ; show the string
|
||||
829 | 1 debug.s 373 | Code | 00 | 1 >>16 | 3 | 00/03A7 : F4 00 00 | PEA #^#strHEX
|
||||
836 | 1 debug.s 373 | Code | 00 | 2 | 3 | 00/03AA : F4 D6 03 | PEA #strHEX
|
||||
839 | 1 debug.s 374 | Macro | 00 | | 0 | 00/03AD | _WriteCString
|
||||
841 | 1 debug.s 374 | Code | 00 | | 3 | 00/03AD : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
842 | 1 debug.s 374 | Code | 00 | | 4 | 00/03B0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
843 | 1 debug.s 375 | Code | 00 | | 1 | 00/03B4 : 60 | rts
|
||||
844 | 1 debug.s 376 | Empty | 00 | | 0 | 00/03B5 |
|
||||
845 | 1 debug.s 377 | Comment | 00 | | 0 | 00/03B5 | *---------- Display a hex word with a $
|
||||
846 | 1 debug.s 378 | Empty | 00 | | 0 | 00/03B5 |
|
||||
847 | 1 debug.s 379 | Code | 00 | | 1 | 00/03B5 : 48 | showHEX pha ; from a word to a string
|
||||
848 | 1 debug.s 380 | Code | 00 | | 1 | 00/03B6 : 48 | pha
|
||||
849 | 1 debug.s 381 | Code | 00 | | 1 | 00/03B7 : 48 | pha ; <= here, really
|
||||
850 | 1 debug.s 382 | Macro | 00 | | 0 | 00/03B8 | _HexIt
|
||||
852 | 1 debug.s 382 | Code | 00 | | 3 | 00/03B8 : A2 0B 2A | LDX #$2A0B ; load tool call #
|
||||
853 | 1 debug.s 382 | Code | 00 | | 4 | 00/03BB : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
854 | 1 debug.s 383 | Macro | 00 | | 0 | 00/03BF | PullLong strHEX
|
||||
857 | 1 debug.s 383 | Code | 00 | | 1 | 00/03BF : 68 | PLA
|
||||
859 | 1 debug.s 383 | Code | 00 | 2 | 3 | 00/03C0 : 8D D6 03 | STA strHEX
|
||||
864 | 1 debug.s 383 | Code | 00 | | 1 | 00/03C3 : 68 | PLA
|
||||
866 | 1 debug.s 383 | Code | 00 | 2 | 3 | 00/03C4 : 8D D8 03 | STA strHEX+2
|
||||
872 | 1 debug.s 384 | Empty | 00 | | 0 | 00/03C7 |
|
||||
873 | 1 debug.s 385 | Macro | 00 | | 0 | 00/03C7 | PushLong #strHEX1 ; show the string
|
||||
877 | 1 debug.s 385 | Code | 00 | 1 >>16 | 3 | 00/03C7 : F4 00 00 | PEA #^#strHEX1
|
||||
884 | 1 debug.s 385 | Code | 00 | 2 | 3 | 00/03CA : F4 D5 03 | PEA #strHEX1
|
||||
887 | 1 debug.s 386 | Macro | 00 | | 0 | 00/03CD | _WriteCString
|
||||
889 | 1 debug.s 386 | Code | 00 | | 3 | 00/03CD : A2 0C 20 | LDX #$200C ; load tool call #
|
||||
890 | 1 debug.s 386 | Code | 00 | | 4 | 00/03D0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher
|
||||
891 | 1 debug.s 387 | Code | 00 | | 1 | 00/03D4 : 60 | rts
|
||||
892 | 1 debug.s 388 | Empty | 00 | | 0 | 00/03D5 |
|
||||
893 | 1 debug.s 389 | Comment | 00 | | 0 | 00/03D5 | *--- Data
|
||||
894 | 1 debug.s 390 | Empty | 00 | | 0 | 00/03D5 |
|
||||
895 | 1 debug.s 391 | Data | 00 | | 1 | 00/03D5 : 24 | strHEX1 asc '$'
|
||||
896 | 1 debug.s 392 | Data | 00 | | 5 | 00/03D6 : 30 30 30 30 | strHEX asc '0000'00
|
||||
| | | | | | 00 |
|
||||
898 | 1 debug.s 394 | Data | 00 | | 6 | 00/03DB : 30 30 30 30 | strBUFFER asc '0000 '00
|
||||
897 | 1 debug.s 393 | Data | 00 | | 6 | 00/03DB : 30 30 30 30 | strBUFFER asc '0000 '00
|
||||
| | | | | | 20 00 |
|
||||
899 | 1 debug.s 395 | Empty | 00 | | 0 | 00/03E1 |
|
||||
900 | 1 debug.s 396 | Comment | 00 | | 0 | 00/03E1 | *----------------------------
|
||||
901 | 1 debug.s 397 | Comment | 00 | | 0 | 00/03E1 | * DATA
|
||||
902 | 1 debug.s 398 | Comment | 00 | | 0 | 00/03E1 | *----------------------------
|
||||
903 | 1 debug.s 399 | Empty | 00 | | 0 | 00/03E1 |
|
||||
904 | 1 debug.s 400 | Data | 00 | | 2 | 00/03E1 : 00 00 | errCODE ds 2
|
||||
905 | 1 debug.s 401 | Empty | 00 | | 0 | 00/03E3 |
|
||||
906 | 1 debug.s 402 | Data | 00 | | 2 | 00/03E3 : 02 00 | proQUIT dw 2 ; pCount
|
||||
907 | 1 debug.s 403 | Data | 00 | | 4 | 00/03E5 : 00 00 00 00 | ds 4 ; 02 pathname
|
||||
908 | 1 debug.s 404 | Data | 00 | | 2 | 00/03E9 : 00 00 | ds 2 ; 06 flags
|
||||
909 | 1 debug.s 405 | Empty | 00 | | 0 | 00/03EB |
|
||||
910 | 1 debug.s 406 | Data | 00 | | 2 | 00/03EB : 08 00 | proDINFO dw 8 ; Parms for DInfo
|
||||
911 | 1 debug.s 407 | Data | 00 | | 2 | 00/03ED : 00 00 | ds 2 ; 02 device num
|
||||
912 | 1 debug.s 408 | Data | 00 | 3 | 4 | 00/03EF : 4B 04 00 00 | adrl devINFO ; 04 device name
|
||||
913 | 1 debug.s 409 | Data | 00 | | 2 | 00/03F3 : 00 00 | ds 2 ; 08 characteristics
|
||||
914 | 1 debug.s 410 | Data | 00 | | 4 | 00/03F5 : 00 00 00 00 | ds 4 ; 0A total blocks
|
||||
915 | 1 debug.s 411 | Data | 00 | | 2 | 00/03F9 : 00 00 | ds 2 ; 0E slot number
|
||||
916 | 1 debug.s 412 | Data | 00 | | 2 | 00/03FB : 00 00 | ds 2 ; 10 unit number
|
||||
917 | 1 debug.s 413 | Data | 00 | | 2 | 00/03FD : 00 00 | ds 2 ; 12 version
|
||||
918 | 1 debug.s 414 | Data | 00 | | 2 | 00/03FF : 00 00 | ds 2 ; 14 device id
|
||||
919 | 1 debug.s 415 | Empty | 00 | | 0 | 00/0401 |
|
||||
920 | 1 debug.s 416 | Data | 00 | | 2 | 00/0401 : 06 00 | proDREAD dw 6 ; pCount
|
||||
921 | 1 debug.s 417 | Data | 00 | | 2 | 00/0403 : 00 00 | ds 2 ; 02 devNum
|
||||
922 | 1 debug.s 418 | Data | 00 | 3 | 4 | 00/0405 : 8D 04 00 00 | adrl myBUFFER ; 04 buffer
|
||||
923 | 1 debug.s 419 | Data | 00 | | 4 | 00/0409 : 00 02 00 00 | adrl 512 ; 08 requestCount
|
||||
924 | 1 debug.s 420 | Data | 00 | | 4 | 00/040D : 00 00 00 00 | ds 4 ; 0C startingBlock
|
||||
925 | 1 debug.s 421 | Data | 00 | | 2 | 00/0411 : 00 02 | dw 512 ; 10 blockSize
|
||||
926 | 1 debug.s 422 | Data | 00 | | 4 | 00/0413 : 00 00 00 00 | ds 4 ; 14 transferCount
|
||||
927 | 1 debug.s 423 | Empty | 00 | | 0 | 00/0417 |
|
||||
928 | 1 debug.s 424 | Data | 00 | | 2 | 00/0417 : 06 00 | proDWRITE dw 6 ; pCount
|
||||
929 | 1 debug.s 425 | Data | 00 | | 2 | 00/0419 : 00 00 | ds 2 ; 02 devNum
|
||||
930 | 1 debug.s 426 | Data | 00 | 3 | 4 | 00/041B : 8D 04 00 00 | adrl myBUFFER ; 04 buffer
|
||||
931 | 1 debug.s 427 | Data | 00 | | 4 | 00/041F : 00 02 00 00 | adrl 512 ; 08 requestCount
|
||||
932 | 1 debug.s 428 | Data | 00 | | 4 | 00/0423 : 00 00 00 00 | ds 4 ; 0C startingBlock
|
||||
933 | 1 debug.s 429 | Data | 00 | | 2 | 00/0427 : 00 02 | dw 512 ; 10 blockSize
|
||||
934 | 1 debug.s 430 | Data | 00 | | 4 | 00/0429 : 00 00 00 00 | ds 4 ; 14 transferCount
|
||||
935 | 1 debug.s 431 | Empty | 00 | | 0 | 00/042D |
|
||||
936 | 1 debug.s 432 | Data | 00 | | 2 | 00/042D : 05 00 | proDSTATUS dw 5 ; pCount
|
||||
937 | 1 debug.s 433 | Data | 00 | | 2 | 00/042F : 00 00 | ds 2 ; 02 devNum
|
||||
938 | 1 debug.s 434 | Data | 00 | | 2 | 00/0431 : 00 00 | ds 2 ; 04 code ($0000 = Device Status)
|
||||
939 | 1 debug.s 435 | Data | 00 | 3 | 4 | 00/0433 : 8D 06 00 00 | adrl myLIST ; 06 list
|
||||
940 | 1 debug.s 436 | Data | 00 | | 4 | 00/0437 : 00 02 00 00 | adrl 512 ; 0A requestCount (a big buffer)
|
||||
941 | 1 debug.s 437 | Data | 00 | | 4 | 00/043B : 00 00 00 00 | ds 4 ; 0E transferCount
|
||||
942 | 1 debug.s 438 | Empty | 00 | | 0 | 00/043F |
|
||||
943 | 1 debug.s 439 | Comment | 00 | | 0 | 00/043F | *----------
|
||||
944 | 1 debug.s 440 | Empty | 00 | | 0 | 00/043F |
|
||||
945 | 1 debug.s 441 | Data | 00 | | 12 | 00/043F : 0B 2E 41 53 | strDEVICE str '.ASSDDevice' ; length is 12 chars (including length byte)
|
||||
898 | 1 debug.s 394 | Empty | 00 | | 0 | 00/03E1 |
|
||||
899 | 1 debug.s 395 | Comment | 00 | | 0 | 00/03E1 | *----------------------------
|
||||
900 | 1 debug.s 396 | Comment | 00 | | 0 | 00/03E1 | * DATA
|
||||
901 | 1 debug.s 397 | Comment | 00 | | 0 | 00/03E1 | *----------------------------
|
||||
902 | 1 debug.s 398 | Empty | 00 | | 0 | 00/03E1 |
|
||||
903 | 1 debug.s 399 | Data | 00 | | 2 | 00/03E1 : 00 00 | errCODE ds 2
|
||||
904 | 1 debug.s 400 | Empty | 00 | | 0 | 00/03E3 |
|
||||
905 | 1 debug.s 401 | Data | 00 | | 2 | 00/03E3 : 02 00 | proQUIT dw 2 ; pCount
|
||||
906 | 1 debug.s 402 | Data | 00 | | 4 | 00/03E5 : 00 00 00 00 | ds 4 ; 02 pathname
|
||||
907 | 1 debug.s 403 | Data | 00 | | 2 | 00/03E9 : 00 00 | ds 2 ; 06 flags
|
||||
908 | 1 debug.s 404 | Empty | 00 | | 0 | 00/03EB |
|
||||
909 | 1 debug.s 405 | Data | 00 | | 2 | 00/03EB : 08 00 | proDINFO dw 8 ; Parms for DInfo
|
||||
910 | 1 debug.s 406 | Data | 00 | | 2 | 00/03ED : 00 00 | ds 2 ; 02 device num
|
||||
911 | 1 debug.s 407 | Data | 00 | 3 | 4 | 00/03EF : 4B 04 00 00 | adrl devINFO ; 04 device name
|
||||
912 | 1 debug.s 408 | Data | 00 | | 2 | 00/03F3 : 00 00 | ds 2 ; 08 characteristics
|
||||
913 | 1 debug.s 409 | Data | 00 | | 4 | 00/03F5 : 00 00 00 00 | ds 4 ; 0A total blocks
|
||||
914 | 1 debug.s 410 | Data | 00 | | 2 | 00/03F9 : 00 00 | ds 2 ; 0E slot number
|
||||
915 | 1 debug.s 411 | Data | 00 | | 2 | 00/03FB : 00 00 | ds 2 ; 10 unit number
|
||||
916 | 1 debug.s 412 | Data | 00 | | 2 | 00/03FD : 00 00 | ds 2 ; 12 version
|
||||
917 | 1 debug.s 413 | Data | 00 | | 2 | 00/03FF : 00 00 | ds 2 ; 14 device id
|
||||
918 | 1 debug.s 414 | Empty | 00 | | 0 | 00/0401 |
|
||||
919 | 1 debug.s 415 | Data | 00 | | 2 | 00/0401 : 06 00 | proDREAD dw 6 ; pCount
|
||||
920 | 1 debug.s 416 | Data | 00 | | 2 | 00/0403 : 00 00 | ds 2 ; 02 devNum
|
||||
921 | 1 debug.s 417 | Data | 00 | 3 | 4 | 00/0405 : 8D 04 00 00 | adrl myBUFFER ; 04 buffer
|
||||
922 | 1 debug.s 418 | Data | 00 | | 4 | 00/0409 : 00 02 00 00 | adrl 512 ; 08 requestCount
|
||||
923 | 1 debug.s 419 | Data | 00 | | 4 | 00/040D : 00 00 00 00 | ds 4 ; 0C startingBlock
|
||||
924 | 1 debug.s 420 | Data | 00 | | 2 | 00/0411 : 00 02 | dw 512 ; 10 blockSize
|
||||
925 | 1 debug.s 421 | Data | 00 | | 4 | 00/0413 : 00 00 00 00 | ds 4 ; 14 transferCount
|
||||
926 | 1 debug.s 422 | Empty | 00 | | 0 | 00/0417 |
|
||||
927 | 1 debug.s 423 | Data | 00 | | 2 | 00/0417 : 06 00 | proDWRITE dw 6 ; pCount
|
||||
928 | 1 debug.s 424 | Data | 00 | | 2 | 00/0419 : 00 00 | ds 2 ; 02 devNum
|
||||
929 | 1 debug.s 425 | Data | 00 | 3 | 4 | 00/041B : 8D 04 00 00 | adrl myBUFFER ; 04 buffer
|
||||
930 | 1 debug.s 426 | Data | 00 | | 4 | 00/041F : 00 02 00 00 | adrl 512 ; 08 requestCount
|
||||
931 | 1 debug.s 427 | Data | 00 | | 4 | 00/0423 : 00 00 00 00 | ds 4 ; 0C startingBlock
|
||||
932 | 1 debug.s 428 | Data | 00 | | 2 | 00/0427 : 00 02 | dw 512 ; 10 blockSize
|
||||
933 | 1 debug.s 429 | Data | 00 | | 4 | 00/0429 : 00 00 00 00 | ds 4 ; 14 transferCount
|
||||
934 | 1 debug.s 430 | Empty | 00 | | 0 | 00/042D |
|
||||
935 | 1 debug.s 431 | Data | 00 | | 2 | 00/042D : 05 00 | proDSTATUS dw 5 ; pCount
|
||||
936 | 1 debug.s 432 | Data | 00 | | 2 | 00/042F : 00 00 | ds 2 ; 02 devNum
|
||||
937 | 1 debug.s 433 | Data | 00 | | 2 | 00/0431 : 00 00 | ds 2 ; 04 code ($0000 = Device Status)
|
||||
938 | 1 debug.s 434 | Data | 00 | 3 | 4 | 00/0433 : 8D 06 00 00 | adrl myLIST ; 06 list
|
||||
939 | 1 debug.s 435 | Data | 00 | | 4 | 00/0437 : 00 02 00 00 | adrl 512 ; 0A requestCount (a big buffer)
|
||||
940 | 1 debug.s 436 | Data | 00 | | 4 | 00/043B : 00 00 00 00 | ds 4 ; 0E transferCount
|
||||
941 | 1 debug.s 437 | Empty | 00 | | 0 | 00/043F |
|
||||
942 | 1 debug.s 438 | Comment | 00 | | 0 | 00/043F | *----------
|
||||
943 | 1 debug.s 439 | Empty | 00 | | 0 | 00/043F |
|
||||
944 | 1 debug.s 440 | Data | 00 | | 12 | 00/043F : 0B 2E 41 53 | strDEVICE str '.ASSDDevice' ; length is 12 chars (including length byte)
|
||||
| | | | | | 53 44 44 65 |
|
||||
| | | | | | 76 69 63 65 |
|
||||
946 | 1 debug.s 442 | Empty | 00 | | 0 | 00/044B |
|
||||
947 | 1 debug.s 443 | Data | 00 | | 2 | 00/044B : 32 00 | devINFO dw $0032 ; buffer size
|
||||
948 | 1 debug.s 444 | Data | 00 | | 1 | 00/044D : 00 | devINFO1 db $00 ; length
|
||||
949 | 1 debug.s 445 | Data | 00 | | 1 | 00/044E : 00 | devINFO2 db $00
|
||||
950 | 1 debug.s 446 | Data | 00 | | 48 | 00/044F : 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 |
|
||||
951 | 1 debug.s 447 | Empty | 00 | | 0 | 00/047F |
|
||||
952 | 1 debug.s 448 | Comment | 00 | | 0 | 00/047F | *----------
|
||||
953 | 1 debug.s 449 | Empty | 00 | | 0 | 00/047F |
|
||||
954 | 1 debug.s 450 | Data | 00 | | 2 | 00/047F : 00 00 | appID ds 2
|
||||
955 | 1 debug.s 451 | Data | 00 | | 2 | 00/0481 : 00 00 | myID ds 2
|
||||
956 | 1 debug.s 452 | Empty | 00 | | 0 | 00/0483 |
|
||||
957 | 1 debug.s 453 | Data | 00 | | 2 | 00/0483 : 00 00 | myDP ds 2
|
||||
958 | 1 debug.s 454 | Data | 00 | | 4 | 00/0485 : 00 00 00 00 | ptrBUFFER ds 4
|
||||
959 | 1 debug.s 455 | Data | 00 | | 4 | 00/0489 : 00 00 00 00 | haBUFFER ds 4
|
||||
960 | 1 debug.s 456 | Empty | 00 | | 0 | 00/048D |
|
||||
961 | 1 debug.s 457 | Comment | 00 | | 0 | 00/048D | *----------
|
||||
962 | 1 debug.s 458 | Empty | 00 | | 0 | 00/048D |
|
||||
963 | 1 debug.s 459 | Data | 00 | | 512 | 00/048D : 00 00 00 00 | myBUFFER 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 |
|
||||
964 | 1 debug.s 460 | Data | 00 | | 512 | 00/068D : 00 00 00 00 | myLIST ds 512
|
||||
945 | 1 debug.s 441 | Empty | 00 | | 0 | 00/044B |
|
||||
946 | 1 debug.s 442 | Data | 00 | | 2 | 00/044B : 32 00 | devINFO dw $0032 ; buffer size
|
||||
947 | 1 debug.s 443 | Data | 00 | | 1 | 00/044D : 00 | devINFO1 db $00 ; length
|
||||
948 | 1 debug.s 444 | Data | 00 | | 1 | 00/044E : 00 | devINFO2 db $00
|
||||
949 | 1 debug.s 445 | Data | 00 | | 48 | 00/044F : 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 |
|
||||
950 | 1 debug.s 446 | Empty | 00 | | 0 | 00/047F |
|
||||
951 | 1 debug.s 447 | Comment | 00 | | 0 | 00/047F | *----------
|
||||
952 | 1 debug.s 448 | Empty | 00 | | 0 | 00/047F |
|
||||
953 | 1 debug.s 449 | Data | 00 | | 2 | 00/047F : 00 00 | appID ds 2
|
||||
954 | 1 debug.s 450 | Data | 00 | | 2 | 00/0481 : 00 00 | myID ds 2
|
||||
955 | 1 debug.s 451 | Empty | 00 | | 0 | 00/0483 |
|
||||
956 | 1 debug.s 452 | Data | 00 | | 2 | 00/0483 : 00 00 | myDP ds 2
|
||||
957 | 1 debug.s 453 | Data | 00 | | 4 | 00/0485 : 00 00 00 00 | ptrBUFFER ds 4
|
||||
958 | 1 debug.s 454 | Data | 00 | | 4 | 00/0489 : 00 00 00 00 | haBUFFER ds 4
|
||||
959 | 1 debug.s 455 | Empty | 00 | | 0 | 00/048D |
|
||||
960 | 1 debug.s 456 | Comment | 00 | | 0 | 00/048D | *----------
|
||||
961 | 1 debug.s 457 | Empty | 00 | | 0 | 00/048D |
|
||||
962 | 1 debug.s 458 | Data | 00 | | 512 | 00/048D : 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 |
|
||||
963 | 1 debug.s 459 | Data | 00 | | 512 | 00/068D : 00 00 00 00 | myLIST ds 512
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 00 00 00 |
|
||||
@ -919,6 +918,6 @@
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 00 00 00 |
|
||||
| | | | | | 00 00 00 00 |
|
||||
964 | 1 debug.s 460 | Empty | 00 | | 0 | 00/088D |
|
||||
965 | 1 debug.s 461 | Empty | 00 | | 0 | 00/088D |
|
||||
966 | 1 debug.s 462 | Empty | 00 | | 0 | 00/088D |
|
||||
------+-------------------+-------------+----+---------+------+-----------------------+-------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user