I have seen this example, even I get it to work it is impossible to use it with my nirvana project
https://github.com/z88dk/z88dk/blob/mas ... x_reader.c
the problem is that in the example it uses -startup=31 and in the nirvana project use -startup=1
my compile code is:
Code: Select all
zcc +zx -vn -SO3 -startup=1 -clib=sdcc_iy --max-allocs-per-node200000 nirvanadem.c btile.asm -o nirvanadem
appmake +zx -b nirvanadem_NIRVANAP.bin -o nirvanap.tap --noloader --org 56323 --blockname NIRVANAP
appmake +zx -b nirvanadem_CODE.bin -o nirvanadem.tap --noloader --org 32768 --blockname nirvanadem
The error is:
Errors in source file c:\z88dk199c\Lib\Config\\..\..\\libsrc\_DEVELOPMENT\target\zx\zx_crt.asm:
if I put the -startup=1 or -startup=5, no error comes out but it seems that it ignores the fzx
The files I'm using can be downloaded from Cristian's github, author of games created with nirvana.
He changes the fonts of his games using asm. Is it possible to use FZX to change the font in nirvana or is it better to use asm pointing to the address?
https://github.com/cmgonzalez/nirvanap_demo
Thank you!