![]() |
Routines |
| Prev: AF56 | Up: Map | Next: AF6B |
|
Used by the routines at CopyScheduleEntry and SetCopyLengthTen.
Advances the destination by the length already chosen, then copies that many bytes from the source and returns.
|
||||
| CopyBytes | AF58 | PUSH IY | Move the pointer on by the length. | |
| AF5A | POP HL | |||
| AF5B | ADD HL,DE | |||
| AF5C | PUSH HL | |||
| AF5D | PUSH IX | Copy the destination into the pointer and add the length. | ||
| AF5F | POP HL | |||
| AF60 | ADD HL,DE | |||
| AF61 | POP DE | Restore the saved source from the stack. | ||
| AF62 | LD B,$00 | Clear the high byte of the count. | ||
| AF64 | LDIR | Copy the counted bytes. | ||
| AF66 | RET | Return. | ||
|
This entry point is used by the routines at CopyDisplayIfNeeded, SearchCommandHandlerTable, CheckBitAndJump, TestSourceBitOne, StepDisplayState and StepDisplayStateWhenParserClear.
Tells the script the command succeeded, leaving 01 with the borrow clear. The command search and the display steps share this exit.
|
||||
| CopyBytes_ReportSuccess | AF67 | LD A,$01 | Set a non-zero result. | |
| AF69 | AND A | |||
| AF6A | RET | Return. | ||
| Prev: AF56 | Up: Map | Next: AF6B |