| Marsport | Routines |
| Prev: B739 | Up: Map | Next: B76C |
|
Used by the routine at Print_TerminalMessage.
|
||||
|
The cursor is shift to the next column, or down a line if the end is reached.
|
||||
| Print_TerminalCursor | B74B | LD HL,Message_X | Get X position of cursor. | |
| B74E | LD A,(HL) | |||
| B74F | CP $1F | Is it at the end of a line? | ||
| B751 | JR C,Print_TerminalCursor_0 | |||
| B753 | LD (HL),$13 | Yes, reset X and move down a line. | ||
| B755 | DEC HL | |||
| B756 | INC (HL) | |||
| B757 | CALL PRINT_AT | Move print cursor to position. | ||
| Print_TerminalCursor_0 | B75A | CALL Print_StringOnStack | Draw a flashing cursor '*' | |
| B75D | DEFM $12,$01,"*",$12,$00,$5E | |||
| B763 | LD HL,$066A | Beep! | ||
| B766 | LD DE,$0004 | |||
| B769 | JP $03B5 | |||
| Prev: B739 | Up: Map | Next: B76C |