------+-------------------+-------------+----+---------+------+-----------------------+------------------------------------------------------------------- Line | # File Line | Line Type | MX | Reloc | Size | Address Object Code | Source Code ------+-------------------+-------------+----+---------+------+-----------------------+------------------------------------------------------------------- 1 | 1 debug.s 1 | Comment | 11 | | 0 | 00/0000 | * 2 | 1 debug.s 2 | Comment | 11 | | 0 | 00/0000 | * Debug 3 | 1 debug.s 3 | Comment | 11 | | 0 | 00/0000 | * Play with the SD card 4 | 1 debug.s 4 | Comment | 11 | | 0 | 00/0000 | * 5 | 1 debug.s 5 | Comment | 11 | | 0 | 00/0000 | * (c) 2023, Brutal Deluxe Software 6 | 1 debug.s 6 | Comment | 11 | | 0 | 00/0000 | * Visit brutaldeluxe.fr 7 | 1 debug.s 7 | Comment | 11 | | 0 | 00/0000 | * 8 | 1 debug.s 8 | Empty | 11 | | 0 | 00/0000 | 9 | 1 debug.s 9 | Directive | 11 | | 0 | 00/0000 | xc 10 | 1 debug.s 10 | Directive | 11 | | 0 | 00/0000 | xc 11 | 1 debug.s 11 | Directive | 00 | | 0 | 00/0000 | mx %00 12 | 1 debug.s 12 | Empty | 00 | | 0 | 00/0000 | 13 | 1 debug.s 13 | Directive | 00 | | 0 | 00/0000 | rel 14 | 1 debug.s 14 | Directive | 00 | | 0 | 00/0000 | dsk debug.l 15 | 1 debug.s 15 | Directive | 00 | | 0 | 00/0000 | lst off 16 | 1 debug.s 16 | Empty | 00 | | 0 | 00/0000 | 17 | 1 debug.s 17 | Comment | 00 | | 0 | 00/0000 | *---------- 18 | 1 debug.s 18 | Empty | 00 | | 0 | 00/0000 | 19 | 1 debug.s 19 | Directive | 00 | | 0 | 00/0000 | use 4/Int.Macs 20 | 1 debug.s 20 | Directive | 00 | | 0 | 00/0000 | use 4/Locator.Macs 21 | 1 debug.s 21 | Directive | 00 | | 0 | 00/0000 | use 4/Mem.Macs 22 | 1 debug.s 22 | Directive | 00 | | 0 | 00/0000 | use 4/Misc.Macs 23 | 1 debug.s 23 | Directive | 00 | | 0 | 00/0000 | use 4/Text.Macs 24 | 1 debug.s 24 | Directive | 00 | | 0 | 00/0000 | use 4/Util.Macs 25 | 1 debug.s 25 | Empty | 00 | | 0 | 00/0000 | 26 | 1 debug.s 26 | Equivalence | 00 | | 0 | 00/0000 | Debut = $00 27 | 1 debug.s 27 | Equivalence | 00 | | 0 | 00/0000 | GSOS = $e100a8 28 | 1 debug.s 28 | Empty | 00 | | 0 | 00/0000 | 29 | 1 debug.s 29 | Comment | 00 | | 0 | 00/0000 | *---------- 30 | 1 debug.s 30 | Empty | 00 | | 0 | 00/0000 | 31 | 1 debug.s 31 | Equivalence | 00 | | 0 | 00/0000 | dcREMOVE = $0004 32 | 1 debug.s 32 | Equivalence | 00 | | 0 | 00/0000 | dcONLINE = $0010 33 | 1 debug.s 33 | Equivalence | 00 | | 0 | 00/0000 | dcBLOCKDEVICE = $0080 34 | 1 debug.s 34 | Empty | 00 | | 0 | 00/0000 | 35 | 1 debug.s 35 | Equivalence | 00 | | 0 | 00/0000 | maxDEVICES = 128 36 | 1 debug.s 36 | Empty | 00 | | 0 | 00/0000 | 37 | 1 debug.s 37 | Comment | 00 | | 0 | 00/0000 | *---------- 38 | 1 debug.s 38 | Empty | 00 | | 0 | 00/0000 | 39 | 1 debug.s 39 | Code | 00 | | 1 | 00/0000 : 4B | phk 40 | 1 debug.s 40 | Code | 00 | | 1 | 00/0001 : AB | plb 41 | 1 debug.s 41 | Empty | 00 | | 0 | 00/0002 | 42 | 1 debug.s 42 | Code | 00 | | 1 | 00/0002 : 7B | tdc 43 | 1 debug.s 43 | Code | 00 | 2 | 3 | 00/0003 : 8D D4 04 | sta myDP 44 | 1 debug.s 44 | Empty | 00 | | 0 | 00/0006 | 45 | 1 debug.s 45 | Macro | 00 | | 0 | 00/0006 | _TLStartUp 47 | 1 debug.s 45 | Code | 00 | | 3 | 00/0006 : A2 01 02 | LDX #$201 ; load tool call # 48 | 1 debug.s 45 | Code | 00 | | 4 | 00/0009 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 49 | 1 debug.s 46 | Code | 00 | | 1 | 00/000D : 48 | pha 50 | 1 debug.s 47 | Macro | 00 | | 0 | 00/000E | _MMStartUp 52 | 1 debug.s 47 | Code | 00 | | 3 | 00/000E : A2 02 02 | LDX #$202 ; load tool call # 53 | 1 debug.s 47 | Code | 00 | | 4 | 00/0011 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 54 | 1 debug.s 48 | Code | 00 | | 1 | 00/0015 : 68 | pla 55 | 1 debug.s 49 | Code | 00 | 2 | 3 | 00/0016 : 8D D0 04 | sta appID 56 | 1 debug.s 50 | Code | 00 | | 3 | 00/0019 : 09 00 01 | ora #$0100 57 | 1 debug.s 51 | Code | 00 | 2 | 3 | 00/001C : 8D D2 04 | sta myID 58 | 1 debug.s 52 | Empty | 00 | | 0 | 00/001F | 59 | 1 debug.s 53 | Macro | 00 | | 0 | 00/001F | _MTStartUp 61 | 1 debug.s 53 | Code | 00 | | 3 | 00/001F : A2 03 02 | LDX #$203 ; load tool call # 62 | 1 debug.s 53 | Code | 00 | | 4 | 00/0022 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 63 | 1 debug.s 54 | Macro | 00 | | 0 | 00/0026 | _TextStartUp 65 | 1 debug.s 54 | Code | 00 | | 3 | 00/0026 : A2 0C 02 | LDX #$20C ; load tool call # 66 | 1 debug.s 54 | Code | 00 | | 4 | 00/0029 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 67 | 1 debug.s 55 | Empty | 00 | | 0 | 00/002D | 68 | 1 debug.s 56 | Macro | 00 | | 0 | 00/002D | _IMStartUp 70 | 1 debug.s 56 | Code | 00 | | 3 | 00/002D : A2 0B 02 | LDX #$20B ; load tool call # 71 | 1 debug.s 56 | Code | 00 | | 4 | 00/0030 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 72 | 1 debug.s 57 | Empty | 00 | | 0 | 00/0034 | 73 | 1 debug.s 58 | Code | 00 | | 1 | 00/0034 : 48 | pha 74 | 1 debug.s 59 | Code | 00 | | 1 | 00/0035 : 48 | pha 75 | 1 debug.s 60 | Macro | 00 | | 0 | 00/0036 | PushLong #$010000 79 | 1 debug.s 60 | Code | 00 | | 3 | 00/0036 : F4 01 00 | PEA #^#$010000 86 | 1 debug.s 60 | Code | 00 | | 3 | 00/0039 : F4 00 00 | PEA #$010000 89 | 1 debug.s 61 | Macro | 00 | | 0 | 00/003C | PushWord myID 94 | 1 debug.s 61 | Code | 00 | 2 | 3 | 00/003C : AD D2 04 | LDA myID 95 | 1 debug.s 61 | Code | 00 | | 1 | 00/003F : 48 | PHA 97 | 1 debug.s 62 | Macro | 00 | | 0 | 00/0040 | PushWord #%11000000_00011100 99 | 1 debug.s 62 | Code | 00 | | 3 | 00/0040 : F4 1C C0 | PEA #%11000000_00011100 102 | 1 debug.s 63 | Macro | 00 | | 0 | 00/0043 | PushLong #0 106 | 1 debug.s 63 | Code | 00 | | 3 | 00/0043 : F4 00 00 | PEA #^#0 113 | 1 debug.s 63 | Code | 00 | | 3 | 00/0046 : F4 00 00 | PEA #0 116 | 1 debug.s 64 | Macro | 00 | | 0 | 00/0049 | _NewHandle 118 | 1 debug.s 64 | Code | 00 | | 3 | 00/0049 : A2 02 09 | LDX #$902 ; load tool call # 119 | 1 debug.s 64 | Code | 00 | | 4 | 00/004C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 120 | 1 debug.s 65 | Code | 00 | | 1 | 00/0050 : 0B | phd 121 | 1 debug.s 66 | Code | 00 | | 1 | 00/0051 : 3B | tsc 122 | 1 debug.s 67 | Code | 00 | | 1 | 00/0052 : 5B | tcd 123 | 1 debug.s 68 | Code | 00 | | 2 | 00/0053 : A7 03 | lda [3] 124 | 1 debug.s 69 | Code | 00 | 2 | 3 | 00/0055 : 8D D6 04 | sta ptrBUFFER 125 | 1 debug.s 70 | Code | 00 | | 3 | 00/0058 : A0 02 00 | ldy #2 126 | 1 debug.s 71 | Code | 00 | | 2 | 00/005B : B7 03 | lda [3],y 127 | 1 debug.s 72 | Code | 00 | 2 | 3 | 00/005D : 8D D8 04 | sta ptrBUFFER+2 128 | 1 debug.s 73 | Code | 00 | | 1 | 00/0060 : 2B | pld 129 | 1 debug.s 74 | Code | 00 | | 1 | 00/0061 : 7A | ply 130 | 1 debug.s 75 | Code | 00 | 2 | 3 | 00/0062 : 8C DA 04 | sty haBUFFER 131 | 1 debug.s 76 | Code | 00 | | 1 | 00/0065 : FA | plx 132 | 1 debug.s 77 | Code | 00 | 2 | 3 | 00/0066 : 8E DC 04 | stx haBUFFER+2 133 | 1 debug.s 78 | Empty | 00 | | 0 | 00/0069 | 134 | 1 debug.s 79 | Comment | 00 | | 0 | 00/0069 | *---------- 135 | 1 debug.s 80 | Empty | 00 | | 0 | 00/0069 | 136 | 1 debug.s 81 | Macro | 00 | | 0 | 00/0069 | PushWord #$00FF 138 | 1 debug.s 81 | Code | 00 | | 3 | 00/0069 : F4 FF 00 | PEA #$00FF 141 | 1 debug.s 82 | Macro | 00 | | 0 | 00/006C | PushWord #$0080 143 | 1 debug.s 82 | Code | 00 | | 3 | 00/006C : F4 80 00 | PEA #$0080 146 | 1 debug.s 83 | Macro | 00 | | 0 | 00/006F | _SetInGlobals 148 | 1 debug.s 83 | Code | 00 | | 3 | 00/006F : A2 0C 09 | LDX #$90C ; load tool call # 149 | 1 debug.s 83 | Code | 00 | | 4 | 00/0072 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 150 | 1 debug.s 84 | Macro | 00 | | 0 | 00/0076 | PushWord #$00FF 152 | 1 debug.s 84 | Code | 00 | | 3 | 00/0076 : F4 FF 00 | PEA #$00FF 155 | 1 debug.s 85 | Macro | 00 | | 0 | 00/0079 | PushWord #$0080 157 | 1 debug.s 85 | Code | 00 | | 3 | 00/0079 : F4 80 00 | PEA #$0080 160 | 1 debug.s 86 | Macro | 00 | | 0 | 00/007C | _SetOutGlobals 162 | 1 debug.s 86 | Code | 00 | | 3 | 00/007C : A2 0C 0A | LDX #$A0C ; load tool call # 163 | 1 debug.s 86 | Code | 00 | | 4 | 00/007F : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 164 | 1 debug.s 87 | Macro | 00 | | 0 | 00/0083 | PushWord #$00FF 166 | 1 debug.s 87 | Code | 00 | | 3 | 00/0083 : F4 FF 00 | PEA #$00FF 169 | 1 debug.s 88 | Macro | 00 | | 0 | 00/0086 | PushWord #$0080 171 | 1 debug.s 88 | Code | 00 | | 3 | 00/0086 : F4 80 00 | PEA #$0080 174 | 1 debug.s 89 | Macro | 00 | | 0 | 00/0089 | _SetErrGlobals 176 | 1 debug.s 89 | Code | 00 | | 3 | 00/0089 : A2 0C 0B | LDX #$B0C ; load tool call # 177 | 1 debug.s 89 | Code | 00 | | 4 | 00/008C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 178 | 1 debug.s 90 | Empty | 00 | | 0 | 00/0090 | 179 | 1 debug.s 91 | Macro | 00 | | 0 | 00/0090 | PushWord #0 181 | 1 debug.s 91 | Code | 00 | | 3 | 00/0090 : F4 00 00 | PEA #0 184 | 1 debug.s 92 | Macro | 00 | | 0 | 00/0093 | PushLong #3 188 | 1 debug.s 92 | Code | 00 | | 3 | 00/0093 : F4 00 00 | PEA #^#3 195 | 1 debug.s 92 | Code | 00 | | 3 | 00/0096 : F4 03 00 | PEA #3 198 | 1 debug.s 93 | Macro | 00 | | 0 | 00/0099 | _SetInputDevice 200 | 1 debug.s 93 | Code | 00 | | 3 | 00/0099 : A2 0C 0F | LDX #$F0C ; load tool call # 201 | 1 debug.s 93 | Code | 00 | | 4 | 00/009C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 202 | 1 debug.s 94 | Macro | 00 | | 0 | 00/00A0 | PushWord #0 204 | 1 debug.s 94 | Code | 00 | | 3 | 00/00A0 : F4 00 00 | PEA #0 207 | 1 debug.s 95 | Macro | 00 | | 0 | 00/00A3 | PushLong #3 211 | 1 debug.s 95 | Code | 00 | | 3 | 00/00A3 : F4 00 00 | PEA #^#3 218 | 1 debug.s 95 | Code | 00 | | 3 | 00/00A6 : F4 03 00 | PEA #3 221 | 1 debug.s 96 | Macro | 00 | | 0 | 00/00A9 | _SetOutputDevice 223 | 1 debug.s 96 | Code | 00 | | 3 | 00/00A9 : A2 0C 10 | LDX #$100C ; load tool call # 224 | 1 debug.s 96 | Code | 00 | | 4 | 00/00AC : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 225 | 1 debug.s 97 | Macro | 00 | | 0 | 00/00B0 | PushWord #0 227 | 1 debug.s 97 | Code | 00 | | 3 | 00/00B0 : F4 00 00 | PEA #0 230 | 1 debug.s 98 | Macro | 00 | | 0 | 00/00B3 | PushLong #3 234 | 1 debug.s 98 | Code | 00 | | 3 | 00/00B3 : F4 00 00 | PEA #^#3 241 | 1 debug.s 98 | Code | 00 | | 3 | 00/00B6 : F4 03 00 | PEA #3 244 | 1 debug.s 99 | Macro | 00 | | 0 | 00/00B9 | _SetErrorDevice 246 | 1 debug.s 99 | Code | 00 | | 3 | 00/00B9 : A2 0C 11 | LDX #$110C ; load tool call # 247 | 1 debug.s 99 | Code | 00 | | 4 | 00/00BC : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 248 | 1 debug.s 100 | Empty | 00 | | 0 | 00/00C0 | 249 | 1 debug.s 101 | Macro | 00 | | 0 | 00/00C0 | PushWord #0 251 | 1 debug.s 101 | Code | 00 | | 3 | 00/00C0 : F4 00 00 | PEA #0 254 | 1 debug.s 102 | Macro | 00 | | 0 | 00/00C3 | _InitTextDev 256 | 1 debug.s 102 | Code | 00 | | 3 | 00/00C3 : A2 0C 15 | LDX #$150C ; load tool call # 257 | 1 debug.s 102 | Code | 00 | | 4 | 00/00C6 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 258 | 1 debug.s 103 | Macro | 00 | | 0 | 00/00CA | PushWord #1 260 | 1 debug.s 103 | Code | 00 | | 3 | 00/00CA : F4 01 00 | PEA #1 263 | 1 debug.s 104 | Macro | 00 | | 0 | 00/00CD | _InitTextDev 265 | 1 debug.s 104 | Code | 00 | | 3 | 00/00CD : A2 0C 15 | LDX #$150C ; load tool call # 266 | 1 debug.s 104 | Code | 00 | | 4 | 00/00D0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 267 | 1 debug.s 105 | Macro | 00 | | 0 | 00/00D4 | PushWord #2 269 | 1 debug.s 105 | Code | 00 | | 3 | 00/00D4 : F4 02 00 | PEA #2 272 | 1 debug.s 106 | Macro | 00 | | 0 | 00/00D7 | _InitTextDev 274 | 1 debug.s 106 | Code | 00 | | 3 | 00/00D7 : A2 0C 15 | LDX #$150C ; load tool call # 275 | 1 debug.s 106 | Code | 00 | | 4 | 00/00DA : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 276 | 1 debug.s 107 | Empty | 00 | | 0 | 00/00DE | 277 | 1 debug.s 108 | Macro | 00 | | 0 | 00/00DE | PushWord #$0c ; home 279 | 1 debug.s 108 | Code | 00 | | 3 | 00/00DE : F4 0C 00 | PEA #$0c 282 | 1 debug.s 109 | Macro | 00 | | 0 | 00/00E1 | _WriteChar 284 | 1 debug.s 109 | Code | 00 | | 3 | 00/00E1 : A2 0C 18 | LDX #$180C ; load tool call # 285 | 1 debug.s 109 | Code | 00 | | 4 | 00/00E4 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 286 | 1 debug.s 110 | Empty | 00 | | 0 | 00/00E8 | 287 | 1 debug.s 111 | Comment | 00 | | 0 | 00/00E8 | *---------------------------- 288 | 1 debug.s 112 | Comment | 00 | | 0 | 00/00E8 | * MAIN MENU 289 | 1 debug.s 113 | Comment | 00 | | 0 | 00/00E8 | *---------------------------- 290 | 1 debug.s 114 | Empty | 00 | | 0 | 00/00E8 | 291 | 1 debug.s 115 | Macro | 00 | | 0 | 00/00E8 | mainMENU PushLong #strMAINMENU 295 | 1 debug.s 115 | Code | 00 | 1 >>16 | 3 | 00/00E8 : F4 00 00 | PEA #^#strMAINMENU 302 | 1 debug.s 115 | Code | 00 | 2 | 3 | 00/00EB : F4 FE 00 | PEA #strMAINMENU 305 | 1 debug.s 116 | Macro | 00 | | 0 | 00/00EE | _WriteCString 307 | 1 debug.s 116 | Code | 00 | | 3 | 00/00EE : A2 0C 20 | LDX #$200C ; load tool call # 308 | 1 debug.s 116 | Code | 00 | | 4 | 00/00F1 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 309 | 1 debug.s 117 | Empty | 00 | | 0 | 00/00F5 | 310 | 1 debug.s 118 | Code | 00 | 2 | 3 | 00/00F5 : 20 6B 01 | jsr pollDEVICES ; show CD-ROM devices 311 | 1 debug.s 119 | Code | 00 | 2 | 3 | 00/00F8 : 20 C1 03 | jsr waitFORKEY ; is it 0-9 312 | 1 debug.s 120 | Code | 00 | 2 | 3 | 00/00FB : 4C 2D 01 | jmp doQUIT 313 | 1 debug.s 121 | Empty | 00 | | 0 | 00/00FE | 314 | 1 debug.s 122 | Comment | 00 | | 0 | 00/00FE | *--- Data 315 | 1 debug.s 123 | Empty | 00 | | 0 | 00/00FE | 316 | 1 debug.s 124 | Data | 00 | | 12 | 00/00FE : 0D 44 65 62 | strMAINMENU asc 0d'Debug ASSD'0d | | | | | | 75 67 20 41 | | | | | | | 53 53 44 0D | 317 | 1 debug.s 125 | Data | 00 | | 35 | 00/010A : 28 63 29 20 | asc '(c) 2023, Brutal Deluxe Software'0d0d00 | | | | | | 32 30 32 33 | | | | | | | 2C 20 42 72 | | | | | | | 75 74 61 6C | | | | | | | 20 44 65 6C | | | | | | | 75 78 65 20 | | | | | | | 53 6F 66 74 | | | | | | | 77 61 72 65 | | | | | | | 0D 0D 00 | 318 | 1 debug.s 126 | Empty | 00 | | 0 | 00/012D | 319 | 1 debug.s 127 | Comment | 00 | | 0 | 00/012D | *---------------------------- 320 | 1 debug.s 128 | Comment | 00 | | 0 | 00/012D | * QUIT PROGRAM 321 | 1 debug.s 129 | Comment | 00 | | 0 | 00/012D | *---------------------------- 322 | 1 debug.s 130 | Empty | 00 | | 0 | 00/012D | 323 | 1 debug.s 131 | Macro | 00 | | 0 | 00/012D | doQUIT _IMShutDown 325 | 1 debug.s 131 | Code | 00 | | 3 | 00/012D : A2 0B 03 | LDX #$30B ; load tool call # 326 | 1 debug.s 131 | Code | 00 | | 4 | 00/0130 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 327 | 1 debug.s 132 | Macro | 00 | | 0 | 00/0134 | _TextShutDown 329 | 1 debug.s 132 | Code | 00 | | 3 | 00/0134 : A2 0C 03 | LDX #$30C ; load tool call # 330 | 1 debug.s 132 | Code | 00 | | 4 | 00/0137 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 331 | 1 debug.s 133 | Macro | 00 | | 0 | 00/013B | _MTShutDown 333 | 1 debug.s 133 | Code | 00 | | 3 | 00/013B : A2 03 03 | LDX #$303 ; load tool call # 334 | 1 debug.s 133 | Code | 00 | | 4 | 00/013E : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 335 | 1 debug.s 134 | Empty | 00 | | 0 | 00/0142 | 336 | 1 debug.s 135 | Macro | 00 | | 0 | 00/0142 | PushWord myID 341 | 1 debug.s 135 | Code | 00 | 2 | 3 | 00/0142 : AD D2 04 | LDA myID 342 | 1 debug.s 135 | Code | 00 | | 1 | 00/0145 : 48 | PHA 344 | 1 debug.s 136 | Macro | 00 | | 0 | 00/0146 | _DisposeAll 346 | 1 debug.s 136 | Code | 00 | | 3 | 00/0146 : A2 02 11 | LDX #$1102 ; load tool call # 347 | 1 debug.s 136 | Code | 00 | | 4 | 00/0149 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 348 | 1 debug.s 137 | Empty | 00 | | 0 | 00/014D | 349 | 1 debug.s 138 | Macro | 00 | | 0 | 00/014D | PushWord appID 354 | 1 debug.s 138 | Code | 00 | 2 | 3 | 00/014D : AD D0 04 | LDA appID 355 | 1 debug.s 138 | Code | 00 | | 1 | 00/0150 : 48 | PHA 357 | 1 debug.s 139 | Macro | 00 | | 0 | 00/0151 | _MMShutDown 359 | 1 debug.s 139 | Code | 00 | | 3 | 00/0151 : A2 02 03 | LDX #$302 ; load tool call # 360 | 1 debug.s 139 | Code | 00 | | 4 | 00/0154 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 361 | 1 debug.s 140 | Empty | 00 | | 0 | 00/0158 | 362 | 1 debug.s 141 | Macro | 00 | | 0 | 00/0158 | _TLShutDown 364 | 1 debug.s 141 | Code | 00 | | 3 | 00/0158 : A2 01 03 | LDX #$301 ; load tool call # 365 | 1 debug.s 141 | Code | 00 | | 4 | 00/015B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 366 | 1 debug.s 142 | Empty | 00 | | 0 | 00/015F | 367 | 1 debug.s 143 | Code | 00 | | 4 | 00/015F : 22 A8 00 E1 | jsl {$e100a8} 368 | 1 debug.s 144 | Data | 00 | | 2 | 00/0163 : 29 20 | dw $2029 369 | 1 debug.s 145 | Data | 00 | 3 | 4 | 00/0165 : 34 04 00 00 | adrl proQUIT 370 | 1 debug.s 146 | Empty | 00 | | 0 | 00/0169 | 371 | 1 debug.s 147 | Code | 00 | | 2 | 00/0169 : 00 BD | brk $bd 372 | 1 debug.s 148 | Empty | 00 | | 0 | 00/016B | 373 | 1 debug.s 149 | Comment | 00 | | 0 | 00/016B | *---------------------------- 374 | 1 debug.s 150 | Comment | 00 | | 0 | 00/016B | * POLL DEVICES 375 | 1 debug.s 151 | Comment | 00 | | 0 | 00/016B | *---------------------------- 376 | 1 debug.s 152 | Empty | 00 | | 0 | 00/016B | 377 | 1 debug.s 153 | Code | 00 | | 3 | 00/016B : A9 01 00 | pollDEVICES lda #1 ; start with device 1 378 | 1 debug.s 154 | Code | 00 | 2 | 3 | 00/016E : 8D 3E 04 | sta proDINFO+2 379 | 1 debug.s 155 | Empty | 00 | | 0 | 00/0171 | 380 | 1 debug.s 156 | Code | 00 | | 4 | 00/0171 : 22 A8 00 E1 | ozunid_1 jsl {$e100a8} ; do a DInfo 381 | 1 debug.s 157 | Data | 00 | | 2 | 00/0175 : 2C 20 | dw $202c 382 | 1 debug.s 158 | Data | 00 | 3 | 4 | 00/0177 : 3C 04 00 00 | adrl proDINFO 383 | 1 debug.s 159 | Code | 00 | | 2 | 00/017B : 90 0B | bcc found 384 | 1 debug.s 160 | Empty | 00 | | 0 | 00/017D | 385 | 1 debug.s 161 | Code | 00 | | 3 | 00/017D : C9 11 00 | cmp #$0011 ; no more devices 386 | 1 debug.s 162 | Code | 00 | | 2 | 00/0180 : D0 01 | bne loop 387 | 1 debug.s 163 | Code | 00 | | 1 | 00/0182 : 60 | rts 388 | 1 debug.s 164 | Empty | 00 | | 0 | 00/0183 | 389 | 1 debug.s 165 | Code | 00 | 2 | 3 | 00/0183 : EE 3E 04 | loop inc proDINFO+2 390 | 1 debug.s 166 | Code | 00 | | 2 | 00/0186 : 80 E9 | bra ozunid_1 391 | 1 debug.s 167 | Empty | 00 | | 0 | 00/0188 | 392 | 1 debug.s 168 | Comment | 00 | | 0 | 00/0188 | *---------- Show device 393 | 1 debug.s 169 | Empty | 00 | | 0 | 00/0188 | 394 | 1 debug.s 170 | Code | 00 | 2 | 3 | 00/0188 : AD 44 04 | found lda proDINFO+8 ; block device? 395 | 1 debug.s 171 | Code | 00 | | 3 | 00/018B : 29 80 00 | and #{$0080} 396 | 1 debug.s 172 | Code | 00 | | 2 | 00/018E : F0 F3 | beq loop 397 | 1 debug.s 173 | Empty | 00 | | 0 | 00/0190 | 398 | 1 debug.s 174 | Code | 00 | 2 | 3 | 00/0190 : AD 9E 04 | lda devINFO1 ; from a STRL to a STR 399 | 1 debug.s 175 | Code | 00 | | 1 | 00/0193 : EB | xba 400 | 1 debug.s 176 | Code | 00 | 2 | 3 | 00/0194 : 8D 9E 04 | sta devINFO1 401 | 1 debug.s 177 | Empty | 00 | | 0 | 00/0197 | 402 | 1 debug.s 178 | Code | 00 | | 3 | 00/0197 : A2 0A 00 | ldx #10 ; compare name 403 | 1 debug.s 179 | Code | 00 | 2 | 3 | 00/019A : BD 9F 04 | ozunid_2 lda devINFO2,x 404 | 1 debug.s 180 | Code | 00 | 2 | 3 | 00/019D : DD 90 04 | cmp strDEVICE,x 405 | 1 debug.s 181 | Code | 00 | | 2 | 00/01A0 : D0 E1 | bne loop 406 | 1 debug.s 182 | Code | 00 | | 1 | 00/01A2 : CA | dex 407 | 1 debug.s 183 | Code | 00 | | 1 | 00/01A3 : CA | dex 408 | 1 debug.s 184 | Code | 00 | | 2 | 00/01A4 : 10 F4 | bpl ozunid_2 409 | 1 debug.s 185 | Empty | 00 | | 0 | 00/01A6 | 410 | 1 debug.s 186 | Comment | 00 | | 0 | 00/01A6 | *--- Show device ID 411 | 1 debug.s 187 | Empty | 00 | | 0 | 00/01A6 | 412 | 1 debug.s 188 | Code | 00 | 2 | 3 | 00/01A6 : AD 3E 04 | lda proDINFO+2 413 | 1 debug.s 189 | Code | 00 | 2 | 3 | 00/01A9 : 8D 54 04 | sta proDREAD+2 414 | 1 debug.s 190 | Code | 00 | 2 | 3 | 00/01AC : 8D 6A 04 | sta proDWRITE+2 415 | 1 debug.s 191 | Code | 00 | 2 | 3 | 00/01AF : 8D 80 04 | sta proDSTATUS+2 416 | 1 debug.s 192 | Code | 00 | 2 | 3 | 00/01B2 : 20 06 04 | jsr showHEX 417 | 1 debug.s 193 | Empty | 00 | | 0 | 00/01B5 | 418 | 1 debug.s 194 | Macro | 00 | | 0 | 00/01B5 | PushWord #$20 420 | 1 debug.s 194 | Code | 00 | | 3 | 00/01B5 : F4 20 00 | PEA #$20 423 | 1 debug.s 195 | Macro | 00 | | 0 | 00/01B8 | _WriteChar 425 | 1 debug.s 195 | Code | 00 | | 3 | 00/01B8 : A2 0C 18 | LDX #$180C ; load tool call # 426 | 1 debug.s 195 | Code | 00 | | 4 | 00/01BB : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 427 | 1 debug.s 196 | Empty | 00 | | 0 | 00/01BF | 428 | 1 debug.s 197 | Comment | 00 | | 0 | 00/01BF | *--- Show Characteristics 429 | 1 debug.s 198 | Empty | 00 | | 0 | 00/01BF | 430 | 1 debug.s 199 | Code | 00 | 2 | 3 | 00/01BF : AD 44 04 | lda proDINFO+8 431 | 1 debug.s 200 | Code | 00 | 2 | 3 | 00/01C2 : 20 06 04 | jsr showHEX 432 | 1 debug.s 201 | Empty | 00 | | 0 | 00/01C5 | 433 | 1 debug.s 202 | Macro | 00 | | 0 | 00/01C5 | PushWord #$20 435 | 1 debug.s 202 | Code | 00 | | 3 | 00/01C5 : F4 20 00 | PEA #$20 438 | 1 debug.s 203 | Macro | 00 | | 0 | 00/01C8 | _WriteChar 440 | 1 debug.s 203 | Code | 00 | | 3 | 00/01C8 : A2 0C 18 | LDX #$180C ; load tool call # 441 | 1 debug.s 203 | Code | 00 | | 4 | 00/01CB : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 442 | 1 debug.s 204 | Empty | 00 | | 0 | 00/01CF | 443 | 1 debug.s 205 | Comment | 00 | | 0 | 00/01CF | *--- Show Name 444 | 1 debug.s 206 | Empty | 00 | | 0 | 00/01CF | 445 | 1 debug.s 207 | Macro | 00 | | 0 | 00/01CF | PushLong #devINFO2 449 | 1 debug.s 207 | Code | 00 | 1 >>16 | 3 | 00/01CF : F4 00 00 | PEA #^#devINFO2 456 | 1 debug.s 207 | Code | 00 | 2 | 3 | 00/01D2 : F4 9F 04 | PEA #devINFO2 459 | 1 debug.s 208 | Macro | 00 | | 0 | 00/01D5 | _WriteString 461 | 1 debug.s 208 | Code | 00 | | 3 | 00/01D5 : A2 0C 1C | LDX #$1C0C ; load tool call # 462 | 1 debug.s 208 | Code | 00 | | 4 | 00/01D8 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 463 | 1 debug.s 209 | Empty | 00 | | 0 | 00/01DC | 464 | 1 debug.s 210 | Comment | 00 | | 0 | 00/01DC | *--- Perform a DStatus 465 | 1 debug.s 211 | Empty | 00 | | 0 | 00/01DC | 466 | 1 debug.s 212 | Macro | 00 | | 0 | 00/01DC | PushLong #strDSTATUS ; show the string 470 | 1 debug.s 212 | Code | 00 | 1 >>16 | 3 | 00/01DC : F4 00 00 | PEA #^#strDSTATUS 477 | 1 debug.s 212 | Code | 00 | 2 | 3 | 00/01DF : F4 70 03 | PEA #strDSTATUS 480 | 1 debug.s 213 | Macro | 00 | | 0 | 00/01E2 | _WriteCString 482 | 1 debug.s 213 | Code | 00 | | 3 | 00/01E2 : A2 0C 20 | LDX #$200C ; load tool call # 483 | 1 debug.s 213 | Code | 00 | | 4 | 00/01E5 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 484 | 1 debug.s 214 | Empty | 00 | | 0 | 00/01E9 | 485 | 1 debug.s 215 | Code | 00 | | 4 | 00/01E9 : 22 A8 00 E1 | jsl {$e100a8} 486 | 1 debug.s 216 | Data | 00 | | 2 | 00/01ED : 2D 20 | dw $202d 487 | 1 debug.s 217 | Data | 00 | 3 | 4 | 00/01EF : 7E 04 00 00 | adrl proDSTATUS 488 | 1 debug.s 218 | Code | 00 | 2 | 3 | 00/01F3 : 20 9A 02 | jsr showERRCODE 489 | 1 debug.s 219 | Empty | 00 | | 0 | 00/01F6 | 490 | 1 debug.s 220 | Comment | 00 | | 0 | 00/01F6 | *--- Show device status characteristics 491 | 1 debug.s 221 | Empty | 00 | | 0 | 00/01F6 | 492 | 1 debug.s 222 | Macro | 00 | | 0 | 00/01F6 | PushLong #strCHARS ; show device characteristics 496 | 1 debug.s 222 | Code | 00 | 1 >>16 | 3 | 00/01F6 : F4 00 00 | PEA #^#strCHARS 503 | 1 debug.s 222 | Code | 00 | 2 | 3 | 00/01F9 : F4 7B 03 | PEA #strCHARS 506 | 1 debug.s 223 | Macro | 00 | | 0 | 00/01FC | _WriteCString 508 | 1 debug.s 223 | Code | 00 | | 3 | 00/01FC : A2 0C 20 | LDX #$200C ; load tool call # 509 | 1 debug.s 223 | Code | 00 | | 4 | 00/01FF : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 510 | 1 debug.s 224 | Empty | 00 | | 0 | 00/0203 | 511 | 1 debug.s 225 | Code | 00 | 2 | 3 | 00/0203 : AD DE 06 | lda myLIST 512 | 1 debug.s 226 | Code | 00 | 2 | 3 | 00/0206 : 20 06 04 | jsr showHEX 513 | 1 debug.s 227 | Empty | 00 | | 0 | 00/0209 | 514 | 1 debug.s 228 | Comment | 00 | | 0 | 00/0209 | *--- Show device status number of blocks 515 | 1 debug.s 229 | Empty | 00 | | 0 | 00/0209 | 516 | 1 debug.s 230 | Macro | 00 | | 0 | 00/0209 | PushLong #strBLOCKS ; show number of blocks 520 | 1 debug.s 230 | Code | 00 | 1 >>16 | 3 | 00/0209 : F4 00 00 | PEA #^#strBLOCKS 527 | 1 debug.s 230 | Code | 00 | 2 | 3 | 00/020C : F4 8F 03 | PEA #strBLOCKS 530 | 1 debug.s 231 | Macro | 00 | | 0 | 00/020F | _WriteCString 532 | 1 debug.s 231 | Code | 00 | | 3 | 00/020F : A2 0C 20 | LDX #$200C ; load tool call # 533 | 1 debug.s 231 | Code | 00 | | 4 | 00/0212 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 534 | 1 debug.s 232 | Empty | 00 | | 0 | 00/0216 | 535 | 1 debug.s 233 | Code | 00 | 2 | 3 | 00/0216 : AD E2 06 | lda myLIST+4 536 | 1 debug.s 234 | Code | 00 | 2 | 3 | 00/0219 : 20 06 04 | jsr showHEX 537 | 1 debug.s 235 | Code | 00 | 2 | 3 | 00/021C : AD E0 06 | lda myLIST+2 538 | 1 debug.s 236 | Code | 00 | 2 | 3 | 00/021F : 20 E6 03 | jsr showWORD 539 | 1 debug.s 237 | Empty | 00 | | 0 | 00/0222 | 540 | 1 debug.s 238 | Comment | 00 | | 0 | 00/0222 | *--- Perform a DRead 541 | 1 debug.s 239 | Empty | 00 | | 0 | 00/0222 | 542 | 1 debug.s 240 | Macro | 00 | | 0 | 00/0222 | doREAD PushLong #strDREAD ; show the string 546 | 1 debug.s 240 | Code | 00 | 1 >>16 | 3 | 00/0222 : F4 00 00 | PEA #^#strDREAD 553 | 1 debug.s 240 | Code | 00 | 2 | 3 | 00/0225 : F4 56 03 | PEA #strDREAD 556 | 1 debug.s 241 | Macro | 00 | | 0 | 00/0228 | _WriteCString 558 | 1 debug.s 241 | Code | 00 | | 3 | 00/0228 : A2 0C 20 | LDX #$200C ; load tool call # 559 | 1 debug.s 241 | Code | 00 | | 4 | 00/022B : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 560 | 1 debug.s 242 | Empty | 00 | | 0 | 00/022F | 561 | 1 debug.s 243 | Comment | 00 | | 0 | 00/022F | * jsr debugBORDER 562 | 1 debug.s 244 | Empty | 00 | | 0 | 00/022F | 563 | 1 debug.s 245 | Code | 00 | | 4 | 00/022F : 22 A8 00 E1 | jsl {$e100a8} 564 | 1 debug.s 246 | Data | 00 | | 2 | 00/0233 : 2F 20 | dw $202f 565 | 1 debug.s 247 | Data | 00 | 3 | 4 | 00/0235 : 52 04 00 00 | adrl proDREAD 566 | 1 debug.s 248 | Code | 00 | | 1 | 00/0239 : 48 | pha 567 | 1 debug.s 249 | Code | 00 | 2 | 3 | 00/023A : AD 60 04 | lda proDREAD+14 568 | 1 debug.s 250 | Code | 00 | 2 | 3 | 00/023D : 20 E6 03 | jsr showWORD 569 | 1 debug.s 251 | Code | 00 | 2 | 3 | 00/0240 : AD 5E 04 | lda proDREAD+12 570 | 1 debug.s 252 | Code | 00 | 2 | 3 | 00/0243 : 20 E6 03 | jsr showWORD 571 | 1 debug.s 253 | Empty | 00 | | 0 | 00/0246 | 572 | 1 debug.s 254 | Macro | 00 | | 0 | 00/0246 | PushWord #' ' 574 | 1 debug.s 254 | Code | 00 | | 3 | 00/0246 : F4 20 00 | PEA #' ' 577 | 1 debug.s 255 | Macro | 00 | | 0 | 00/0249 | _WriteChar 579 | 1 debug.s 255 | Code | 00 | | 3 | 00/0249 : A2 0C 18 | LDX #$180C ; load tool call # 580 | 1 debug.s 255 | Code | 00 | | 4 | 00/024C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 581 | 1 debug.s 256 | Code | 00 | 2 | 3 | 00/0250 : AD 66 04 | lda proDREAD+20 582 | 1 debug.s 257 | Code | 00 | 2 | 3 | 00/0253 : 20 E6 03 | jsr showWORD 583 | 1 debug.s 258 | Code | 00 | 2 | 3 | 00/0256 : AD 64 04 | lda proDREAD+18 584 | 1 debug.s 259 | Code | 00 | 2 | 3 | 00/0259 : 20 E6 03 | jsr showWORD 585 | 1 debug.s 260 | Empty | 00 | | 0 | 00/025C | 586 | 1 debug.s 261 | Code | 00 | | 1 | 00/025C : 68 | pla 587 | 1 debug.s 262 | Code | 00 | 2 | 3 | 00/025D : 20 9A 02 | jsr showERRCODE 588 | 1 debug.s 263 | Code | 00 | 2 | 3 | 00/0260 : 20 BB 02 | jsr printBUFFER ; output two lines of buffer 589 | 1 debug.s 264 | Empty | 00 | | 0 | 00/0263 | 590 | 1 debug.s 265 | Code | 00 | 2 | 3 | 00/0263 : 20 C1 03 | jsr waitFORKEY ; is it 0-9 591 | 1 debug.s 266 | Code | 00 | | 3 | 00/0266 : C9 1B 00 | cmp #$1b 592 | 1 debug.s 267 | Code | 00 | | 2 | 00/0269 : F0 14 | beq doEXIT 593 | 1 debug.s 268 | Code | 00 | | 3 | 00/026B : C9 9B 00 | cmp #$9b 594 | 1 debug.s 269 | Code | 00 | | 2 | 00/026E : F0 0F | beq doEXIT 595 | 1 debug.s 270 | Empty | 00 | | 0 | 00/0270 | 596 | 1 debug.s 271 | Code | 00 | 2 | 3 | 00/0270 : EE 5E 04 | inc proDREAD+12 597 | 1 debug.s 272 | Code | 00 | | 2 | 00/0273 : D0 AD | bne doREAD 598 | 1 debug.s 273 | Code | 00 | 2 | 3 | 00/0275 : EE 60 04 | inc proDREAD+14 599 | 1 debug.s 274 | Code | 00 | | 2 | 00/0278 : 80 A8 | bra doREAD 600 | 1 debug.s 275 | Empty | 00 | | 0 | 00/027A | 601 | 1 debug.s 276 | Code | 00 | 2 | 3 | 00/027A : AD 32 04 | lda errCODE ; only write if read is OK 602 | 1 debug.s 277 | Code | 00 | | 2 | 00/027D : F0 01 | beq okWRITE 603 | 1 debug.s 278 | Code | 00 | | 1 | 00/027F : 60 | doEXIT rts 604 | 1 debug.s 279 | Empty | 00 | | 0 | 00/0280 | 605 | 1 debug.s 280 | Comment | 00 | | 0 | 00/0280 | *--- Perform a DWrite 606 | 1 debug.s 281 | Empty | 00 | | 0 | 00/0280 | 607 | 1 debug.s 282 | Macro | 00 | | 0 | 00/0280 | okWRITE PushLong #strDWRITE ; show the string 611 | 1 debug.s 282 | Code | 00 | 1 >>16 | 3 | 00/0280 : F4 00 00 | PEA #^#strDWRITE 618 | 1 debug.s 282 | Code | 00 | 2 | 3 | 00/0283 : F4 66 03 | PEA #strDWRITE 621 | 1 debug.s 283 | Macro | 00 | | 0 | 00/0286 | _WriteCString 623 | 1 debug.s 283 | Code | 00 | | 3 | 00/0286 : A2 0C 20 | LDX #$200C ; load tool call # 624 | 1 debug.s 283 | Code | 00 | | 4 | 00/0289 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 625 | 1 debug.s 284 | Empty | 00 | | 0 | 00/028D | 626 | 1 debug.s 285 | Code | 00 | | 4 | 00/028D : 22 A8 00 E1 | jsl {$e100a8} 627 | 1 debug.s 286 | Data | 00 | | 2 | 00/0291 : 30 20 | dw $2030 628 | 1 debug.s 287 | Data | 00 | 3 | 4 | 00/0293 : 68 04 00 00 | adrl proDWRITE 629 | 1 debug.s 288 | Code | 00 | 2 | 3 | 00/0297 : 4C 9A 02 | jmp showERRCODE 630 | 1 debug.s 289 | Empty | 00 | | 0 | 00/029A | 631 | 1 debug.s 290 | Comment | 00 | | 0 | 00/029A | *--- Code end 632 | 1 debug.s 291 | Empty | 00 | | 0 | 00/029A | 633 | 1 debug.s 292 | Empty | 00 | | 0 | 00/029A | showERRCODE 634 | 1 debug.s 293 | Code | 00 | 2 | 3 | 00/029A : 8D 32 04 | sta errCODE ; save it 635 | 1 debug.s 294 | Empty | 00 | | 0 | 00/029D | 636 | 1 debug.s 295 | Macro | 00 | | 0 | 00/029D | PushLong #strERR ; show the string 640 | 1 debug.s 295 | Code | 00 | 1 >>16 | 3 | 00/029D : F4 00 00 | PEA #^#strERR 647 | 1 debug.s 295 | Code | 00 | 2 | 3 | 00/02A0 : F4 A4 03 | PEA #strERR 650 | 1 debug.s 296 | Macro | 00 | | 0 | 00/02A3 | _WriteCString 652 | 1 debug.s 296 | Code | 00 | | 3 | 00/02A3 : A2 0C 20 | LDX #$200C ; load tool call # 653 | 1 debug.s 296 | Code | 00 | | 4 | 00/02A6 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 654 | 1 debug.s 297 | Empty | 00 | | 0 | 00/02AA | 655 | 1 debug.s 298 | Code | 00 | 2 | 3 | 00/02AA : AD 32 04 | lda errCODE ; show the error code 656 | 1 debug.s 299 | Code | 00 | 2 | 3 | 00/02AD : 20 06 04 | jsr showHEX 657 | 1 debug.s 300 | Empty | 00 | | 0 | 00/02B0 | 658 | 1 debug.s 301 | Macro | 00 | | 0 | 00/02B0 | PushWord #$0d 660 | 1 debug.s 301 | Code | 00 | | 3 | 00/02B0 : F4 0D 00 | PEA #$0d 663 | 1 debug.s 302 | Macro | 00 | | 0 | 00/02B3 | _WriteChar 665 | 1 debug.s 302 | Code | 00 | | 3 | 00/02B3 : A2 0C 18 | LDX #$180C ; load tool call # 666 | 1 debug.s 302 | Code | 00 | | 4 | 00/02B6 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 667 | 1 debug.s 303 | Code | 00 | | 1 | 00/02BA : 60 | rts 668 | 1 debug.s 304 | Empty | 00 | | 0 | 00/02BB | 669 | 1 debug.s 305 | Comment | 00 | | 0 | 00/02BB | *--- Print a line of buffer 670 | 1 debug.s 306 | Empty | 00 | | 0 | 00/02BB | 671 | 1 debug.s 307 | Macro | 00 | | 0 | 00/02BB | printBUFFER PushWord #$20 673 | 1 debug.s 307 | Code | 00 | | 3 | 00/02BB : F4 20 00 | PEA #$20 676 | 1 debug.s 308 | Macro | 00 | | 0 | 00/02BE | _WriteChar 678 | 1 debug.s 308 | Code | 00 | | 3 | 00/02BE : A2 0C 18 | LDX #$180C ; load tool call # 679 | 1 debug.s 308 | Code | 00 | | 4 | 00/02C1 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 680 | 1 debug.s 309 | Empty | 00 | | 0 | 00/02C5 | 681 | 1 debug.s 310 | Code | 00 | 2 | 3 | 00/02C5 : AD DE 04 | lda myBUFFER 682 | 1 debug.s 311 | Code | 00 | 2 | 3 | 00/02C8 : 20 36 03 | jsr printME 683 | 1 debug.s 312 | Code | 00 | 2 | 3 | 00/02CB : AD E0 04 | lda myBUFFER+2 684 | 1 debug.s 313 | Code | 00 | 2 | 3 | 00/02CE : 20 36 03 | jsr printME 685 | 1 debug.s 314 | Code | 00 | 2 | 3 | 00/02D1 : AD E2 04 | lda myBUFFER+4 686 | 1 debug.s 315 | Code | 00 | 2 | 3 | 00/02D4 : 20 36 03 | jsr printME 687 | 1 debug.s 316 | Code | 00 | 2 | 3 | 00/02D7 : AD E4 04 | lda myBUFFER+6 688 | 1 debug.s 317 | Code | 00 | 2 | 3 | 00/02DA : 20 36 03 | jsr printME 689 | 1 debug.s 318 | Code | 00 | 2 | 3 | 00/02DD : AD E6 04 | lda myBUFFER+8 690 | 1 debug.s 319 | Code | 00 | 2 | 3 | 00/02E0 : 20 36 03 | jsr printME 691 | 1 debug.s 320 | Code | 00 | 2 | 3 | 00/02E3 : AD E8 04 | lda myBUFFER+10 692 | 1 debug.s 321 | Code | 00 | 2 | 3 | 00/02E6 : 20 36 03 | jsr printME 693 | 1 debug.s 322 | Code | 00 | 2 | 3 | 00/02E9 : AD EA 04 | lda myBUFFER+12 694 | 1 debug.s 323 | Code | 00 | 2 | 3 | 00/02EC : 20 36 03 | jsr printME 695 | 1 debug.s 324 | Code | 00 | 2 | 3 | 00/02EF : AD EC 04 | lda myBUFFER+14 696 | 1 debug.s 325 | Code | 00 | 2 | 3 | 00/02F2 : 20 36 03 | jsr printME 697 | 1 debug.s 326 | Empty | 00 | | 0 | 00/02F5 | 698 | 1 debug.s 327 | Macro | 00 | | 0 | 00/02F5 | PushWord #$0d 700 | 1 debug.s 327 | Code | 00 | | 3 | 00/02F5 : F4 0D 00 | PEA #$0d 703 | 1 debug.s 328 | Macro | 00 | | 0 | 00/02F8 | _WriteChar 705 | 1 debug.s 328 | Code | 00 | | 3 | 00/02F8 : A2 0C 18 | LDX #$180C ; load tool call # 706 | 1 debug.s 328 | Code | 00 | | 4 | 00/02FB : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 707 | 1 debug.s 329 | Empty | 00 | | 0 | 00/02FF | 708 | 1 debug.s 330 | Macro | 00 | | 0 | 00/02FF | PushWord #$20 710 | 1 debug.s 330 | Code | 00 | | 3 | 00/02FF : F4 20 00 | PEA #$20 713 | 1 debug.s 331 | Macro | 00 | | 0 | 00/0302 | _WriteChar 715 | 1 debug.s 331 | Code | 00 | | 3 | 00/0302 : A2 0C 18 | LDX #$180C ; load tool call # 716 | 1 debug.s 331 | Code | 00 | | 4 | 00/0305 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 717 | 1 debug.s 332 | Empty | 00 | | 0 | 00/0309 | 718 | 1 debug.s 333 | Code | 00 | 2 | 3 | 00/0309 : AD EE 04 | lda myBUFFER+16 719 | 1 debug.s 334 | Code | 00 | 2 | 3 | 00/030C : 20 36 03 | jsr printME 720 | 1 debug.s 335 | Code | 00 | 2 | 3 | 00/030F : AD F0 04 | lda myBUFFER+18 721 | 1 debug.s 336 | Code | 00 | 2 | 3 | 00/0312 : 20 36 03 | jsr printME 722 | 1 debug.s 337 | Code | 00 | 2 | 3 | 00/0315 : AD F2 04 | lda myBUFFER+20 723 | 1 debug.s 338 | Code | 00 | 2 | 3 | 00/0318 : 20 36 03 | jsr printME 724 | 1 debug.s 339 | Code | 00 | 2 | 3 | 00/031B : AD F4 04 | lda myBUFFER+22 725 | 1 debug.s 340 | Code | 00 | 2 | 3 | 00/031E : 20 36 03 | jsr printME 726 | 1 debug.s 341 | Code | 00 | 2 | 3 | 00/0321 : AD F6 04 | lda myBUFFER+24 727 | 1 debug.s 342 | Code | 00 | 2 | 3 | 00/0324 : 20 36 03 | jsr printME 728 | 1 debug.s 343 | Code | 00 | 2 | 3 | 00/0327 : AD F8 04 | lda myBUFFER+26 729 | 1 debug.s 344 | Code | 00 | 2 | 3 | 00/032A : 20 36 03 | jsr printME 730 | 1 debug.s 345 | Code | 00 | 2 | 3 | 00/032D : AD FA 04 | lda myBUFFER+28 731 | 1 debug.s 346 | Code | 00 | 2 | 3 | 00/0330 : 20 36 03 | jsr printME 732 | 1 debug.s 347 | Code | 00 | 2 | 3 | 00/0333 : AD FC 04 | lda myBUFFER+30 ; ends into the code below... 733 | 1 debug.s 348 | Empty | 00 | | 0 | 00/0336 | 734 | 1 debug.s 349 | Code | 00 | | 1 | 00/0336 : 48 | printME pha ; from a word to a string 735 | 1 debug.s 350 | Code | 00 | | 1 | 00/0337 : 48 | pha 736 | 1 debug.s 351 | Code | 00 | | 1 | 00/0338 : 48 | pha ; <= here, really 737 | 1 debug.s 352 | Macro | 00 | | 0 | 00/0339 | _HexIt 739 | 1 debug.s 352 | Code | 00 | | 3 | 00/0339 : A2 0B 2A | LDX #$2A0B ; load tool call # 740 | 1 debug.s 352 | Code | 00 | | 4 | 00/033C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 741 | 1 debug.s 353 | Macro | 00 | | 0 | 00/0340 | PullLong strBUFFER 744 | 1 debug.s 353 | Code | 00 | | 1 | 00/0340 : 68 | PLA 746 | 1 debug.s 353 | Code | 00 | 2 | 3 | 00/0341 : 8D 2C 04 | STA strBUFFER 751 | 1 debug.s 353 | Code | 00 | | 1 | 00/0344 : 68 | PLA 753 | 1 debug.s 353 | Code | 00 | 2 | 3 | 00/0345 : 8D 2E 04 | STA strBUFFER+2 759 | 1 debug.s 354 | Empty | 00 | | 0 | 00/0348 | 760 | 1 debug.s 355 | Macro | 00 | | 0 | 00/0348 | PushLong #strBUFFER ; show the string 764 | 1 debug.s 355 | Code | 00 | 1 >>16 | 3 | 00/0348 : F4 00 00 | PEA #^#strBUFFER 771 | 1 debug.s 355 | Code | 00 | 2 | 3 | 00/034B : F4 2C 04 | PEA #strBUFFER 774 | 1 debug.s 356 | Macro | 00 | | 0 | 00/034E | _WriteCString 776 | 1 debug.s 356 | Code | 00 | | 3 | 00/034E : A2 0C 20 | LDX #$200C ; load tool call # 777 | 1 debug.s 356 | Code | 00 | | 4 | 00/0351 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 778 | 1 debug.s 357 | Code | 00 | | 1 | 00/0355 : 60 | rts 779 | 1 debug.s 358 | Empty | 00 | | 0 | 00/0356 | 780 | 1 debug.s 359 | Comment | 00 | | 0 | 00/0356 | *---------- Data 781 | 1 debug.s 360 | Empty | 00 | | 0 | 00/0356 | 782 | 1 debug.s 361 | Data | 00 | | 16 | 00/0356 : 0D 0D 44 52 | strDREAD asc 0d0d'DRead block $'00 | | | | | | 65 61 64 20 | | | | | | | 62 6C 6F 63 | | | | | | | 6B 20 24 00 | 783 | 1 debug.s 362 | Data | 00 | | 10 | 00/0366 : 0D 0D 44 57 | strDWRITE asc 0d0d'DWrite '00 | | | | | | 72 69 74 65 | | | | | | | 20 00 | 784 | 1 debug.s 363 | Data | 00 | | 11 | 00/0370 : 0D 0D 44 53 | strDSTATUS asc 0d0d'DStatus '00 | | | | | | 74 61 74 75 | | | | | | | 73 20 00 | 785 | 1 debug.s 364 | Empty | 00 | | 0 | 00/037B | 786 | 1 debug.s 365 | Data | 00 | | 20 | 00/037B : 20 43 68 61 | strCHARS asc ' Characteristics: '00 | | | | | | 72 61 63 74 | | | | | | | 65 72 69 73 | | | | | | | 74 69 63 73 | | | | | | | 3A 20 20 00 | 787 | 1 debug.s 366 | Data | 00 | | 21 | 00/038F : 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 | 788 | 1 debug.s 367 | Empty | 00 | | 0 | 00/03A4 | 789 | 1 debug.s 368 | Data | 00 | | 15 | 00/03A4 : 0D 2D 20 45 | strERR asc 0d'- Error code '00 | | | | | | 72 72 6F 72 | | | | | | | 20 63 6F 64 | | | | | | | 65 20 00 | 790 | 1 debug.s 369 | Empty | 00 | | 0 | 00/03B3 | 791 | 1 debug.s 370 | Comment | 00 | | 0 | 00/03B3 | *---------------------------- 792 | 1 debug.s 371 | Comment | 00 | | 0 | 00/03B3 | * DEBUG 793 | 1 debug.s 372 | Comment | 00 | | 0 | 00/03B3 | *---------------------------- 794 | 1 debug.s 373 | Empty | 00 | | 0 | 00/03B3 | 795 | 1 debug.s 374 | Empty | 00 | | 0 | 00/03B3 | debugBORDER 796 | 1 debug.s 375 | Code | 10 | | 2 | 00/03B3 : E2 20 | sep #$20 797 | 1 debug.s 376 | Code | 10 | | 4 | 00/03B5 : AF 34 C0 00 | ldal $c034 798 | 1 debug.s 377 | Code | 10 | | 1 | 00/03B9 : 1A | inc 799 | 1 debug.s 378 | Code | 10 | | 4 | 00/03BA : 8F 34 C0 00 | stal $c034 800 | 1 debug.s 379 | Code | 00 | | 2 | 00/03BE : C2 20 | rep #$20 801 | 1 debug.s 380 | Code | 00 | | 1 | 00/03C0 : 60 | rts 802 | 1 debug.s 381 | Empty | 00 | | 0 | 00/03C1 | 803 | 1 debug.s 382 | Comment | 00 | | 0 | 00/03C1 | *---------------------------- 804 | 1 debug.s 383 | Comment | 00 | | 0 | 00/03C1 | * TEXT ROUTINES 805 | 1 debug.s 384 | Comment | 00 | | 0 | 00/03C1 | *---------------------------- 806 | 1 debug.s 385 | Empty | 00 | | 0 | 00/03C1 | 807 | 1 debug.s 386 | Comment | 00 | | 0 | 00/03C1 | *---------- Wait for a key 808 | 1 debug.s 387 | Empty | 00 | | 0 | 00/03C1 | 809 | 1 debug.s 388 | Macro | 00 | | 0 | 00/03C1 | waitFORKEY PushWord #0 ; wait for key 811 | 1 debug.s 388 | Code | 00 | | 3 | 00/03C1 : F4 00 00 | PEA #0 814 | 1 debug.s 389 | Macro | 00 | | 0 | 00/03C4 | PushWord #1 ; echo char 816 | 1 debug.s 389 | Code | 00 | | 3 | 00/03C4 : F4 01 00 | PEA #1 819 | 1 debug.s 390 | Macro | 00 | | 0 | 00/03C7 | _ReadChar 821 | 1 debug.s 390 | Code | 00 | | 3 | 00/03C7 : A2 0C 22 | LDX #$220C ; load tool call # 822 | 1 debug.s 390 | Code | 00 | | 4 | 00/03CA : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 823 | 1 debug.s 391 | Empty | 00 | | 0 | 00/03CE | 824 | 1 debug.s 392 | Code | 00 | | 2 | 00/03CE : A3 01 | waitKEY1 lda 1,s ; check CR 825 | 1 debug.s 393 | Code | 00 | | 3 | 00/03D0 : 29 FF 00 | and #$ff ; of typed 826 | 1 debug.s 394 | Code | 00 | | 2 | 00/03D3 : 83 01 | sta 1,s ; in char 827 | 1 debug.s 395 | Code | 00 | | 3 | 00/03D5 : C9 8D 00 | cmp #$8d 828 | 1 debug.s 396 | Code | 00 | | 2 | 00/03D8 : F0 0A | beq waitKEY9 829 | 1 debug.s 397 | Empty | 00 | | 0 | 00/03DA | 830 | 1 debug.s 398 | Macro | 00 | | 0 | 00/03DA | waitKEY8 PushWord #$0d ; return 832 | 1 debug.s 398 | Code | 00 | | 3 | 00/03DA : F4 0D 00 | PEA #$0d 835 | 1 debug.s 399 | Macro | 00 | | 0 | 00/03DD | _WriteChar 837 | 1 debug.s 399 | Code | 00 | | 3 | 00/03DD : A2 0C 18 | LDX #$180C ; load tool call # 838 | 1 debug.s 399 | Code | 00 | | 4 | 00/03E0 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 839 | 1 debug.s 400 | Empty | 00 | | 0 | 00/03E4 | 840 | 1 debug.s 401 | Code | 00 | | 1 | 00/03E4 : 68 | waitKEY9 pla ; restore entered char 841 | 1 debug.s 402 | Code | 00 | | 1 | 00/03E5 : 60 | rts 842 | 1 debug.s 403 | Empty | 00 | | 0 | 00/03E6 | 843 | 1 debug.s 404 | Comment | 00 | | 0 | 00/03E6 | *---------- Display a word 844 | 1 debug.s 405 | Empty | 00 | | 0 | 00/03E6 | 845 | 1 debug.s 406 | Code | 00 | | 1 | 00/03E6 : 48 | showWORD pha ; from a word to a string 846 | 1 debug.s 407 | Code | 00 | | 1 | 00/03E7 : 48 | pha 847 | 1 debug.s 408 | Code | 00 | | 1 | 00/03E8 : 48 | pha ; <= here, really 848 | 1 debug.s 409 | Macro | 00 | | 0 | 00/03E9 | _HexIt 850 | 1 debug.s 409 | Code | 00 | | 3 | 00/03E9 : A2 0B 2A | LDX #$2A0B ; load tool call # 851 | 1 debug.s 409 | Code | 00 | | 4 | 00/03EC : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 852 | 1 debug.s 410 | Macro | 00 | | 0 | 00/03F0 | PullLong strHEX 855 | 1 debug.s 410 | Code | 00 | | 1 | 00/03F0 : 68 | PLA 857 | 1 debug.s 410 | Code | 00 | 2 | 3 | 00/03F1 : 8D 27 04 | STA strHEX 862 | 1 debug.s 410 | Code | 00 | | 1 | 00/03F4 : 68 | PLA 864 | 1 debug.s 410 | Code | 00 | 2 | 3 | 00/03F5 : 8D 29 04 | STA strHEX+2 870 | 1 debug.s 411 | Empty | 00 | | 0 | 00/03F8 | 871 | 1 debug.s 412 | Macro | 00 | | 0 | 00/03F8 | PushLong #strHEX ; show the string 875 | 1 debug.s 412 | Code | 00 | 1 >>16 | 3 | 00/03F8 : F4 00 00 | PEA #^#strHEX 882 | 1 debug.s 412 | Code | 00 | 2 | 3 | 00/03FB : F4 27 04 | PEA #strHEX 885 | 1 debug.s 413 | Macro | 00 | | 0 | 00/03FE | _WriteCString 887 | 1 debug.s 413 | Code | 00 | | 3 | 00/03FE : A2 0C 20 | LDX #$200C ; load tool call # 888 | 1 debug.s 413 | Code | 00 | | 4 | 00/0401 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 889 | 1 debug.s 414 | Code | 00 | | 1 | 00/0405 : 60 | rts 890 | 1 debug.s 415 | Empty | 00 | | 0 | 00/0406 | 891 | 1 debug.s 416 | Comment | 00 | | 0 | 00/0406 | *---------- Display a hex word with a $ 892 | 1 debug.s 417 | Empty | 00 | | 0 | 00/0406 | 893 | 1 debug.s 418 | Code | 00 | | 1 | 00/0406 : 48 | showHEX pha ; from a word to a string 894 | 1 debug.s 419 | Code | 00 | | 1 | 00/0407 : 48 | pha 895 | 1 debug.s 420 | Code | 00 | | 1 | 00/0408 : 48 | pha ; <= here, really 896 | 1 debug.s 421 | Macro | 00 | | 0 | 00/0409 | _HexIt 898 | 1 debug.s 421 | Code | 00 | | 3 | 00/0409 : A2 0B 2A | LDX #$2A0B ; load tool call # 899 | 1 debug.s 421 | Code | 00 | | 4 | 00/040C : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 900 | 1 debug.s 422 | Macro | 00 | | 0 | 00/0410 | PullLong strHEX 903 | 1 debug.s 422 | Code | 00 | | 1 | 00/0410 : 68 | PLA 905 | 1 debug.s 422 | Code | 00 | 2 | 3 | 00/0411 : 8D 27 04 | STA strHEX 910 | 1 debug.s 422 | Code | 00 | | 1 | 00/0414 : 68 | PLA 912 | 1 debug.s 422 | Code | 00 | 2 | 3 | 00/0415 : 8D 29 04 | STA strHEX+2 918 | 1 debug.s 423 | Empty | 00 | | 0 | 00/0418 | 919 | 1 debug.s 424 | Macro | 00 | | 0 | 00/0418 | PushLong #strHEX1 ; show the string 923 | 1 debug.s 424 | Code | 00 | 1 >>16 | 3 | 00/0418 : F4 00 00 | PEA #^#strHEX1 930 | 1 debug.s 424 | Code | 00 | 2 | 3 | 00/041B : F4 26 04 | PEA #strHEX1 933 | 1 debug.s 425 | Macro | 00 | | 0 | 00/041E | _WriteCString 935 | 1 debug.s 425 | Code | 00 | | 3 | 00/041E : A2 0C 20 | LDX #$200C ; load tool call # 936 | 1 debug.s 425 | Code | 00 | | 4 | 00/0421 : 22 00 00 E1 | JSL $E10000 ; go to dispatcher 937 | 1 debug.s 426 | Code | 00 | | 1 | 00/0425 : 60 | rts 938 | 1 debug.s 427 | Empty | 00 | | 0 | 00/0426 | 939 | 1 debug.s 428 | Comment | 00 | | 0 | 00/0426 | *--- Data 940 | 1 debug.s 429 | Empty | 00 | | 0 | 00/0426 | 941 | 1 debug.s 430 | Data | 00 | | 1 | 00/0426 : 24 | strHEX1 asc '$' 942 | 1 debug.s 431 | Data | 00 | | 5 | 00/0427 : 30 30 30 30 | strHEX asc '0000'00 | | | | | | 00 | 943 | 1 debug.s 432 | Data | 00 | | 6 | 00/042C : 30 30 30 30 | strBUFFER asc '0000 '00 | | | | | | 20 00 | 944 | 1 debug.s 433 | Empty | 00 | | 0 | 00/0432 | 945 | 1 debug.s 434 | Comment | 00 | | 0 | 00/0432 | *---------------------------- 946 | 1 debug.s 435 | Comment | 00 | | 0 | 00/0432 | * DATA 947 | 1 debug.s 436 | Comment | 00 | | 0 | 00/0432 | *---------------------------- 948 | 1 debug.s 437 | Empty | 00 | | 0 | 00/0432 | 949 | 1 debug.s 438 | Data | 00 | | 2 | 00/0432 : 00 00 | errCODE ds 2 950 | 1 debug.s 439 | Empty | 00 | | 0 | 00/0434 | 951 | 1 debug.s 440 | Data | 00 | | 2 | 00/0434 : 02 00 | proQUIT dw 2 ; pCount 952 | 1 debug.s 441 | Data | 00 | | 4 | 00/0436 : 00 00 00 00 | ds 4 ; 02 pathname 953 | 1 debug.s 442 | Data | 00 | | 2 | 00/043A : 00 00 | ds 2 ; 06 flags 954 | 1 debug.s 443 | Empty | 00 | | 0 | 00/043C | 955 | 1 debug.s 444 | Data | 00 | | 2 | 00/043C : 08 00 | proDINFO dw 8 ; Parms for DInfo 956 | 1 debug.s 445 | Data | 00 | | 2 | 00/043E : 00 00 | ds 2 ; 02 device num 957 | 1 debug.s 446 | Data | 00 | 3 | 4 | 00/0440 : 9C 04 00 00 | adrl devINFO ; 04 device name 958 | 1 debug.s 447 | Data | 00 | | 2 | 00/0444 : 00 00 | ds 2 ; 08 characteristics 959 | 1 debug.s 448 | Data | 00 | | 4 | 00/0446 : 00 00 00 00 | ds 4 ; 0A total blocks 960 | 1 debug.s 449 | Data | 00 | | 2 | 00/044A : 00 00 | ds 2 ; 0E slot number 961 | 1 debug.s 450 | Data | 00 | | 2 | 00/044C : 00 00 | ds 2 ; 10 unit number 962 | 1 debug.s 451 | Data | 00 | | 2 | 00/044E : 00 00 | ds 2 ; 12 version 963 | 1 debug.s 452 | Data | 00 | | 2 | 00/0450 : 00 00 | ds 2 ; 14 device id 964 | 1 debug.s 453 | Empty | 00 | | 0 | 00/0452 | 965 | 1 debug.s 454 | Data | 00 | | 2 | 00/0452 : 06 00 | proDREAD dw 6 ; pCount 966 | 1 debug.s 455 | Data | 00 | | 2 | 00/0454 : 00 00 | ds 2 ; 02 devNum 967 | 1 debug.s 456 | Data | 00 | 3 | 4 | 00/0456 : DE 04 00 00 | adrl myBUFFER ; 04 buffer 968 | 1 debug.s 457 | Data | 00 | | 4 | 00/045A : 00 02 00 00 | adrl 512 ; 08 requestCount 969 | 1 debug.s 458 | Data | 00 | | 4 | 00/045E : 00 00 00 00 | adrl 0 ; 0C startingBlock 970 | 1 debug.s 459 | Data | 00 | | 2 | 00/0462 : 00 02 | dw 512 ; 10 blockSize 971 | 1 debug.s 460 | Data | 00 | | 4 | 00/0464 : 00 00 00 00 | ds 4 ; 14 transferCount 972 | 1 debug.s 461 | Empty | 00 | | 0 | 00/0468 | 973 | 1 debug.s 462 | Data | 00 | | 2 | 00/0468 : 06 00 | proDWRITE dw 6 ; pCount 974 | 1 debug.s 463 | Data | 00 | | 2 | 00/046A : 00 00 | ds 2 ; 02 devNum 975 | 1 debug.s 464 | Data | 00 | 3 | 4 | 00/046C : DE 04 00 00 | adrl myBUFFER ; 04 buffer 976 | 1 debug.s 465 | Data | 00 | | 4 | 00/0470 : 00 02 00 00 | adrl 512 ; 08 requestCount 977 | 1 debug.s 466 | Data | 00 | | 4 | 00/0474 : 00 00 00 00 | adrl 0 ; 0C startingBlock 978 | 1 debug.s 467 | Data | 00 | | 2 | 00/0478 : 00 02 | dw 512 ; 10 blockSize 979 | 1 debug.s 468 | Data | 00 | | 4 | 00/047A : 00 00 00 00 | ds 4 ; 14 transferCount 980 | 1 debug.s 469 | Empty | 00 | | 0 | 00/047E | 981 | 1 debug.s 470 | Data | 00 | | 2 | 00/047E : 05 00 | proDSTATUS dw 5 ; pCount 982 | 1 debug.s 471 | Data | 00 | | 2 | 00/0480 : 00 00 | ds 2 ; 02 devNum 983 | 1 debug.s 472 | Data | 00 | | 2 | 00/0482 : 00 00 | ds 2 ; 04 code ($0000 = Device Status) 984 | 1 debug.s 473 | Data | 00 | 3 | 4 | 00/0484 : DE 06 00 00 | adrl myLIST ; 06 list 985 | 1 debug.s 474 | Data | 00 | | 4 | 00/0488 : 00 02 00 00 | adrl 512 ; 0A requestCount (a big buffer) 986 | 1 debug.s 475 | Data | 00 | | 4 | 00/048C : 00 00 00 00 | ds 4 ; 0E transferCount 987 | 1 debug.s 476 | Empty | 00 | | 0 | 00/0490 | 988 | 1 debug.s 477 | Comment | 00 | | 0 | 00/0490 | *---------- 989 | 1 debug.s 478 | Empty | 00 | | 0 | 00/0490 | 990 | 1 debug.s 479 | Data | 00 | | 12 | 00/0490 : 0B 2E 41 53 | strDEVICE str '.ASSDDevice' ; length is 12 chars (including length byte) | | | | | | 53 44 44 65 | | | | | | | 76 69 63 65 | 991 | 1 debug.s 480 | Empty | 00 | | 0 | 00/049C | 992 | 1 debug.s 481 | Data | 00 | | 2 | 00/049C : 32 00 | devINFO dw $0032 ; buffer size 993 | 1 debug.s 482 | Data | 00 | | 1 | 00/049E : 00 | devINFO1 db $00 ; length 994 | 1 debug.s 483 | Data | 00 | | 1 | 00/049F : 00 | devINFO2 db $00 995 | 1 debug.s 484 | Data | 00 | | 48 | 00/04A0 : 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 | 996 | 1 debug.s 485 | Empty | 00 | | 0 | 00/04D0 | 997 | 1 debug.s 486 | Comment | 00 | | 0 | 00/04D0 | *---------- 998 | 1 debug.s 487 | Empty | 00 | | 0 | 00/04D0 | 999 | 1 debug.s 488 | Data | 00 | | 2 | 00/04D0 : 00 00 | appID ds 2 1000 | 1 debug.s 489 | Data | 00 | | 2 | 00/04D2 : 00 00 | myID ds 2 1001 | 1 debug.s 490 | Empty | 00 | | 0 | 00/04D4 | 1002 | 1 debug.s 491 | Data | 00 | | 2 | 00/04D4 : 00 00 | myDP ds 2 1003 | 1 debug.s 492 | Data | 00 | | 4 | 00/04D6 : 00 00 00 00 | ptrBUFFER ds 4 1004 | 1 debug.s 493 | Data | 00 | | 4 | 00/04DA : 00 00 00 00 | haBUFFER ds 4 1005 | 1 debug.s 494 | Empty | 00 | | 0 | 00/04DE | 1006 | 1 debug.s 495 | Comment | 00 | | 0 | 00/04DE | *---------- 1007 | 1 debug.s 496 | Empty | 00 | | 0 | 00/04DE | 1008 | 1 debug.s 497 | Data | 00 | | 512 | 00/04DE : 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 | 1009 | 1 debug.s 498 | Data | 00 | | 512 | 00/06DE : 00 00 00 00 | myLIST ds 512 | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | | | | | | | 00 00 00 00 | 1010 | 1 debug.s 499 | Empty | 00 | | 0 | 00/08DE | 1011 | 1 debug.s 500 | Empty | 00 | | 0 | 00/08DE | ------+-------------------+-------------+----+---------+------+-----------------------+-------------------------------------------------------------------