dirkwhoffmann / Moira

A Motorola 68000 emulator written in C++
https://dirkwhoffmann.github.io/Moira
Other
109 stars 13 forks source link

MMU test programs needed #7

Closed dirkwhoffmann closed 2 years ago

dirkwhoffmann commented 2 years ago

In this thread it was discussed to add MMU support to Moira.

I'd like to start by porting Musashi's MMU, but I am unsure about the best way to test the result. What is needed is an Amiga program which

If somebody knows a good candidate, please let me know.

Edit: An excellent article about how the MMU works can be found here.

dirkwhoffmann commented 2 years ago

GigaMem could be a suitable test case:

Bildschirmfoto 2022-08-22 um 08 35 52
mras0 commented 2 years ago

I posted some suggestions in the other thread, but I think mmu.library would be a good starting point. It's still under active development (in fact it received a minor update 2 days) ago, should support all relevant configurations, and apart from libraries it also has a number of utilities related to MMU functionality. MuManual has source code for some of them (and header files for using the library).

The readme also list some other programs using the MMU: Enforcer,CyberGuard,GuardianAngle,SetCPU,Shapeshifter,VMM, and GigaMem. WHDLoad is another important user.

After installation you can run SYS:MuTools/MuScan. For more advanced testing, run MuForce in one window and MuGuardianAngle in another (to test memory protection). The tools are a bit advanced, but there's pretty decent documentation.

dirkwhoffmann commented 2 years ago

Closed as the MMU project is put on hold.

For reference: Commit 115f803 ist the last commit containing MMU code.