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

Fixforissue407 #408

Closed
wants to merge 3 commits into from
Closed

Fixforissue407 #408

wants to merge 3 commits into from

Conversation

RetroCogs
Copy link
Contributor

Fix for issue #407

When GOTOX bit is set, enable_bg_paint should be set/cleared based on colorram0-bit7

lgblgblgb and others added 3 commits August 6, 2024 13:05
Rhialto had the feature request to have a mode, where Xemu/MEGA65 can warn you
on reading memory which was not written before, can be useful to find ROM bugs.

In this current form, it's quite minimal and simple:

1. Only works on the first 126K of physical RAM
2. Only works from command line, start emulation with paramter: -ramcheckread
3. You need to watch the output of the emulator, so on UNIX-like/Linux/Mac systems,
   emulator should be started from terminal window, on Windows, Xemu
   console must be open (start also with parameter: -syscon)
4. Check the output of the emulator, you can find lines like:
   MEM: DEBUG: main RAM at linear address $101A0 has been read without prior write; PC=$8613 [$20613]
   The PC value can be off by some bytes, because it may have been
   incremented already during opcode emulation. The [...] is the linear
   address for the mentioned CPU PC value.

Well, that's it.
Incomplete and possible buggy first try implementation of DMA line
drawing. Ideas are based on a "draft implementation" by btoschi
on Discord (@bjotos on github).

The only reason I present this highly incomplete work in the next branch
of Xemu (so not in dev) because I am on holiday, so it's a bit random
when I have time to do more work. Thus it's better to release it in
this unfinished form, I guess, if someone wants to play with it.
@RetroCogs
Copy link
Contributor Author

Dang it, I mean't to submit this pull request for .next not .master, sigh

@RetroCogs RetroCogs closed this Aug 21, 2024
@RetroCogs RetroCogs deleted the fixforissue407 branch September 14, 2024 03:15
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