Comments (5)
These symbols are normally linked from libngdevkit.a, which should be included when you link your program with the pkg-config helper:
$ pkg-config --libs ngdevkit
-L/home/dciabrin/dam/ngdk/local/m68k-neogeo-elf/lib -specs ngdevkit-specs -lngdevkit
libngdevkit.a is built in such a why that you never link any function you don't use from it. So unless you're just interested in the base toolchain without the sugar coating, it's safe to link against libngdevkit.a, it won't cost you anything except what you're using (e.g. the DIP definition).
Can you check if adding that lib fixes the issue?
from ngdevkit.
It does work, although the program seems to not be accepting any inputs, but it's probably something related to a VBlank function name change
from ngdevkit.
Hmmm the crt0 that comes with ngdevkit always calls BIOS function SYSTEM_IO for parsing user input, even when you change the vblank default callback function.
If you're using nullbios for your tests, maybe the input checks are failing because of a recent commit [1] that broke the system_io implementation. It is fixed in the most recent commit [2].
[1] abfc1b4
[2] 1b1e838
from ngdevkit.
I've fixed it, it was an error due to the fact that SYSTEM_IO is already called by ngdevkit
from ngdevkit.
Ok I'm closing this then, everything seems to be explained and the DIP linkscript seems to work as expected.
Thanks
from ngdevkit.
Related Issues (20)
- How to convert Sprites via ngdevkit? HOT 1
- Linux compilation instructions: Ubuntu readline package name change HOT 1
- Deferred VBL routines, audio, and then some more HOT 4
- Address error HOT 1
- Packaging of ngdevkit-toolchain is broken for sdcc HOT 1
- deb packages are broken in launchpad for Jammy 22.04 HOT 1
- pip3 install pygame HOT 3
- SDCC no longer builds in MSYS2
- Tracker music support for ngdevkit? HOT 2
- GnGeo compatible with MAME? HOT 6
- Software DIP system doesn't work with optimized builds HOT 5
- MSYS2 pacman 404s when trying to download ngdevkit repo database HOT 7
- Move MSYS2 CI builds to one branch per sub-project HOT 1
- Clean nightly tags in msys2-ngdevkit repository after new commits/builds
- Update ngdevkit docs to use the new ucrt64 packages HOT 1
- rpm rebuild workflow in COPR HOT 1
- PyGame may load palette .png incorrectly, which breaks ngdevkit tools
- Games no longer work in MAME HOT 3
- SDCC compiled with program-prefix breaks .rel files generated with sdas
- ngdevkit cannot extract toolchain tarball with recent msys2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngdevkit.