.include "printer.h65" .include "lcd.h65" .include "keypad.h65" .code .proc printer jsr lcd::clear @printer_loop: jsr kp::read beq @printer_loop cmp #'*' jeq home jsr lcd::print_char bra @printer_loop .endproc