Re: [hatari-devel] add support for TT ram ?

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


Le 18/12/2014 00:00, Eero Tamminen a écrit :

-> don't force nTTRamSize=0 if machine is not a TT, the code in memory.c
will not allocate RAM anyway.

NAK.  Otherwise statusbar shows bogus info, as there's no other variable
that could be checked for TT-RAM.

hi

It's annoying to reset TT RAM size if you change the machine, I think the user might expect it to be ignored if he goes to STF/STE and to be the same when he switches back to TT/Falcon.

I think you could use this test in statusbar.c to prevent this :

if (ConfigureParams.Memory.nTTRamSize && TTmemory ) {

This requires TTmemory to be made extern in uae-cpu/memory.c and cpu/memory.c, but as it's already the case for ROMmemory, IOmemory and STRam, I don't think it's a problem.


Btw. I noticed another issue with TOS v3, which isn't there with
EmuTOS... TT-RAM is detected only when there's 4MB or less of ST-RAM
(based on what Sysinfo application reports).


Haven't tried this combination yet ; but that's because RAM > 4 MB is not standard in tos, so in stMemory.c we force it by validating the magic values in 0x420, 0x43a and 0x51a. Once these values are validated, the TOS will skip both ST and TT RAM detection at boot.

For such cases, we will need to handle TT RAM with fast boot, this way we will force both ST and TT RAM size.

Nicolas



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