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

(OpenBIOS) Change _bu_init() ROM offset from 0x55 to 0x70 #86

Merged
merged 6 commits into from
Oct 14, 2024

Conversation

EngineersBox
Copy link
Contributor

@EngineersBox EngineersBox commented Sep 30, 2024

It seems that emulators tend to prefer the 0x70 offset for _bu_init() in BIOS implementations. Well at least PCSX's OpenBIOS does (hard to confirm in others, like ePSXe, no$psx, RetroArch/Liberto, etc since most are freeware/closed source).

Given that PCSX-Redux runs pretty much any PS1 game to a T, then it would seem that builds with PsyQ implement _bu_init() targetting ROM 0xa0 at offset 0x70 and not 0x55, given that OpenBIOS only supports 0x70 currently. (I have an issue open with PCSX-Redux to change that and support both).

This PR essentially just changes the target offset to match.

EngineersBox and others added 6 commits January 13, 2024 23:30
* Fixed size extend check in realloc

* Fixed size usage overlapping BlockHeaders

* Fixed usage of sizing and sbrk invocations

* Fixed condition for realloc resizing to contiguously available free mem
@EngineersBox EngineersBox changed the title Change _bu_init() ROM offset from 0x55 to 0x70 (OpenBIOS) Change _bu_init() ROM offset from 0x55 to 0x70 Sep 30, 2024
@spicyjpeg spicyjpeg merged commit f5b4390 into Lameguy64:master Oct 14, 2024
1 check passed
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.

2 participants