![]() |
Routines |
| Prev: 44886 | Up: Map | Next: 44907 |
|
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 | 44888 | PUSH IY | Move the pointer on by the length. | |
| 44890 | POP HL | |||
| 44891 | ADD HL,DE | |||
| 44892 | PUSH HL | |||
| 44893 | PUSH IX | Copy the destination into the pointer and add the length. | ||
| 44895 | POP HL | |||
| 44896 | ADD HL,DE | |||
| 44897 | POP DE | Restore the saved source from the stack. | ||
| 44898 | LD B,0 | Clear the high byte of the count. | ||
| 44900 | LDIR | Copy the counted bytes. | ||
| 44902 | 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 1 with the borrow clear. The command search and the display steps share this exit.
|
||||
| CopyBytes_ReportSuccess | 44903 | LD A,1 | Set a non-zero result. | |
| 44905 | AND A | |||
| 44906 | RET | Return. | ||
| Prev: 44886 | Up: Map | Next: 44907 |