6502-OS/programs/printer.s65

17 lines
401 B
Plaintext
Raw Normal View History

2023-10-26 19:51:20 +02:00
;********************************************************************************
; Printing Program
;********************************************************************************
.ifndef INCLUDE_PRINTER
INCLUDE_PRINTER = 1
2023-11-11 12:13:47 +01:00
.code
2023-10-26 19:51:20 +02:00
printer:
2023-11-01 13:13:23 +01:00
jsr lcd_clear
@printer_loop:
2023-10-30 22:16:49 +01:00
jsr rb_keypad_read
2023-11-01 13:13:23 +01:00
beq @printer_loop
2023-10-26 19:51:20 +02:00
cmp #'*'
2023-12-08 00:02:22 +01:00
jeq home
2023-11-01 13:13:23 +01:00
jsr lcd_char
bra @printer_loop
2023-11-09 12:06:48 +01:00
.endif ; guard