-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NABULIB does not work with latest nightly (recomended) z88dk #9
Comments
+1 here. |
Right. I don't know WHY This fixes it, but it _SEEMS to work. Maybe you can test on your end too. in NABU-LIB.C, change the lines where it looks like I don't think SDCC likes it when we do the addition inside the expression. I tried hardcoding the actual address, and it started compiling ok. INTERUPT_VECTOR_MAP_ADDRESS is defined as 0xFF00 in NABU-LIB.h So I just searched for each occurrence of that variable in NABU-LIB.c and changed it to the hardcoded result of whatever expression was being used.
@DJSures I know it's been a while since you looked at NABU stuff, but this library does need a bit of TLC. All the function declarations that don't contain any arguments should be declared thusly:
IE: void inside the paratheses. This fixes the warnings about missing prototypes. |
NABU-LIB seems to be working now with the current Z88DK and related SDCC compiler. |
Which reminds me that I should get the latest Z88DK and compile it for Linux. Have a look at my blog at https://web.ncf.ca/au829/WeekendReports/20240207/NthPongWarsBlog.html for the steps I went through to get the build environment working. By the way, I have a hacked up NABU-LIB in GitHub to remove a lot of the warning messages from missing void function argument declarations (look in the NthPongCustomisations branch, that's the change in the December 28th 2025 commits, https://github.com/agmsmith/NABU-LIB/tree/NthPongCustomisations). I've since hacked it up more for better missed frame detection (use a counter, not a boolean) and freeing up 2K of space (no full screen 80 column text buffer, redundant when using CP/M). |
Thank you for that information. I pulled down your fork. The missing prototype errors went away. I also stumbled on some messages from you on the nabu.ca forums, on this very topic. I'll look through that thread when I return. |
Hello World C example does not compile.
Skeleton project also fails to compile.
I have to download z88dk nightly version from may 2023 to be able to compile examples.
The text was updated successfully, but these errors were encountered: