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

JIM RAM paging registers offset by one #7

Closed
hoglet67 opened this issue Nov 26, 2024 · 1 comment
Closed

JIM RAM paging registers offset by one #7

hoglet67 opened this issue Nov 26, 2024 · 1 comment

Comments

@hoglet67
Copy link
Collaborator

See discussion here:
https://stardot.org.uk/forums/viewtopic.php?p=440527#p440527

Fix I think is to get rid of the extra offset on these three lines:

Pi1MHz/src/ram_emulator.c

Lines 131 to 133 in 4f777fc

Pi1MHz_Register_Memory(WRITE_FRED, address + 1, ram_emulator_page_addr_high ); // high byte
Pi1MHz_Register_Memory(WRITE_FRED, address + 2, ram_emulator_page_addr_mid ); // Mid byte
Pi1MHz_Register_Memory(WRITE_FRED, address + 3, ram_emulator_page_addr_low ); // low byte

Introduced in 53733e3, so it's been in all releases after v1.13

Work around is to put the following in cmdline.txt:

Rampage_addr=0xfc

Dave

@dp111
Copy link
Owner

dp111 commented Dec 29, 2024

Thanks for finding this, fixed in commit 5a57029

@dp111 dp111 closed this as completed Dec 29, 2024
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