![]() |
Routines |
| Prev: F15F | Up: Map | Next: F17F |
|
||||||||||
| F171 | LD A,$02 | Two bytes will be copied | ||||||||
| F173 | PUSH AF | Save the byte counter | ||||||||
| F174 | CALL $F15F | Collect one byte from the character's command list | ||||||||
| F177 | LD (HL),A | Copy it to the character's buffer | ||||||||
| F178 | POP AF | Restore the byte counter to A | ||||||||
| F179 | INC L | Point HL at the destination for the second byte | ||||||||
| F17A | DEC A | Have we copied both bytes yet? | ||||||||
| F17B | JR NZ,$F173 | Jump back to copy the second one if not | ||||||||
| F17D | DEC L | Point HL at the second byte that was copied | ||||||||
| F17E | RET | |||||||||
| Prev: F15F | Up: Map | Next: F17F |