Re: [hatari-devel] IDE access problems with cycle exact

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


Hi Thomas,

Please find the relevant config files as an attachment. What I did is starting
Hatari without any parameters. hatari.cfg is my default config file.
Now during the memory test I press F12 and load the hatari.cfg.st config
file. Next I enable "Cycle exact" and reset Hatari. Now the IDE
emulation is broken. When doing exactly the same except for enabling
"Cycle exact" IDE works fine.

Take care

Uwe

> Am Sat, 18 Apr 2015 14:52:17 +0200
> schrieb Uwe Seimet <Uwe.Seimet@xxxxxxxxx>:
> 
> > Hi,
> > 
> > With TOS 2.06 in ST emulation with MC68000 I cannot access the IDE
> > port when I enable "Cycle exact". Looks as is garbage is returned
> > instead of actual data when reading data from IDE.
> 
> I just had a quick try, and it seems to work here, I can boot from an
> IDE hard disk image when I've got "Cycle exact" enabled.
> 
> Could you maybe post your config file and the exact steps that you were
> doing when it failed?
> 
>  Thomas
> 
> 

Attachment: hatari.cfg.st
Description: application/vnd.sailingtracker.track

[Log]
sLogFileName = stderr
sTraceFileName = stderr
nTextLogLevel = 4
nAlertDlgLogLevel = 1
bConfirmQuit = FALSE
bNatFeats = FALSE
bConsoleWindow = FALSE
nExceptionDebugMask = 259

[Screen]
nMonitorType = 0
nFrameSkips = 5
bFullScreen = FALSE
bAllowOverscan = FALSE
nSpec512Threshold = 16
nForceBpp = 0
bUseExtVdiResolutions = TRUE
nVdiWidth = 1280
nVdiHeight = 1168
nVdiColors = 0
bShowStatusbar = FALSE
bShowDriveLed = FALSE
bAspectCorrect = TRUE
bCrop = FALSE
nMaxWidth = 832
nMaxHeight = 576
bKeepResolution = FALSE
bKeepResolutionST = FALSE
bForceMax = FALSE

[Joystick0]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 1
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

[Joystick1]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 0
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

[Joystick2]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 2
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

[Joystick3]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 3
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

[Joystick4]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 4
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

[Joystick5]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 5
nKeyCodeUp = 273
nKeyCodeDown = 274
nKeyCodeLeft = 276
nKeyCodeRight = 275
nKeyCodeFire = 305

[Keyboard]
bDisableKeyRepeat = TRUE
nKeymapType = 1
szMappingFileName =

[ShortcutsWithModifiers]
keyOptions = 111
keyFullScreen = 102
keyMouseMode = 109
keyColdReset = 99
keyWarmReset = 114
keyScreenShot = 103
keyBossKey = 105
keyCursorEmu = 106
keyFastForward = 120
keyRecAnim = 97
keyRecSound = 121
keySound = 115
keyPause = 0
keyDebugger = 19
keyQuit = 113
keyLoadMem = 108
keySaveMem = 107
keyInsertDiskA = 100

[ShortcutsWithoutModifiers]
keyOptions = 293
keyFullScreen = 292
keyMouseMode = 0
keyColdReset = 0
keyWarmReset = 0
keyScreenShot = 0
keyBossKey = 0
keyCursorEmu = 0
keyFastForward = 0
keyRecAnim = 0
keyRecSound = 0
keySound = 0
keyPause = 19
keyDebugger = 0
keyQuit = 0
keyLoadMem = 0
keySaveMem = 0
keyInsertDiskA = 0

[Sound]
bEnableSound = FALSE
nPlaybackFreq = 44100
szYMCaptureFileName = /home/us/hatari.wav
bEnableMicrophone = TRUE
nSdlAudioBufferSize = 0
YmVolumeMixing = 2
bEnableSoundSync = FALSE

[Memory]
nMemorySize = 14
bAutoSave = FALSE
szMemoryCaptureFileName = /home/us/.hatari/hatari.sav
szAutoSaveFileName = /home/us/.hatari/auto.sav
nTTRamSize = 32

[Floppy]
bAutoInsertDiskB = TRUE
nWriteProtection = 0
szDiskAZipPath =
szDiskAFileName =
szDiskBZipPath =
szDiskBFileName =
szDiskImageDirectory = /home/us/hatari
FastFloppy = FALSE
EnableDriveA = FALSE
EnableDriveB = FALSE
DriveA_NumberOfHeads = 2
DriveB_NumberOfHeads = 2

[HardDisk]
bBootFromHardDisk = TRUE
bUseHardDiskDirectory = TRUE
szHardDiskDirectory = /home/us/TT
#bUseHardDiskImage = FALSE
#szHardDiskImage = /home/us/hatari/acsi.img
bUseIdeMasterHardDiskImage = TRUE
bUseIdeSlaveHardDiskImage = TRUE
szIdeMasterHardDiskImage = /home/us/hatari/master.img
#szIdeMasterHardDiskImage = /dev/sdh
szIdeSlaveHardDiskImage = /home/us/hatari/slave.img
#szIdeSlaveHardDiskImage = /dev/sdc
nWriteProtection = 0
nGemdosCase = 0
nHardDiskDrive = 0

[ROM]
szTosImageFileName = /opt/atari/tos306de.img
#szTosImageFileName = /opt/atari/etos512k.img
szCartridgeImageFileName =
bPatchTos = TRUE

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

[Printer]
bEnablePrinting = TRUE
szPrintToFileName = /tmp/prn.out

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

[System]
nCpuLevel = 3
nCpuFreq = 32
bCompatibleCpu = FALSE
nMachineType = 2
bBlitter = FALSE
nDSPType = 0
bRealTimeClock = FALSE
bPatchTimerD = TRUE
bFastForward =TRUE
bAddressSpace24 = FALSE
bCycleExactCpu = FALSE
n_FPUType = 68882
bCompatibleFPU = FALSE
bMMU = FALSE
bFastBoot = TRUE

[Debugger]
nNumberBase = 10
nDisasmLines = 8
nMemdumpLines = 8
nDisasmOptions = 15
bDisasmUAE = FALSE

[Video]
AviRecordVcodec = 2
AviRecordFps = 0
AviRecordFile = /home/us/test/hatari/hatari.avi

[ACSI]
bUseDevice1 = FALSE
sDeviceFile1 = /home/us/hatari/aranym.img
bUseDevice2 = FALSE
sDeviceFile2 = /home/us/hatari/win.img
bUseDevice3 = FALSE
sDeviceFile3 = /home/us/TT/D/HDDRUTIL
bUseDevice4 = FALSE
sDeviceFile4 = /home/us/TT/D/HDDRUTIL
bUseDevice5 = FALSE
sDeviceFile5 = /home/us/TT/D/HDDRUTIL
bUseDevice6 = FALSE
sDeviceFile6 = /home/us/TT/D/HDDRUTIL
bUseDevice7 = FALSE
sDeviceFile7 = /home/us/TT/D/HDDRUTIL

[ShortcutsWithModifiers2]
keyOptions = 111
keyFullScreen = 102
keyMouseMode = 109
keyColdReset = 99
keyWarmReset = 114
keyScreenShot = 103
keyBossKey = 105
keyCursorEmu = 106
keyFastForward = 120
keyRecAnim = 97
keyRecSound = 121
keySound = 115
keyPause = 0
keyDebugger = 1073741896
keyQuit = 113
keyLoadMem = 108
keySaveMem = 107
keyInsertDiskA = 100
keySwitchJoy0 = 1073741882
keySwitchJoy1 = 1073741883
keySwitchPadA = 1073741884
keySwitchPadB = 1073741885

[ShortcutsWithoutModifiers2]
keyOptions = 1073741893
keyFullScreen = 1073741892
keyMouseMode = 0
keyColdReset = 0
keyWarmReset = 0
keyScreenShot = 0
keyBossKey = 0
keyCursorEmu = 0
keyFastForward = 0
keyRecAnim = 0
keyRecSound = 0
keySound = 0
keyPause = 1073741896
keyDebugger = 0
keyQuit = 0
keyLoadMem = 0
keySaveMem = 0
keyInsertDiskA = 0
keySwitchJoy0 = 0
keySwitchJoy1 = 0
keySwitchPadA = 0
keySwitchPadB = 0



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