--- hatari/src/includes/configuration.h 2019/04/09 08:52:05 1.1.1.16 +++ hatari/src/includes/configuration.h 2019/04/09 08:54:28 1.1.1.18 @@ -1,8 +1,8 @@ /* Hatari - configuration.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ #ifndef HATARI_CONFIGURATION_H @@ -13,9 +13,12 @@ typedef struct { char sLogFileName[FILENAME_MAX]; char sTraceFileName[FILENAME_MAX]; + int nExceptionDebugMask; int nTextLogLevel; int nAlertDlgLogLevel; bool bConfirmQuit; + bool bNatFeats; + bool bConsoleWindow; /* for now, used just for Windows */ } CNF_LOG; @@ -25,6 +28,8 @@ typedef struct int nNumberBase; int nDisasmLines; int nMemdumpLines; + int nDisasmOptions; + bool bDisasmUAE; } CNF_DEBUGGER; @@ -155,6 +160,10 @@ typedef struct { bool bAutoInsertDiskB; bool FastFloppy; /* true to speed up FDC emulation */ + bool EnableDriveA; + bool EnableDriveB; + int DriveA_NumberOfHeads; + int DriveB_NumberOfHeads; WRITEPROTECTION nWriteProtection; char szDiskZipPath[MAX_FLOPPYDRIVES][FILENAME_MAX]; char szDiskFileName[MAX_FLOPPYDRIVES][FILENAME_MAX]; @@ -166,21 +175,36 @@ typedef struct #define MAX_HARDDRIVES 24 #define DRIVE_C 0 +typedef enum +{ + GEMDOS_NOP, + GEMDOS_UPPER, + GEMDOS_LOWER +} GEMDOS_CHR_CONV; + typedef struct { int nHardDiskDir; bool bUseHardDiskDirectories; - bool bUseHardDiskImage; bool bUseIdeMasterHardDiskImage; bool bUseIdeSlaveHardDiskImage; WRITEPROTECTION nWriteProtection; + GEMDOS_CHR_CONV nGemdosCase; bool bBootFromHardDisk; char szHardDiskDirectories[MAX_HARDDRIVES][FILENAME_MAX]; - char szHardDiskImage[FILENAME_MAX]; char szIdeMasterHardDiskImage[FILENAME_MAX]; char szIdeSlaveHardDiskImage[FILENAME_MAX]; } CNF_HARDDISK; +/* SCSI/ACSI configuration */ +#define MAX_ACSI_DEVS 8 + +typedef struct +{ + bool bUseDevice; + char sDeviceFile[FILENAME_MAX]; +} CNF_SCSIDEV; + /* Falcon register $FFFF8006 bits 6 & 7 (mirrored in $FFFF82C0 bits 0 & 1): * 00 Monochrome * 01 RGB - Colormonitor @@ -249,7 +273,7 @@ typedef enum MACHINE_STE, MACHINE_TT, MACHINE_FALCON, - MACHINE_MEGA_STE, + MACHINE_MEGA_STE } MACHINETYPE; typedef enum @@ -313,6 +337,7 @@ typedef struct CNF_MEMORY Memory; CNF_DISKIMAGE DiskImage; CNF_HARDDISK HardDisk; + CNF_SCSIDEV Acsi[MAX_ACSI_DEVS]; CNF_ROM Rom; CNF_RS232 RS232; CNF_PRINTER Printer;