Prev: 44399 Up: Map Next: 44449
44440: Clear Messaging Attributes
Used by the routines at Update_Berk_State and Handle_Berk_Action.
Blank the attribute cells behind the status / menu message area so the next printed line starts on a clean strip.
Clear_Messaging_Attributes 44440 LD BC,0 Clear BC (zero length/offset).
Busy-wait the messaging-attribute clear countdown down to zero.
Clear_Messaging_Attributes_Countdown 44443 DEC BC Step the length/counter in BC back by one.
44444 LD A,B Copy the loop counter from B into A.
44445 OR C OR C into A to test whether BC has reached zero.
44446 JR NZ,Clear_Messaging_Attributes_Countdown If the result was non-zero, jump to Clear_Messaging_Attributes_Countdown.
44448 RET Return.
Prev: 44399 Up: Map Next: 44449