Le 06/11/2023 à 20:30, Thomas Huth a écrit :
I can reproduce the crash, but only with --enable-debug.
I can also reproduce it by starting without hatari.cfg with:
hatari --machine ste --tos tos206fr.rom --memsize 14
Then go to the GUI, select 1 MB and return from the GUI.
Thanks, I can get the crash too with this scenario.
This is similar to previous crash when going from falcon to st with >=
4MB , MMU conf at ff8001 will store 0xf (invalid size for both memory
banks) and MMU_Bank0_Size will be set to 0 at start, but will also keeps
its 0 value after reset when calling memory_init with <= 4 MB, which
calls memory_map_Standard_RAM and trigger the crash
I will look for a correct place to ensure MMU_Bank0_Size has a correct
value in these cases.