Prev: 56540 Up: Map Next: 56682
56664: Clear Frame Bytes
Used by the routines at Set_Phase_Table and Handle_Interrupt.
Writes 0 at Frame_Bytes using a 5-byte fill, then skips two bytes and writes 0 again.
Clear_Frame_Bytes 56664 PUSH BC Stash BC on the stack.
56665 LD HL,57715 Point HL at Frame_Bytes.
56668 LD DE,57716 Point DE at Hit_Flag.
56671 LD BC,5 Set the byte counter to 5 in BC.
56674 LD (HL),B Write 0 to *Frame_Bytes and the next 5 bytes.
56675 LDIR
56677 INC L Advance the pointer by two.
56678 INC L
56679 LD (HL),B Write 0.
56680 POP BC Restore BC from the stack.
56681 RET Return.
Prev: 56540 Up: Map Next: 56682