rename to keypad_printer
This commit is contained in:
parent
108e5af0b9
commit
2a13ce0ca4
4
main.s65
4
main.s65
@ -1,7 +1,7 @@
|
|||||||
.include "system/system.h65"
|
.include "system/system.h65"
|
||||||
.include "string.h65"
|
.include "string.h65"
|
||||||
.export home,homeloop
|
.export home,homeloop
|
||||||
.import printer:absolute
|
.import keypad_printer:absolute
|
||||||
.import spi_menu:absolute
|
.import spi_menu:absolute
|
||||||
|
|
||||||
.code
|
.code
|
||||||
@ -135,7 +135,7 @@ reset:
|
|||||||
lda 0
|
lda 0
|
||||||
; beq home
|
; beq home
|
||||||
cmp #'A'
|
cmp #'A'
|
||||||
jeq printer
|
jeq keypad_printer
|
||||||
cmp #'B'
|
cmp #'B'
|
||||||
jeq spi_menu
|
jeq spi_menu
|
||||||
cmp #'C'
|
cmp #'C'
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
.ifndef INCLUDE_PRINTER
|
.ifndef INCLUDE_PRINTER
|
||||||
INCLUDE_PRINTER = 1
|
INCLUDE_PRINTER = 1
|
||||||
|
|
||||||
.global printer
|
.global keypad_printer
|
||||||
.import home:absolute
|
.import home:absolute
|
||||||
|
|
||||||
.endif ; guard
|
.endif ; guard
|
@ -1,9 +1,9 @@
|
|||||||
.include "printer.h65"
|
.include "keypad_printer.h65"
|
||||||
.include "lcd.h65"
|
.include "lcd.h65"
|
||||||
.include "keypad.h65"
|
.include "keypad.h65"
|
||||||
|
|
||||||
.code
|
.code
|
||||||
.proc printer
|
.proc keypad_printer
|
||||||
jsr lcd::clear
|
jsr lcd::clear
|
||||||
@printer_loop:
|
@printer_loop:
|
||||||
jsr kp::read
|
jsr kp::read
|
Loading…
Reference in New Issue
Block a user