From 2c41506765c4cce75bc633b6848ef96cb214ba06 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Sat, 9 Dec 2023 23:33:42 +0100 Subject: [PATCH] wip --- spicode.s65 | 99 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 42 deletions(-) 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"