Giter Site home page Giter Site logo

Comments (5)

dciabrin avatar dciabrin commented on May 27, 2024

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.

stereomimi avatar stereomimi commented on May 27, 2024

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.

dciabrin avatar dciabrin commented on May 27, 2024

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.

stereomimi avatar stereomimi commented on May 27, 2024

I've fixed it, it was an error due to the fact that SYSTEM_IO is already called by ngdevkit

from ngdevkit.

dciabrin avatar dciabrin commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.