Testing character generation

This commit is contained in:
Daniele Verducci su MatissePenguin 2021-01-24 12:13:17 +01:00
parent baa00e3ea0
commit 9de4753984

View File

@ -69,21 +69,27 @@ main:
out DDRB, HIGH_ACCUM ; set port as input (used as data bus)
; test draw character routine
ser r3
ser r17
test_draw_loop:
ldi A, "P"
ldi r16, 'P'
mov A, HIGH_ACCUM
call draw_char
ldi A, "A"
ldi HIGH_ACCUM, 'A'
mov A, HIGH_ACCUM
call draw_char
ldi A, "T"
ldi HIGH_ACCUM, 'T'
mov A, HIGH_ACCUM
call draw_char
ldi A, "8"
ldi HIGH_ACCUM, '8'
mov A, HIGH_ACCUM
call draw_char
ldi A, "0"
ldi HIGH_ACCUM, '0'
mov A, HIGH_ACCUM
call draw_char
ldi A, " "
ldi HIGH_ACCUM, ' '
mov A, HIGH_ACCUM
call draw_char
dec r3
dec r17
breq test_draw_loop