--- previous/src/nextMemory.c 2018/04/24 19:25:10 1.1 +++ previous/src/nextMemory.c 2018/04/24 19:31:06 1.1.1.4 @@ -6,51 +6,22 @@ ST Memory access functions. */ -const char STMemory_fileid[] = "Hatari stMemory.c : " __DATE__ " " __TIME__; +const char STMemory_fileid[] = "Previous nextMemory.c : " __DATE__ " " __TIME__; #include "nextMemory.h" #include "configuration.h" #include "ioMem.h" #include "log.h" #include "memory.h" -#include "memorySnapShot.h" /* - * main RAM buffer (8mb for stock Next) + * Main RAM buffer (128 MB for turbo systems) */ -Uint8 NEXTRam[64*1024*1024]; +Uint8 NEXTRam[128*1024*1024]; -Uint32 NEXTRamEnd; /* End of ST Ram, above this address is no-mans-land and ROM/IO memory */ +Uint32 NEXTRamEnd; Uint8 NEXTRom[0x20000]; Uint8 NEXTIo[0x20000]; - -/** - * Clear section of NEXT's memory space. - */ -void NEXTMemory_Clear(Uint32 StartAddress, Uint32 EndAddress) -{ - memset(&NEXTRam[StartAddress], 0, EndAddress-StartAddress); -} - - -/** - * TODO - */ -void NEXTMemory_MemorySnapShot_Capture(bool bSave) -{ - MemorySnapShot_Store(&NEXTRamEnd, sizeof(NEXTRamEnd)); - - /* Only save/restore area of memory machine is set to, eg 1Mb */ - MemorySnapShot_Store(NEXTRam, NEXTRamEnd); -} - - -/** - * TODO - */ -void NEXTMemory_SetDefaultConfig(void) -{ -}