Skip to content
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

Is there a build of the patched sdcc for the Raspberry PI? #3

Open
Abundant-Absurdity opened this issue Mar 14, 2023 · 3 comments
Open

Comments

@Abundant-Absurdity
Copy link

I'm running this on a raspberry pi 4b 2gb. I have to compile sdcc from source you use the patches or hope someone out there has it built for arm64. If I don't get the patches I can't play with game gear. How can I apply the patches to the source manually cause I fully admit my ignorance of patches and source and what not. I'm just trying to use what's at hand.

@bbbbbr
Copy link
Collaborator

bbbbbr commented Mar 15, 2023

Building patched sdldz80

  1. Download the unpatched 12539 sdcc source from the releases in this repo and extract it
  2. Download the patch and save it as sdldz80-sms-virtual-address.patch
  3. In a terminal go into the sdcc folder in the extracted files
  4. Run patch -p1 < PATH_TO_PATCH_FILE/sdldz80-sms-virtual-address.patch where PATH_TO_PATCH_FILE is the folder where the patch file is saved to
  5. Follow the instructions in this repo to build SDCC (unsure if they are exact for a raspberry pi)

Take the resulting sdldz80 binary and use that with SDCC 13350 (you may need to build that yourself as well)

If needed you can generate a download link for the SDCC 13350 source here on the right-hand side of the page:
https://sourceforge.net/p/sdcc/code/13350/tree/

@Abundant-Absurdity
Copy link
Author

Thank you for giving me this info! If I mange to get it compiled properly, would you like a copy to put up or would you get mad if I setup a IDK fork or my own github with the Raspberry PI compilations?

@bbbbbr
Copy link
Collaborator

bbbbbr commented Mar 15, 2023

Glad to hear.

The best course is for you to set up your fork and link to it from this issue. I'll pin the issue and change the title so it is easier for people to find.

@bbbbbr bbbbbr pinned this issue Mar 15, 2023
@bbbbbr bbbbbr changed the title Any chance for the source for the patched sdcc? Is there a build of the patched sdcc sdldz80 (Game Gear/SMS) for the Raspberry PI? Mar 15, 2023
@bbbbbr bbbbbr changed the title Is there a build of the patched sdcc sdldz80 (Game Gear/SMS) for the Raspberry PI? Is there a build of the patched sdcc for the Raspberry PI? Mar 15, 2023
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

No branches or pull requests

2 participants