Skip to content

Switch to makebin#4

Open
basxto wants to merge 5 commits intoDonaldHays:masterfrom
basxto:sdcc4.1.0
Open

Switch to makebin#4
basxto wants to merge 5 commits intoDonaldHays:masterfrom
basxto:sdcc4.1.0

Conversation

@basxto
Copy link

@basxto basxto commented Feb 4, 2022

This is little bit bugged.
Instead of setting $014C to 1, it sets $0000 to 1 due to a bug in 4.1.0 makebin.
But as far as I can tell, that does not impact the game.

@basxto
Copy link
Author

basxto commented Feb 4, 2022

This further does:

  • Make it easy to just compile and run the game with commands like make run EMU=emulicious
  • Allow to run with snapshots, that aren’t properly installed (for testing new SDCC versions)

It will not actually run with the current snapshots due to lacking backwards compatibility:

  • -mgbz80 renamed to -msm83
  • new calling convention breaks functions written in assembly
  • completely falling back to old convention is only theoretically possible because library is only compiled with the new one

But it’s possible to explicitly fall back per function.

@basxto
Copy link
Author

basxto commented Feb 4, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant