Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager)

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi Nicolas,

Please see the attached bootable image. It contains two partitions. A boot
partition with AHDI and a preconfigured OUTSIDE in the AUTO folder. The
preconfigured OUTSIDE uses drive D (96 MB) as the swap drive.
After booting this image (from ACSI) just launch OUTCONF.APP from the
desktop. (Any other application would also do, I just copied OUTCONF.APP
there.) After some seconds I get the same crash I posted before.
When using the image attached to SCSI the result is the same.

Note that there may be non-PMMU related compatibility issues preventing
OUTSIDE from running with Hatari, but at least the segmentation fault
appears to be related to the PMMU emulation. And it does not just crash the
emulated TT, but Hatari itself.
Flaws in the PMMU emulation might also be the reason for ASV not working.
I don't know, though, which page size ASV uses. 8, 16 and 32 KB pages all
work fine with a real Atari.

Note that OUTSIDE does not have to be started from the AUTO folder. It
can also be started any time from the desktop, in order to add virtual
memory.

Best regards

Uwe

> Le 02/10/2018 à 12:01, Uwe Seimet a écrit :
> > Hi,
> > 
> > In order to test Hatari's behavior wrt PMMU and other options a bit, I
> > tried to start OUTSIDE. This one definitely uses the PMMU :-).
> > Hatari crashes with a segmentation fault when running OUTSIDE:
> > 
> > #0  0x0000000000000002 in ?? ()
> > #1  0x0000000000000002 in ?? ()
> > #2  0x0000555555e900f1 in put_byte_mmu030c_state (v=50, addr=1744437248)
> >      at /home/us/hatari/hatari/src/cpu/cpummu030.h:588
> > #3  op_08a8_35_ff (opcode=<optimized out>)
> >      at /home/us/hatari/hatari/src/cpu/cpuemu_35.c:4589
> > #4  0x0000555555936d15 in m68k_run_mmu030 ()
> >      at /home/us/hatari/hatari/src/cpu/newcpu.c:6602
> > #5  0x0000555555931c8a in m68k_go (may_quit=<optimized out>)
> >      at /home/us/hatari/hatari/src/cpu/newcpu.c:7698
> > 
> > PMMU emulation, cycle exact and prefetch mode were selected. Everything
> > else was configured just like you find it to the Hatari configuration I
> > attached to my posting in the NVDI thread.
> > 
> > If somebody is interested in investigating this, just download OUTSIDE from
> > http://www.seimet.de/atari/en/index.html. There is a German manual only,
> > but the basic installation is simple:
> > 
> > 1. Put OUTSIDE.PRG into the AUTO folder
> > 2. Launch OUTCONF.APP
> > 3. Select the swap partition. This partition will be write selected
> > while OUTSIDE is running. Only non-allocated clusters will be used for
> > swapping. I recommend an empty partition.
> > 4. Reboot
> > 5. You should now have (additional, depending on the settings) alternate RAM.
> > 
> > Note that the OUTSIDE archive also contains the source code. For testing
> > the PMMU it's probably a good candidate. You can also configure 16 and
> > 32 KB pages to be used, not just the usual 8 KB pages. Both TT and
> > Falcon are supported.
> > 
> > Best regards
> > 
> > Uwe
> 
> Hi
> 
> this looks interesting ; do you have a zip archive of a directory or HD 
> image that I could use directly with the necessary programs to reproduce 
> it ?
> 
> I have little time at the moment, and I could spend more time on this 
> issue if I could boot hatari directly with such image.
> 
> Nicolas
> 
> 

Attachment: outside.img.gz
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/