dciabrin / ngdevkit

Open source development for Neo-Geo
GNU Lesser General Public License v3.0
273 stars 26 forks source link

Implement commands in USER subroutine #29

Closed dciabrin closed 4 years ago

dciabrin commented 4 years ago

Currently the game boots straight to the C's main function, without honoring the various initial command calls that the Neo Geo BIOS may request at startup. This prevents the Eye Catcher animation from showing properly.

Fix that by implementing implementing the request calls as expected by the BIOS. Make nullbios mimick that behaviour as well.

The default is now to jump to C's main only after the Eye Catcher, but that behaviour can be overriden by providing your own functions with the same name (the link script will use them automatically).

Closes #11