2024-04-25 04:03 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006320DylanDog[All Projects] Generalpublic2024-01-21 23:02
ReporterVelociraptor5 
Assigned ToStingRayProject InfoDylan Dog: The Murderers (Simulmondo)
http://www.whdload.de/games/DylanDog.html
 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
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.
MachineUAE
CPU68020
CPUSpeed14
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem256 MB
WorkbenchOS 3.1
KickROM40 - Kick 3.1
KickSoft40 - Kick 3.1
WHDLoad18.9
imported
Attached Files
  • ? file icon .whdl_register (3,272 bytes) 2023-11-30 18:47 -
    ************************* 30-Nov-23 18:17:08 ************************18.9.6601***
    Slave='DylanDogTheMurderers.slave' (1164 bytes)
    Resload   4FF6F520 - 4FF75EF4 (  27092) at 4FF6F520  GL=$4FFF6510
    Slave     4FFFF5A0 - 4FFFFA08 (   1128) at 4FFFF5A0  BaseMemSize=$80000
    ExpMem    4FF76000 - 4FFF6000 ( 524288) at 4FF76000
    attn=203(20) fc=-1 kn=0 zpt=-1 ep=0 ei=0
    setcpu=33D(DC,IC,SCB,ECB,BNC)
    
    Function 'resload_DiskLoad' called with unacceptable arguments A0 = $4FF74E20 
    PC = $4FFFF894 (Slave $2F4).
    
    $4ffff85e dbf          d0,$4ffff84c
    $4ffff862 rts
    $4ffff864 move.l       ($4ffff8a4,pc),d0
    $4ffff868 tst.l        d0
    $4ffff86a beq.b        $4ffff87a
    $4ffff86c move.b       #7,($1c823)
    $4ffff874 clr.w        ($1c820)
    $4ffff87a move.b       ($c00,a0),d0                   ;$4ff75a20
    $4ffff87e clr.b        ($c00,a0)                      ;$4ff75a20
    $4ffff882 rts
    $4ffff884 movem.l      d0-d2/a0-a2,-(a7)              ;$00000fdc
    $4ffff888 mulu         #$200,d0
    $4ffff88c move.l       ($4ffff89c,pc),a2
    $4ffff890 jsr          ($28,a2)                       ;$4ff6f548
    1m$4ffff894 movem.l      (a7)+,d0-d2/a0-a2              ;$00000fdc
    22m$4ffff898 moveq        #0,d0
    $4ffff89a rts
    $4ffff89c lea          ($8800.w,a6,a7.w*4),a7
    $4ffff8a2 ori.b        #0,d7
    $4ffff8a6 ori.b        #??0,d0
    $4ffff8aa ori.b        #0,a0
    $4ffff8ae ori.b        #0,d0
    $4ffff8b2 ori.b        #??3,d0
    $4ffff8b6 moveq        #9,d4
    $4ffff8b8 lea          ($b).w,a5
    $4ffff8bc move.l       a1,a2
    $4ffff8be move.l       -(a0),d5                       ;$4ff74e20
    $4ffff8c0 moveq        #0,d1
    $4ffff8c2 move.b       d5,d1
    
    regular stack:
    $00000FDC 4FFFF894 00000380 000005DC 00000002 4FF74E20 00075000 4FF6F520 00014E50
    $00000FFC 00014ABC FFFFFFFE CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC
    $0000101C CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC
    $0000103C CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC
    $0000105C CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC
    
      ----0---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7----
    Dx    70000       5DC         2         1  D4D4D4D4  D5D5D5D5  D6D6D6D6         0
    Ax 4FF74E20     75000  4FF6F520  A3A3A3A3     1C76E  4FFFF8AC    DFF000
    
                     TTSM III   XNZVC
    PC=4FFFF89422m  SR=%0010000000000000  USP=7FC00  1mISP=FDC  MSP=7F800
    VBR=4FFF7510  SFC=5  DFC=5  CACR=0  CAAR=0
    
             MEDRAAAABVCPSDT          YZ  PMRCBSDAAAA
    intena=%010000000010100022m dmacon=%1m0010011111000000 adkcon=$1100
    intreq=%0000000000000000
    vposr....A300  vhposr...037A  joy0dat..0001  joy1dat..0000  clxdat...8000  
    pot0dat..0000  pot1dat..0000  potinp...5500  serdatr..3800  dskbytr..8000  
    deniseid.00F8  hhposr...0002  
       ciaa:     PI ROPS		   ciab:     PI ROPS
    	cra=0000000022m  ta=21FF<21FF	   cra=1m00000000  ta=FFFF<FFFF
    	    AII ROPS			    AII ROPS
    	crb=0000000022m  tb=21FF<21FF	   crb=1m00000000  tb=FFFF<FFFF
    	    10RTWCLO	  parallel	    DRCCDSOY      M3210HDS
    	pra=1111110022m  prb=1m1111111122m      pra=1m1111111122m  prb=1m11111111
           ddra=0000001122m ddrb=1m0000000022m     ddra=1m1100000022m ddrb=1m11111111
           event=000023  icr=00  sdr=00    event=002ACB  icr=00  sdr=00
    
    ? file icon .whdl_register (3,272 bytes) 2023-11-30 18:47 +

-Relationships
+Relationships

-Notes

note ~0013397

StingRay (developer)

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.

note ~0013524

StingRay (developer)

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.

note ~0013529

Velociraptor5 (reporter)

It seems the intro and game work fine, tested with 68000/020, so... good job as always.
Thanks

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.

note ~0013531

Superman (reporter)

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.
+Notes

-Issue History
Date Modified Username Field Change
2023-11-30 18:47 Velociraptor5 New Issue
2023-11-30 18:47 Velociraptor5 File Added: .whdl_register
2023-11-30 19:32 StingRay Assigned To => StingRay
2023-11-30 19:32 StingRay Status new => assigned
2023-12-01 10:32 StingRay Note Added: 0013397
2024-01-20 20:12 StingRay Note Added: 0013524
2024-01-20 20:13 StingRay Status assigned => resolved
2024-01-20 20:13 StingRay Resolution open => fixed
2024-01-21 01:08 Velociraptor5 Note Added: 0013529
2024-01-21 23:02 Superman Note Added: 0013531
+Issue History