--- hatari/src/includes/tos.h 2019/04/01 07:10:35 1.1.1.2 +++ hatari/src/includes/tos.h 2019/04/01 07:14:45 1.1.1.6 @@ -8,31 +8,15 @@ #ifndef HATARI_TOS_H #define HATARI_TOS_H -/* Standard available ST memory configurations */ -enum -{ - MEMORYSIZE_512, - MEMORYSIZE_1024, - MEMORYSIZE_2MB, - MEMORYSIZE_4MB -}; - -/* List of TOS settings for different memory size */ -typedef struct -{ - unsigned long PhysTop; /* phys top */ - int MemoryConfig; /* %00=128k %01=512k %10=2Mb %11=reserved. eg %1010 = 4Mb */ - unsigned long MemoryEnd; /* Above this address causes a BusError */ -} MEMORY_INFO; - - -extern unsigned short int TosVersion; -extern unsigned long TosAddress, TosSize; -extern BOOL bTosImageLoaded; +extern bool bIsEmuTOS; +extern Uint16 TosVersion; +extern Uint32 TosAddress, TosSize; +extern bool bTosImageLoaded; +extern bool bRamTosImage; extern unsigned int ConnectedDriveMask; -extern char *pszTosNameExts[]; +extern int nNumDrives; -extern void TOS_MemorySnapShot_Capture(BOOL bSave); +extern void TOS_MemorySnapShot_Capture(bool bSave); extern int TOS_LoadImage(void); #endif