Moira icon indicating copy to clipboard operation
Moira copied to clipboard

MMU test programs needed

Open dirkwhoffmann opened this issue 1 year ago • 2 comments

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

  • utilizes the MMU (obviously),
  • is as simple as possible,
  • is likely to break in the presence of bugs.

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

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

dirkwhoffmann avatar Aug 21 '22 16:08 dirkwhoffmann

GigaMem could be a suitable test case:

Bildschirmfoto 2022-08-22 um 08 35 52

dirkwhoffmann avatar Aug 22 '22 06:08 dirkwhoffmann

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.

mras0 avatar Aug 22 '22 10:08 mras0

Closed as the MMU project is put on hold.

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

dirkwhoffmann avatar Oct 07 '22 15:10 dirkwhoffmann