![]() |
Routines |
| Prev: DCDC | Up: Map | Next: DD6A |
|
Used by the routines at Set_Phase_Table and Handle_Interrupt.
Writes 00 at Frame_Bytes using a 05-byte fill, then skips two bytes and writes 00 again.
|
||||
| Clear_Frame_Bytes | DD58 | PUSH BC | Stash BC on the stack. | |
| DD59 | LD HL,$E173 | Point HL at Frame_Bytes. | ||
| DD5C | LD DE,$E174 | Point DE at Hit_Flag. | ||
| DD5F | LD BC,$0005 | Set the byte counter to 05 in BC. | ||
| DD62 | LD (HL),B | Write 00 to *Frame_Bytes and the next 05 bytes. | ||
| DD63 | LDIR | |||
| DD65 | INC L | Advance the pointer by two. | ||
| DD66 | INC L | |||
| DD67 | LD (HL),B | Write 00. | ||
| DD68 | POP BC | Restore BC from the stack. | ||
| DD69 | RET | Return. | ||
| Prev: DCDC | Up: Map | Next: DD6A |