Implement hex_set_16

This commit is contained in:
Byron Lathi
2022-03-12 21:47:59 -06:00
parent c8a7cc4153
commit 226a2972cc

View File

@@ -25,8 +25,13 @@ _hex_set_8:
plx
rts
; @in A/X: val
; @out A: 0 for success, 1 for failure
; Sets the low 2 pairs of hex digits
_hex_set_16:
lda #$1
sta SEVEN_SEG
stx SEVEN_SEG+1
lda #$0
rts
_hex_set_24: