diff --git a/spicode.s65 b/spicode.s65 index c1b54f9..ba1bb66 100644 --- a/spicode.s65 +++ b/spicode.s65 @@ -1,12 +1,13 @@ .include "system.h65" .include "lcd.h65" .include "math.h65" +.include "keypad.h65" .import home:absolute .segment "SPI" .export CODE_START -Export CODE_START: +.assert * = $5000, error, "SPI Code not at $5000" lda '$' jsr lcd::print_char lda # %x -> %x:)" TEST_OUT: .asciiz "TESTOUT" - +HEX_CHARS_UPPER: .byte "0123456789ABCDEF" +HEX_CHARS_LOWER: .byte "0123456789abcdef"