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

Support 32MB system RAM configurations #82

Merged
merged 6 commits into from Jan 3, 2023
Merged

Support 32MB system RAM configurations #82

merged 6 commits into from Jan 3, 2023

Conversation

darcagn
Copy link
Contributor

@darcagn darcagn commented Jan 2, 2023

Patches introduce

  • Check in startup.s to determine if 32MB system RAM is present, and if so, set up stack appropriately
  • _arch_mem_top variable representing top of memory, along with related kernel tweaks and macros
  • Example memory-testing program demonstrating use of new 32MB features
  • Patches for GCC 4.7.4 and 9.3.0 (including Apple Silicon patch) supporting stack changes
  • Patches for GCC 4.7.4 and 9.3.0 adding builtin defines KOS_GCC_PATCHED, KOS_GCC_PATCHLEVEL, and KOS_GCC_32MB.

Thanks go to

  • tsowell for discovering how to add 32MB to Dreamcast consoles and for original AMX3 patch
  • GyroVorbis for his invaluable assistance and support
  • Cepawiel for his support and creating lxdream-nitro branch with 32MB support

… size functions; Tweak 32MB macros in arch.h; Add name to AUTHORS file
…t-in defines for KOS; patch GCC to set up stack for 32MB memory if available
…inate warnings; change #warning to #pragma message to prevent build failures in files using -Werror
@ljsebald ljsebald merged commit 233498b into KallistiOS:master Jan 3, 2023
@darcagn darcagn deleted the 32mb-mk4 branch January 3, 2023 17:28
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.

None yet

2 participants