Skip to content

Commit 073f5f3

Browse files
committed
feat: add fonts for FZX and an example
1 parent 9bbaed8 commit 073f5f3

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

examples/printfzx.bas

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
REM PRINTFZX Example
2+
3+
#include <printfzx.bas>
4+
5+
CLS
6+
7+
printFzxSetFontAddr(@font1)
8+
printFzxAt(70, 90)
9+
printFzxStr("Big Bold Font")
10+
11+
printFzxSetFontAddr(@font2)
12+
printFzxAt(90, 90)
13+
printFzxStr("Cobra Font")
14+
PAUSE 0
15+
END : REM important to finish here or CPU will crash on next line
16+
17+
font1:
18+
ASM
19+
INCBIN "fzx_fonts/bigbold.fzx"
20+
END ASM
21+
22+
font2:
23+
ASM
24+
INCBIN "fzx_fonts/cobra.fzx"
25+
END ASM

tools/nextcreator.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)