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

OSI: Fix RAM top detection. #217

Merged
merged 1 commit into from
Jan 16, 2025
Merged

OSI: Fix RAM top detection. #217

merged 1 commit into from
Jan 16, 2025

Conversation

ivop
Copy link
Contributor

@ivop ivop commented Jan 16, 2025

It has been tested on real hardware and the old code fails when there is less than 40kB of RAM. Real hardware returns the MSB of the address on the databus when there's no RAM at the specific location, which coincidentally was the same value I used during testing. This PR fixes that.

Regards,
Ivo

there's no RAM, but it returns the MSB of the address. Test RAM with a
value that is not equal to the MSB of the address.
@davidgiven
Copy link
Owner

Nice to know it works on real hardware. Thanks!

@davidgiven davidgiven merged commit a4018c9 into davidgiven:master Jan 16, 2025
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