[hatari-devel] Possible bug in CPU emulation?

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


As reported here, a user created a disk image that works with Hatari, but crashes on real hardware. The culprit seems to be the CBHD driver, but i would have expected that Hatari shows the same error.

 

Attached is the config file i used for testing.

 

 

[Log]
sLogFileName = stderr
sTraceFileName = stderr
nTextLogLevel = 3
nAlertDlgLogLevel = 1
bConfirmQuit = FALSE
bNatFeats = FALSE
bConsoleWindow = FALSE

[Debugger]
nNumberBase = 10
nSymbolLines = -1
nMemdumpLines = -1
nDisasmLines = -1
nExceptionDebugMask = 515
nDisasmOptions = 15
bDisasmUAE = FALSE
bSymbolsResident = FALSE
bMatchAllSymbols = FALSE
nBacktraceLines = 0

[Screen]
nMonitorType = 0
nFrameSkips = 5
bFullScreen = FALSE
bKeepResolution = TRUE
bResizable = TRUE
bAllowOverscan = TRUE
nSpec512Threshold = 1
nForceBpp = 0
bAspectCorrect = TRUE
bUseExtVdiResolutions = FALSE
nVdiWidth = 640
nVdiHeight = 480
nVdiColors = 2
bMouseWarp = TRUE
bShowStatusbar = TRUE
bShowDriveLed = TRUE
bCrop = FALSE
bForceMax = FALSE
nMaxWidth = 832
nMaxHeight = 588
bUseSdlRenderer = TRUE
nRenderScaleQuality = 0
bUseVsync = FALSE

[Joystick0]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = -1
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl

[Joystick1]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = -1
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl

[Joystick2]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = -1
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl

[Joystick3]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = -1
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl

[Joystick4]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = -1
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl

[Joystick5]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = -1
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl

[Keyboard]
bDisableKeyRepeat = FALSE
nKeymapType = 0
szMappingFileName =

[KeyShortcutsWithMod]
kOptions = O
kFullScreen = F
kBorders = B
kMouseMode = M
kColdReset = C
kWarmReset = R
kScreenShot = G
kBossKey = I
kCursorEmu = J
kFastForward = X
kRecAnim = A
kRecSound = Y
kSound = S
kPause =
kDebugger = Pause
kQuit = Q
kLoadMem = L
kSaveMem = K
kInsertDiskA = D
kSwitchJoy0 = F1
kSwitchJoy1 = F2
kSwitchPadA = F3
kSwitchPadB = F4

[KeyShortcutsWithoutMod]
kOptions = F12
kFullScreen = F11
kBorders =
kMouseMode =
kColdReset =
kWarmReset =
kScreenShot =
kBossKey =
kCursorEmu =
kFastForward =
kRecAnim =
kRecSound =
kSound =
kPause = Pause
kDebugger =
kQuit =
kLoadMem =
kSaveMem =
kInsertDiskA =
kSwitchJoy0 =
kSwitchJoy1 =
kSwitchPadA =
kSwitchPadB =

[Sound]
bEnableMicrophone = FALSE
bEnableSound = FALSE
bEnableSoundSync = FALSE
nPlaybackFreq = 44100
nSdlAudioBufferSize = 0
szYMCaptureFileName = /home/sebilla/hatari-mint-bug/
YmVolumeMixing = 2

[Memory]
nMemorySize = 14336
#nTTRamSize = 2097152
#nTTRamSize = 1048576
#nTTRamSize = 507904
#nTTRamSize = 524288
nTTRamSize = 262144
#nTTRamSize = 245760
#nTTRamSize = 16384
#nTTRamSize = 0
bAutoSave = FALSE
szMemoryCaptureFileName = /home/sebilla/hatari-mint-bug/
szAutoSaveFileName =

[Floppy]
bAutoInsertDiskB = TRUE
FastFloppy = TRUE
EnableDriveA = TRUE
DriveA_NumberOfHeads = 2
EnableDriveB = TRUE
DriveB_NumberOfHeads = 2
nWriteProtection = 0
szDiskAZipPath =
szDiskAFileName = hddriver.st
szDiskBZipPath =
szDiskBFileName =
szDiskImageDirectory =

[HardDisk]
nGemdosDrive = -1
bBootFromHardDisk = TRUE
bUseHardDiskDirectory = FALSE
szHardDiskDirectory = /home/sebilla/hatari-mint-bug/drives
nGemdosCase = 0
nWriteProtection = 0
bFilenameConversion = FALSE
bGemdosHostTime = FALSE

[ROM]
szTosImageFileName = /home/sebilla/atari/roms/tos206de.img
bPatchTos = TRUE
szCartridgeImageFileName =

[RS232]
bEnableRS232 = FALSE
szOutFileName = /dev/modem
szInFileName = /dev/modem
bEnableSccB = FALSE
sSccBOutFileName = /dev/modem

[Printer]
bEnablePrinting = FALSE
szPrintToFileName =

[Midi]
bEnableMidi = FALSE
sMidiInFileName = /dev/snd/midiC1D0
sMidiOutFileName = /dev/snd/midiC1D0
sMidiInPortName = Off
sMidiOutPortName = Off

[System]
nCpuLevel = 0
nCpuFreq = 32
bCompatibleCpu = TRUE
nModelType = 0
bBlitter = FALSE
nDSPType = 0
bPatchTimerD = TRUE
bFastBoot = FALSE
bFastForward = FALSE
bAddressSpace24 = TRUE
bCycleExactCpu = TRUE
n_FPUType = 0
bSoftFloatFPU = FALSE
bMMU = FALSE
VideoTiming = 3

[Video]
AviRecordVcodec = 2
AviRecordFps = 0
AviRecordFile = /home/sebilla/hatari-mint-bug/

[ACSI]
bUseDevice0 = TRUE
sDeviceFile0 = /home/sebilla/hatari-mint-bug/stmint-broken.img
nBlockSize0 = 512
bUseDevice1 = FALSE
sDeviceFile1 = /home/sebilla/hatari-mint-bug
nBlockSize1 = 512
bUseDevice2 = FALSE
sDeviceFile2 = /home/sebilla/hatari-mint-bug
nBlockSize2 = 512
bUseDevice3 = FALSE
sDeviceFile3 = /home/sebilla/hatari-mint-bug
nBlockSize3 = 512
bUseDevice4 = FALSE
sDeviceFile4 = /home/sebilla/hatari-mint-bug
nBlockSize4 = 512
bUseDevice5 = FALSE
sDeviceFile5 = /home/sebilla/hatari-mint-bug
nBlockSize5 = 512
bUseDevice6 = FALSE
sDeviceFile6 = /home/sebilla/hatari-mint-bug
nBlockSize6 = 512
bUseDevice7 = FALSE
sDeviceFile7 = /home/sebilla/hatari-mint-bug
nBlockSize7 = 512

[SCSI]
bUseDevice0 = FALSE
sDeviceFile0 = /home/sebilla/hatari-mint-bug
nBlockSize0 = 512
bUseDevice1 = FALSE
sDeviceFile1 = /home/sebilla/hatari-mint-bug
nBlockSize1 = 512
bUseDevice2 = FALSE
sDeviceFile2 = /home/sebilla/hatari-mint-bug
nBlockSize2 = 512
bUseDevice3 = FALSE
sDeviceFile3 = /home/sebilla/hatari-mint-bug
nBlockSize3 = 512
bUseDevice4 = FALSE
sDeviceFile4 = /home/sebilla/hatari-mint-bug
nBlockSize4 = 512
bUseDevice5 = FALSE
sDeviceFile5 = /home/sebilla/hatari-mint-bug
nBlockSize5 = 512
bUseDevice6 = FALSE
sDeviceFile6 = /home/sebilla/hatari-mint-bug
nBlockSize6 = 512
bUseDevice7 = FALSE
sDeviceFile7 = /home/sebilla/hatari-mint-bug
nBlockSize7 = 512

[IDE]
bUseDevice0 = FALSE
nByteSwap0 = 2
sDeviceFile0 = /home/sebilla/hatari-mint-bug/
nBlockSize0 = 512
nDeviceType0 = 0
bUseDevice1 = FALSE
nByteSwap1 = 2
sDeviceFile1 = /home/sebilla/hatari-mint-bug/
nBlockSize1 = 512
nDeviceType1 = 0

[LILO]
Args = root=/dev/ram video=atafb:vga16 load_ramdisk=1
Kernel = /home/sebilla/atari/hatari/Release/share/hatari/vmlinuz
Symbols =
Ramdisk = /home/sebilla/atari/hatari/Release/share/hatari/initrd
HaltOnReboot = TRUE
KernelToFastRam = TRUE
RamdiskToFastRam = TRUE



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