Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 563 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 563 Bytes

Print string using the system font

This ROM displays "Hello world!" using the print_string routine and HuDK system font.

asmC
stw    #txt, <_si   ; string address
stb    #32, <_al    ; text area width
stb    #20, <_ah    ; text area height
ldx    #10          ; BAT X coordinate
lda    #8           ; BAT Y coordinate
jsr    print_string

; ...

txt:
    .db "Hello world!", 0
print_string(8,10,32,20,"Hello world!");

font.pce screenshot