WHDLoad MantisBT - DylanDog
View Issue Details
0006320DylanDog[All Projects] Generalpublic2023-11-30 18:472024-01-21 23:02
Assigned ToStingRay 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
ChipMem2 MB
FastMem256 MB
WorkbenchOS 3.1
KickROM40 - Kick 3.1
KickSoft40 - Kick 3.1
Summary0006320: Crashes always after start
DescriptionSlave version 1.3 2006 (Retroplay's install)

Crashes always after start with this bug:
Function 'resload_DiskLoad' called with unacceptable arguments A0 = $4FF74E20 PC = $4FFFF894 (Slave $2F4)

It crashes as "Guru" or total WinUAE stop (H3 bug), or with standard WHDLoad bug window, randomly.
Tested with 68000/020/030, all the same, all independent of WinUAE compatibility settings.
I also tried older WHDLoad 14-16 (mention in ReadMe) and no success.

File ".whdl_register" attached.
Steps To ReproduceJust run
TagsNo tags attached.
Attached Files? .whdl_register (3,272) 2023-11-30 18:47

2023-12-01 10:32   
I do not get the resload_DiskLoad error on my machine, but I know why it happens. The patch does not set the extended memory correctly, causing the game to behave incorrectly unless the extended memory starts at a 64k aligned address. It will also lead to trashed memory outside WHDLoad causing a crash once the game is quit.

I have started to rewrite the patch to address these and other problems.
2024-01-20 20:12   
The updated patch is now available. Took a bit longer than expected as finding the reason for the crashes was very time consuming. I have hopefully found a good solution, at least on my system the crashes do not occur anymore.
2024-01-21 01:08   
It seems the intro and game work fine, tested with 68000/020, so... good job as always.

One note yet. When quitkey is used, WinUAE crashes with GURU (Software failure), at least at me, tested with 68000/020/030 all cycle exact. But, when nothing is cycle exact and CPU emulation speed is fastest possible, so quitkey works without any problems. I think, this problem (quitkey) is WinUAE related, not slave.
2024-01-21 23:02   
Tested on my A600 and A1200 and on both machines the game works fine but pressing the quit key causes a guru meditation on both machines.

Issue History
2023-11-30 18:47Velociraptor5New Issue
2023-11-30 18:47Velociraptor5File Added: .whdl_register
2023-11-30 19:32StingRayAssigned To => StingRay
2023-11-30 19:32StingRayStatusnew => assigned
2023-12-01 10:32StingRayNote Added: 0013397
2024-01-20 20:12StingRayNote Added: 0013524
2024-01-20 20:13StingRayStatusassigned => resolved
2024-01-20 20:13StingRayResolutionopen => fixed
2024-01-21 01:08Velociraptor5Note Added: 0013529
2024-01-21 23:02SupermanNote Added: 0013531