Single line chars demo

This commit is contained in:
Daniele Verducci su MatissePenguin 2021-01-26 08:29:08 +01:00
parent 154e4dc10c
commit 64da85548e

View File

@ -84,44 +84,13 @@ main:
; test draw character routine ; test draw character routine
;call cursor_pos_home ;call cursor_pos_home
ldi HIGH_ACCUM, 'P' ldi r18, 0x30
call draw_char draw_chars:
ldi HIGH_ACCUM, 'A' mov HIGH_ACCUM, r18
call draw_char call draw_char
ldi HIGH_ACCUM, 'T' inc r18
call draw_char cpi r18, 0x64
ldi HIGH_ACCUM, '8' brne draw_chars
call draw_char
ldi HIGH_ACCUM, '0'
call draw_char
ldi HIGH_ACCUM, ' '
call draw_char
ldi HIGH_ACCUM, 'H'
call draw_char
ldi HIGH_ACCUM, 'o'
call draw_char
ldi HIGH_ACCUM, 'm'
call draw_char
ldi HIGH_ACCUM, 'e'
call draw_char
ldi HIGH_ACCUM, ' '
call draw_char
ldi HIGH_ACCUM, 'c'
call draw_char
ldi HIGH_ACCUM, 'o'
call draw_char
ldi HIGH_ACCUM, 'm'
call draw_char
ldi HIGH_ACCUM, 'p'
call draw_char
ldi HIGH_ACCUM, 'u'
call draw_char
ldi HIGH_ACCUM, 't'
call draw_char
ldi HIGH_ACCUM, 'e'
call draw_char
ldi HIGH_ACCUM, 'r'
call draw_char