SolraBizna / j6502

Cycle-accurate W65C02 emulator in Java
Other
2 stars 1 forks source link

Better documentation regarding MMU #2

Closed atirut-w closed 2 years ago

atirut-w commented 2 years ago

The documentation for MMU is specially dry and I'm trying to figure out how it works. The only thing I figured out is that there's bank switching and writing to areas more than installed RAM can access results in a "black hole" behavior.

EDIT: Still just guesswork, but maybe swicthing bank switches out a choosen page of memory?

SolraBizna commented 2 years ago

Hm, it seems I neglected to actually expand precisely on what the $200-$23F registers do and how the memory is mapped. Scanning the documentation again, I'm surprised I managed to implement and document so much when I was on such a time crunch.

Improving this documentation seems like a fun task to do while I'm sick (not sarcasm). I should have slightly improved documentation committed soon.

atirut-w commented 2 years ago

while I'm sick

I hope you get well soon :+1: . I also have some plans to fork and improve the docs.

SolraBizna commented 2 years ago

I added a lot of stuff about memory mapping, and also clarified a few other parts of the documentation. Hopefully this helps.