Prev: 869B Up: Map Next: 876B
8761: Print: Wrap The Column
Used by the routine at PrintWriteACharacterToTheScreen.
Wraps the print column. A column below 06 is moved on by 08, and the count drops by one.
Print_WrapTheColumn 8761 LD A,C Take 06 off the column and return if it did not go below zero.
8762 SUB $06
8764 LD C,A
8765 RET NC
8766 ADD A,$08 Otherwise add 08 to it.
8768 LD C,A Copy the result into C.
8769 DEC L Drop one from the count.
876A RET Return.
View the equivalent code in;
Prev: 869B Up: Map Next: 876B