C64 ROM | Routines |
Prev: E165 | Up: Map | Next: E195 |
|
||||
E168 | A9 00 | LDA #$00 | flag load | |
E16A | 85 0A | STA $0A | set load/verify flag | |
E16C | 20 D4 E1 | JSR $E1D4 | get parameters for LOAD/SAVE | |
E16F | A5 0A | LDA $0A | get load/verify flag | |
E171 | A6 2B | LDX $2B | get start of memory low byte | |
E173 | A4 2C | LDY $2C | get start of memory high byte | |
E175 | 20 D5 FF | JSR $FFD5 | load RAM from a device | |
E178 | B0 57 | BCS $E1D1 | if error go handle BASIC I/O error | |
E17A | A5 0A | LDA $0A | get load/verify flag | |
E17C | F0 17 | BEQ $E195 | branch if load | |
E17E | A2 1C | LDX #$1C | error $1C, verify error | |
E180 | 20 B7 FF | JSR $FFB7 | read I/O status word | |
E183 | 29 10 | AND #%00010000 | mask for tape read error | |
E185 | D0 17 | BNE $E19E | branch if no read error | |
E187 | A5 7A | LDA $7A | get the BASIC execute pointer low byte. is this correct ?? won't this mean the "OK" prompt when doing a load from within a program ? | |
E189 | C9 02 | CMP #$02 | ||
E18B | F0 07 | BEQ $E194 | if ?? skip "OK" prompt | |
E18D | A9 64 | LDA #$64 | set "OK" pointer low byte | |
E18F | A0 A3 | LDY #$A3 | set "OK" pointer high byte | |
E191 | 4C 1E AB | JMP $AB1E | print null terminated string | |
This entry point is used by the routine at E1C7.
|
||||
E194 | 60 | RTS |
Prev: E165 | Up: Map | Next: E195 |