View Issue Details

IDProjectCategoryView StatusLast Update
06830WHDLoadGeneralpublic2026-01-09 22:12
ReporterCCRider Assigned ToWepl  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionno change required 
Product Version20.0beta 
Project InfoHD-Installer for OS-Killer
http://whdload.de/
Summary06830: v20 beta hangs on some installs
DescriptionSome installs, like Piracy Deluxe and JOTD's Dig Dug 2 hang on start, either with a plain black screen (Piracy Deluxe) or the start of the "ROM Check" (Dig Dug 2).

I can have audio return from "insert coin" on Dig Dug 2, but nothing else.

Quitkey works (returns gracefully to Workbench).

Both installs work normally under v19.
Steps To ReproduceJust run both installs with latest v20 beta.
Additional InformationAmiga 1200 with TF1260 accelerator.
TagsNo tags attached.
Attached Files
PiracyDeluxe.whdl_register (2,912 bytes)   
************************ 07-Jan-26 12:19:55 **********************20.0.7016**
Slave='PiracyDeluxe.slave' (2008 bytes)
Resload    FF67000 -  FF6FC9C (  35996) at FF67000  GL=FF73000
Slave      FFFE000 -  FFFE7B4 (   1972) at FFFE000  BaseMemSize=80000
ExpMem     FF71000 -  FF72000 (   4096) at FF71000
attn=FF(60,82) fc=-1 kn=0 zpt=-1 ep=0 ei=0
setcpu=33D(DC,IC,SCB,ECB,BNC)

Return OK.
regular stack:
$FF71FB0 FFFFFFFF 0F7C51BD 0FF7A5C2 0F7C51BD 27000FF6 99980068 20000FF6 8A9C0068
$FF71FD0 0FF6941E 00000031 00005800 0FF6A5B0 0FF693E4 0FF697BC 0FF6991A 0FF697B6
$FF71FF0 0FF6A5BC 0FF674D0 0FFFE428 0FFFE106

    ---0---  ---1---  ---2---  ---3---  ---4---  ---5---  ---6---  ---7---
Dx  F7C5130        0     49AC D3D3D3D3        0 D5D5D5D5 D6D6D6D6 D7D7D7D7
Ax   DFF000   BFE001  FF7A5C2  F7C51A8  FF73000 A5A5A5A5 A6A6A6A6

                 TTSM III   XNZVC
�1mPC=FFFFFFFF�22m  SR=%0010011100000000  USP=7FC00  �1mSSP=FF71FB0�22m
VBR=FF74000  SFC=5  DFC=5  CACR=80008000  PCR=4300522  BUSCR=0
TC=8000  URP=FF65E00  SRP=FF65E00  DTT0=0  DTT1=0  ITT0=0  ITT1=0

         MEDRAAAABVCPSDT          YZ  PMRCBSDAAAA
intena=%�1m0100000000001000�22m dmacon=%�1m0010001111000000�22m adkcon=$1100
intreq=%�1m0000000000101000�22m
vposr....B300  vhposr...0497  joy0dat..0301  joy1dat..0000  clxdat...8001  
pot0dat..35F9  pot1dat..0002  potinp...5500  serdatr..3800  dskbytr..8000  
vposw....B300  bltafwm..FFFF  bltalwm..FFFF  cop1lc...0000  cop1lcl..0200  
cop2lc...0000  cop2lcl..1000  spr0ctl..0000  spr0data.0000  spr0datb.0000  
spr1ctl..0000  spr1data.0000  spr1datb.0000  spr2ctl..0000  spr2data.0000  
spr2datb.0000  spr3ctl..0000  spr3data.0000  spr3datb.0000  spr4ctl..0000  
spr4data.0000  spr4datb.0000  spr5ctl..0000  spr5data.0000  spr5datb.0000  
spr6ctl..0000  spr6data.0000  spr6datb.0000  spr7ctl..0000  spr7data.0000  
spr7datb.0000  color00..0000  color01..0000  color02..0000  color03..0000  
color04..0000  color05..0000  color06..0000  color07..0000  color08..0000  
color09..0000  color10..0000  color11..0000  color12..0000  color13..0000  
color14..0000  color15..0000  color16..0000  color17..0000  color18..0000  
color19..0000  color20..0000  color21..0000  color22..0000  color23..0000  
color24..0000  color25..0000  color26..0000  color27..0000  color28..0000  
color29..0000  color30..0000  color31..0000  
   ciaa:     PI ROPS		   ciab:     PI ROPS
	cra=�1m01001000�22m  ta=  8E<  8E	   cra=�1m00000000�22m  ta=FFFF<FFFF
	    AII ROPS			    AII ROPS
	crb=�1m00000000�22m  tb=21FF<21FF	   crb=�1m00000000�22m  tb=FFFF<FFFF
	    10RTWCLO	  parallel	    DRCCDSOY      M3210HDS
	pra=�1m11111110�22m  prb=�1m11111111�22m      pra=�1m11111111�22m  prb=�1m11111111�22m
       ddra=�1m00000011�22m ddrb=�1m00000000�22m     ddra=�1m11000000�22m ddrb=�1m11111111�22m
       event=0003B5  icr=00  sdr=9F    event=048975  icr=04  sdr=00
       alarm=000000  icm=09	       alarm=000000  icm=00	   
PiracyDeluxe.whdl_register (2,912 bytes)   
SMB2-Shutdown (45 bytes)   
Mount SMB2: SHUTDOWN && Assign SMB2: DISMOUNT
SMB2-Shutdown (45 bytes)   
MachineA1200
CPU68060
CPUSpeed50
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem128 MB
WorkbenchOS 3.2
KickROM47 - Kick 3.2
KickSoftNone
WHDLoad20.0beta

Activities

DJ Mike

DJ Mike

2026-01-07 14:55

developer   note ~14779

Could you please run with SNOOPOCS MMU COREDUMP options, quit at the black screen and attach the ".whdl*" files? Might need to be SNOOPAGA for Dig Dug 2.

Might reveal something in a custom register that isn't as it should be.
CCRider

CCRider

2026-01-07 16:40

reporter   note ~14780

Here it goes for Piracy Deluxe...
PiracyDeluxe.zip (5,173 bytes)
CCRider

CCRider

2026-01-07 16:42

reporter   note ~14781

For Dig Dug 2 AGA I upped to my drive, since it's bigger than 200 KB. The link: https://drive.google.com/file/d/1D-cBqC4jWZXCwAXnRiqHx21DQ4p3wU2_/view?usp=share_link
DJ Mike

DJ Mike

2026-01-07 17:15

developer   note ~14783

Last edited: 2026-01-07 17:15

For Piracy Deluxe I can see it is inside WHDL LoadFileDecrunch when you exit. Could you try with PRELOAD as well please?

Also use SNOOPAGA throughout as that lists out all registers. :)

CCRider

CCRider

2026-01-07 17:22

reporter   note ~14784

Can do it later with SNOOPAGA as well, but I'm pretty sure PRELOAD was already set on it.
Wepl

Wepl

2026-01-07 20:44

manager   note ~14785

Last edited: 2026-01-07 20:47

Please set option TRACE.
Run it one time with WHDLoad 19.2 and one time with the latest WHDLoad beta.
Then attach the created file .whdl_trace

CCRider

CCRider

2026-01-07 21:05

reporter   note ~14786

Ok, focusing on Piracy Deluxe for now. PRELOAD was indeed already set.

Dunno if this is expected, but with TRACE enabled, the game doesn't start even with v19 (stays on a black screen, but quitkey works).

Trace file attached, as per requested.
Piracy_deluxe_whdl_trace (12,741 bytes)   
[07-Jan-26 16:58:12.72 6941] ***************************************************************************************************
[07-Jan-26 16:58:12.74 6941] Slave="PiracyDeluxe.slave" Preload PreloadSize=1051392 PAL QuitKey=48 ExecuteStartup="S:WHDLoad-Startup" ExecuteCleanup="S:WHDLoad-Cleanup" NoFilter Trace
[07-Jan-26 16:58:12.74 6941] 19.2.6941 eaf=80FF waf=FF vbr=0 cacr=A0808000 tc=8000 pcr=4300521 bplcon0=200 chiprev=1F
[07-Jan-26 16:58:12.76 6941] mem delta 129794344
[07-Jan-26 16:58:12.78 6941] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=128120200
[07-Jan-26 16:58:12.78 6941] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1674144
[07-Jan-26 16:58:12.80 6941] performing Slave Update Check for 'PiracyDeluxe.slave', Stack='Roadshow 4.347 (29.11.2019)'
[07-Jan-26 16:58:13.70 6941] connecting to host 'cgi.whdload.net' ip=$B91E2039 port=80
[07-Jan-26 16:58:13.72 6941] local port: 1025
[07-Jan-26 16:58:13.94 6941] query: GET /suc.cgi?sum=D7LZUOMlziafzcsDlJJHD5D0Ux8VhLpOBOVY5WZrZ8I&key=0&attn=255&whd=19.2.6941 HTTP/1.0
Host: cgi.whdload.net
User-Agent: WHDLoad 19.2.6941


[07-Jan-26 16:58:14.38 6941] result: HTTP/1.1 200 OK
Server: nginx
Date: Wed, 07 Jan 2026 19:58:14 GMT
Content-Type: text/plain;charset=UTF-8
Content-Length: 95
Connection: close
Vary: Accept-Encoding

slv=a
whdbver=20.0.7016
whdbdat=2026-01-01 22:09:15
whdburl=http://whdload.de/whdload/?C=M;O=D

[07-Jan-26 16:58:14.38 6941] ExecuteStartup: S:WHDLoad-Startup 
[07-Jan-26 16:58:14.40 6941] restart point
[07-Jan-26 16:58:14.40 6941] int: tbe     d=0 c=0 n=0
[07-Jan-26 16:58:14.42 6941] int: dskblk  d=8003564 c=FC5062 n=80035B2
[07-Jan-26 16:58:14.42 6941] int: dskblk  t=0 p=0 n=disk.resource d=8003564 c=FC5062
[07-Jan-26 16:58:14.44 6941] int: softint d=0 c=F81954 n=0
[07-Jan-26 16:58:14.46 6941] int: ports   d=8000020 c=F818D4 n=0
[07-Jan-26 16:58:14.46 6941] int: ports   t=2 p=127 n=card.resource d=80087B8 c=FC1082
[07-Jan-26 16:58:14.48 6941] int: ports   t=2 p=120 n=ciaa.resource d=8000358 c=FC44BA
[07-Jan-26 16:58:14.48 6941] int: ports   t=2 p=20 n=AT-IDE d=800AE80 c=FB6B7C
[07-Jan-26 16:58:14.50 6941] int: ports   t=2 p=20 n=ehide.device d=80113A0 c=FFED10
[07-Jan-26 16:58:14.50 6941] int: coper   d=8000040 c=F818D4 n=0
[07-Jan-26 16:58:14.52 6941] int: vertb   d=8000030 c=F818D4 n=0
[07-Jan-26 16:58:14.52 6941] int: vertb   t=0 p=10 n=graphics.library d=8003A30 c=82A07DC
[07-Jan-26 16:58:14.54 6941] int: vertb   t=2 p=0 n=gameport.device d=800842C c=FC9A78
[07-Jan-26 16:58:14.54 6941] int: vertb   t=2 p=0 n=timer.device d=80085C4 c=FC6F06
[07-Jan-26 16:58:14.56 6941] int: vertb   t=2 p=0 n=Wheel Mouse Driver d=8308A40 c=830A488
[07-Jan-26 16:58:14.56 6941] int: blit    d=8003A30 c=F94822 n=8003AA6
[07-Jan-26 16:58:14.58 6941] int: blit    t=0 p=0 n=graphics.library d=8003A30 c=F94822
[07-Jan-26 16:58:14.60 6941] int: aud0    d=0 c=0 n=0
[07-Jan-26 16:58:14.60 6941] int: aud1    d=0 c=0 n=0
[07-Jan-26 16:58:14.60 6941] int: aud2    d=0 c=0 n=0
[07-Jan-26 16:58:14.62 6941] int: aud3    d=0 c=0 n=0
[07-Jan-26 16:58:14.66 6941] int: rbf     d=0 c=0 n=0
[07-Jan-26 16:58:14.66 6941] int: dsksync d=8003564 c=FC5078 n=80035C8
[07-Jan-26 16:58:14.68 6941] int: dsksync t=0 p=0 n=disk.resource d=8003564 c=FC5078
[07-Jan-26 16:58:14.68 6941] int: exter   d=8000050 c=F818D4 n=0
[07-Jan-26 16:58:14.68 6941] int: exter   t=2 p=120 n=ciab.resource d=80033B8 c=FC4560
[07-Jan-26 16:58:14.70 6941] int: exter   t=2 p=-127 n=card.resource d=80087B8 c=FC0F68
[07-Jan-26 16:58:14.70 6941] int: inten   d=0 c=0 n=0
[07-Jan-26 16:58:14.72 6941] int: nmi     d=8000060 c=F818D4 n=0
[07-Jan-26 16:58:14.74 6941] basesz=80000 abssz=12A00 lo=6D600@85B6A90 hi=0@0 free=180000
[07-Jan-26 16:58:14.82 6941] _SplashOpen win=811C0C4
[07-Jan-26 16:58:14.84 6941] data0: WHD Games:Game/P/PiracyDeluxe/data vdt=\0 dd=DH2,ehide.device/0 ed=ehide 1.2 (04.7.2023) mxt=FFFFFF msk=7FFFFFFE fs=fs 47.4 (16.6.2020) ddt=DOS\3
[07-Jan-26 16:58:14.86 6941] mem delta -417424
[07-Jan-26 16:58:14.86 6941] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=127778424
[07-Jan-26 16:58:14.88 6941] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1598496
[07-Jan-26 16:58:14.88 6941] filecache start maxmem=127143784
[07-Jan-26 16:58:14.88 6941] using mempool puddle=7946486 tresh=1986621 at=$811BD78
[07-Jan-26 16:58:14.90 6941] scanning data0
[07-Jan-26 16:58:14.92 6941] s=  1064 n=disk1_0002
[07-Jan-26 16:58:15.00 6941] s=321552 n=disk1_0006
[07-Jan-26 16:58:15.02 6941] s= 41294 n=disk2_0001
[07-Jan-26 16:58:15.06 6941] s= 67685 n=disk2_0052
[07-Jan-26 16:58:15.10 6941] s=108261 n=disk2_00d7
[07-Jan-26 16:58:15.12 6941] s= 77137 n=disk2_01ab
[07-Jan-26 16:58:15.16 6941] s=107636 n=disk2_0242
[07-Jan-26 16:58:15.20 6941] s=111062 n=disk2_0315
[07-Jan-26 16:58:15.24 6941] s=113051 n=disk2_03ee
[07-Jan-26 16:58:15.28 6941] s= 92650 n=disk2_04cb
[07-Jan-26 16:58:15.28 6941] files=10 min=1064 max=321552 avg=104139 sum=1041392 exall=1 pudcnt=1 time=0.40
[07-Jan-26 16:58:15.30 6941] mem delta -7946616
[07-Jan-26 16:58:15.30 6941] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=119831808
[07-Jan-26 16:58:15.30 6941] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1598496
[07-Jan-26 16:58:18.90 6941] no CDTV detected
[07-Jan-26 16:58:19.40 6941] xmem pt=862F000 len=119148096
[07-Jan-26 16:58:19.42 6941] mem delta -118697408
[07-Jan-26 16:58:19.42 6941] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=  1142496
[07-Jan-26 16:58:19.42 6941] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1590400
[07-Jan-26 16:58:19.44 6941] resload start
[07-Jan-26 16:58:19.56 6941] resload end rea=-1 pri=0 sec=0 str=
[07-Jan-26 16:58:19.60 6941] no CDTV detected
[07-Jan-26 16:58:19.60 6941] clock restored
[07-Jan-26 16:58:19.60 6941] dircache clearing
[07-Jan-26 16:58:19.62 6941] filecache clearing
[07-Jan-26 16:58:19.62 6941] caches cleared
[07-Jan-26 16:58:19.64 6941] check restart
[07-Jan-26 16:58:19.64 6941] ExecuteCleanup: S:WHDLoad-Cleanup 
[07-Jan-26 16:58:19.66 6941] exit
[07-Jan-26 16:58:19.68 6941] mem delta 127649632
[07-Jan-26 16:58:19.68 6941] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=128706944
[07-Jan-26 16:58:19.70 6941] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1674784
[07-Jan-26 17:00:14.10 7016] ***************************************************************************************************
[07-Jan-26 17:00:14.12 7016] Slave="PiracyDeluxe.slave" Preload PreloadSize=1051392 PAL QuitKey=48 ExecuteStartup="S:WHDLoad-Startup" ExecuteCleanup="S:WHDLoad-Cleanup" NoFilter Trace
[07-Jan-26 17:00:14.12 7016] 20.0.7016 eaf=80FF waf=FF vbr=0 cacr=A0808000 tc=8000 pcr=4300521 bplcon0=200 chiprev=1F
[07-Jan-26 17:00:14.14 7016] mem delta 129602016
[07-Jan-26 17:00:14.16 7016] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=127928256
[07-Jan-26 17:00:14.16 7016] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1673760
[07-Jan-26 17:00:14.18 7016] performing Slave Update Check for 'PiracyDeluxe.slave', Stack='Roadshow 4.347 (29.11.2019)'
[07-Jan-26 17:00:14.26 7016] connecting to host 'cgi.whdload.net' ip=$B91E2039 port=80
[07-Jan-26 17:00:14.26 7016] local port: 1025
[07-Jan-26 17:00:14.48 7016] query: GET /suc.cgi?sum=D7LZUOMlziafzcsDlJJHD5D0Ux8VhLpOBOVY5WZrZ8I&key=0&attn=255&whd=20.0.7016 HTTP/1.0
Host: cgi.whdload.net
User-Agent: WHDLoad 20.0.7016


[07-Jan-26 17:00:14.92 7016] result: HTTP/1.1 200 OK
Server: nginx
Date: Wed, 07 Jan 2026 20:00:14 GMT
Content-Type: text/plain;charset=UTF-8
Content-Length: 6
Connection: close

slv=a

[07-Jan-26 17:00:14.94 7016] ExecuteStartup: S:WHDLoad-Startup 
[07-Jan-26 17:00:17.08 7016] restart point
[07-Jan-26 17:00:17.08 7016] int: tbe     d=0 c=0 n=0
[07-Jan-26 17:00:17.08 7016] int: dskblk  d=8003564 c=FC5062 n=80035B2
[07-Jan-26 17:00:17.10 7016] int: dskblk  t=0 p=0 n=disk.resource d=8003564 c=FC5062
[07-Jan-26 17:00:17.10 7016] int: softint d=0 c=F81954 n=0
[07-Jan-26 17:00:17.10 7016] int: ports   d=8000020 c=F818D4 n=0
[07-Jan-26 17:00:17.12 7016] int: ports   t=2 p=127 n=card.resource d=80087B8 c=FC1082
[07-Jan-26 17:00:17.12 7016] int: ports   t=2 p=120 n=ciaa.resource d=8000358 c=FC44BA
[07-Jan-26 17:00:17.12 7016] int: ports   t=2 p=20 n=AT-IDE d=800AE80 c=FB6B7C
[07-Jan-26 17:00:17.14 7016] int: ports   t=2 p=20 n=ehide.device d=80113A0 c=FFED10
[07-Jan-26 17:00:17.14 7016] int: coper   d=8000040 c=F818D4 n=0
[07-Jan-26 17:00:17.14 7016] int: vertb   d=8000030 c=F818D4 n=0
[07-Jan-26 17:00:17.14 7016] int: vertb   t=0 p=10 n=graphics.library d=8003A30 c=82A07DC
[07-Jan-26 17:00:17.16 7016] int: vertb   t=2 p=0 n=gameport.device d=800842C c=FC9A78
[07-Jan-26 17:00:17.16 7016] int: vertb   t=2 p=0 n=timer.device d=80085C4 c=FC6F06
[07-Jan-26 17:00:17.16 7016] int: vertb   t=2 p=0 n=Wheel Mouse Driver d=8308A40 c=830A488
[07-Jan-26 17:00:17.16 7016] int: blit    d=8003A30 c=F94822 n=8003AA6
[07-Jan-26 17:00:17.18 7016] int: blit    t=0 p=0 n=graphics.library d=8003A30 c=F94822
[07-Jan-26 17:00:17.18 7016] int: aud0    d=0 c=0 n=0
[07-Jan-26 17:00:17.18 7016] int: aud1    d=0 c=0 n=0
[07-Jan-26 17:00:17.20 7016] int: aud2    d=0 c=0 n=0
[07-Jan-26 17:00:17.20 7016] int: aud3    d=0 c=0 n=0
[07-Jan-26 17:00:17.20 7016] int: rbf     d=0 c=0 n=0
[07-Jan-26 17:00:17.20 7016] int: dsksync d=8003564 c=FC5078 n=80035C8
[07-Jan-26 17:00:17.22 7016] int: dsksync t=0 p=0 n=disk.resource d=8003564 c=FC5078
[07-Jan-26 17:00:17.22 7016] int: exter   d=8000050 c=F818D4 n=0
[07-Jan-26 17:00:17.22 7016] int: exter   t=2 p=120 n=ciab.resource d=80033B8 c=FC4560
[07-Jan-26 17:00:17.22 7016] int: exter   t=2 p=-127 n=card.resource d=80087B8 c=FC0F68
[07-Jan-26 17:00:17.24 7016] int: inten   d=0 c=0 n=0
[07-Jan-26 17:00:17.24 7016] int: nmi     d=8000060 c=F818D4 n=0
[07-Jan-26 17:00:17.26 7016] basesz=80000 abssz=12600 lo=6DA00@85E7620 hi=0@0 free=180000
[07-Jan-26 17:00:17.34 7016] _SplashOpen win=811C5D4
[07-Jan-26 17:00:17.38 7016] data0: WHD Games:Game/P/PiracyDeluxe/data vdt=\0 dd=DH2,ehide.device/0 ed=ehide 1.2 (04.7.2023) mxt=FFFFFF msk=7FFFFFFE fs=fs 47.4 (16.6.2020) ddt=DOS\3
[07-Jan-26 17:00:17.40 7016] mem delta 47024
[07-Jan-26 17:00:17.40 7016] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=128049904
[07-Jan-26 17:00:17.40 7016] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1599136
[07-Jan-26 17:00:17.40 7016] filecache start maxmem=126943192
[07-Jan-26 17:00:17.42 7016] using mempool puddle=7933949 tresh=1983487 at=$811BBD0
[07-Jan-26 17:00:17.42 7016] scanning data0
[07-Jan-26 17:00:17.44 7016] s=  1064 n=disk1_0002
[07-Jan-26 17:00:17.68 7016] s=321552 n=disk1_0006
[07-Jan-26 17:00:17.72 7016] s= 41294 n=disk2_0001
[07-Jan-26 17:00:17.80 7016] s= 67685 n=disk2_0052
[07-Jan-26 17:00:17.90 7016] s=108261 n=disk2_00d7
[07-Jan-26 17:00:17.96 7016] s= 77137 n=disk2_01ab
[07-Jan-26 17:00:18.06 7016] s=107636 n=disk2_0242
[07-Jan-26 17:00:18.16 7016] s=111062 n=disk2_0315
[07-Jan-26 17:00:18.26 7016] s=113051 n=disk2_03ee
[07-Jan-26 17:00:18.36 7016] s= 92650 n=disk2_04cb
[07-Jan-26 17:00:18.36 7016] files=10 min=1064 max=321552 avg=104139 sum=1041392 exall=1 pudcnt=1 time=0.96
[07-Jan-26 17:00:18.38 7016] mem delta -7934016
[07-Jan-26 17:00:18.38 7016] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=120115888
[07-Jan-26 17:00:18.40 7016] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1599136
[07-Jan-26 17:00:21.40 7016] no CDTV detected
[07-Jan-26 17:00:21.88 7016] xmem pt=8660000 len=118960040
[07-Jan-26 17:00:21.90 7016] mem delta -118972360
[07-Jan-26 17:00:21.90 7016] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=  1151640
[07-Jan-26 17:00:21.92 7016] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1591024
[07-Jan-26 17:00:21.92 7016] resload start
[07-Jan-26 17:00:22.08 7016] resload end rea=-1 pri=0 sec=0 str=
[07-Jan-26 17:00:22.12 7016] no CDTV detected
[07-Jan-26 17:00:22.12 7016] clock restored
[07-Jan-26 17:00:22.14 7016] dircache clearing
[07-Jan-26 17:00:22.14 7016] filecache clearing
[07-Jan-26 17:00:22.16 7016] caches cleared
[07-Jan-26 17:00:22.16 7016] check restart
[07-Jan-26 17:00:22.16 7016] ExecuteCleanup: S:WHDLoad-Cleanup 
[07-Jan-26 17:00:42.90 7016] exit
[07-Jan-26 17:00:42.92 7016] mem delta 126683792
[07-Jan-26 17:00:42.92 7016] name=   expansion memory attr=505 lower= 8000020 upper=10000000 free=127752056
[07-Jan-26 17:00:42.94 7016] name=        chip memory attr=703 lower=    1020 upper=  200000 free=  1674400
Piracy_deluxe_whdl_trace (12,741 bytes)   
Wepl

Wepl

2026-01-07 22:23

manager   note ~14787

Could you please attach your S:WHDLoad-Startup?
Is this v20 the first beta you tried, or did you also try previous v20 beta versions?
That Trace changes the behavior is unexpected and should not happen.
The last beta fixed the ExecuteStartup. Now it waits until finished.
CCRider

CCRider

2026-01-07 22:34

reporter   note ~14788

Startup script attached (I indeed use it to stop my network connection), together with the other script referred on it.

I tried earlier v20 betas, and haven't seen issues until this latest one (but haven't necessarily tried the same slaves back then).
WHDLoad-Startup (1,134 bytes)   
.bra {
.ket }
;
; example script to be used with WHDLoad option ExecuteStartup
; arguments can be specified using WHDLoad option ExecuteArgs
; - stop all software which can cause interrupts with external hardware
; - optionally free memory to allow WHDLoad better PreLoad
; - adapt emulation parameters
;

; check for arguments via ExecuteArgs
;echo "Switch1={Switch1} Arg1={Arg1} ArgX={ArgX}

; pause smbfs-shares
; requires smbfs 1.182 and mounted from CLI with option SETENV
;If EXISTS ENV:smbfs-process
;  List ENV:smbfs-process/#? LFORMAT="Break ${ENV:smbfs-process/%s} D" TO=T:smbfs-pause
;  Execute T:smbfs-pause
;  Delete T:smbfs-pause QUIET
;EndIf

; stop the IP-stack via ARexx
;C:rx offline.rexx

; stop Genesis with a X-Surf card
;AmiTCP:bin/offline x-surf0

; stop Roadshow
execute S:SMB2-Shutdown
C:NetShutdown >NIL:

; stop wireless connection
;Set WirelessManagerPID `Status COM=C:WirelessManager`
;If VAL $WirelessManagerPID GT 0
;  Break $WirelessManagerPID
;EndIf

; stop Poseidon USB-stack
;C:AddUSBHardware REMOVE ALL

; set compatible speed and disable JIT for UAE
;uae-configuration cpu_speed real cachesize 0

WHDLoad-Startup (1,134 bytes)   
CCRider

CCRider

2026-01-07 22:34

reporter   note ~14789

SMB2 shutdown script
Wepl

Wepl

2026-01-07 23:12

manager   note ~14790

Please try the attached WHDLoad. It does not contain the ExecuteStartup fix.
CCRider

CCRider

2026-01-08 00:29

reporter   note ~14791

Worked, just like v19.
Wepl

Wepl

2026-01-08 09:07

manager   note ~14792

So there is a problem caused by your ExecuteStartup.
You may check latest v20 and option ExecuteStartup deactivated.
CCRider

CCRider

2026-01-08 11:17

reporter   note ~14793

Unfortunately, that indeed was the case.

Disabling completely my network, as well as the startup and cleanup scripts, solved the issues.

But it's a shame that, somehow, it was enough for v19 but not for v20.

I guess network and WHDLoad will never be good pals, after all...
DJ Mike

DJ Mike

2026-01-08 11:21

developer   note ~14794

Do you have a wait in your script? Possibly some command it is executing is not quite finishing in time before WHDLoad starts?
CCRider

CCRider

2026-01-08 11:24

reporter   note ~14795

I tried waiting 5 seconds, but it didn't help.

Will try longer values, just in case...
Wepl

Wepl

2026-01-08 15:52

manager   note ~14796

The fix made in last v20 beta is that in v18.9 I broke ExecuteStartup/Cleanup so that it didn't wait anymore to finish the script. Instead it was started async.
Now the old correct behavior is restored that it will wait until finished.
See 06827

Please try to disable SMB2-Shutdown
CCRider

CCRider

2026-01-08 17:30

reporter   note ~14797

Talking in private with DJ Mike, we found the culprit.

Even after issuing a "NetShutdown" command, my PCMCIA network card keeps sending level 2 interrupt signals for the Amiga.

I tried the "CardReset" command from Aminet (with the FORCE argument) after NetShutdown, and now everything works as it should, bar one small detail: as you can see on the CardReset readme, it issues a returncode 5 on this cases, and WHDLoad opens a nag requester about it, before launching the slave.
Is there a way to make WHDLoad ignore it? Sending to >NIL: isn't enough...
DJ Mike

DJ Mike

2026-01-08 17:32

developer   note ~14798

Last edited: 2026-01-08 17:33

Presumably WHDL reads the returncode issued by the last command.

It may be enough to run another command after it in the script simply so returncode 0 is set. You could probably even use "SETENV RC 0". I don't 100% remember what the correct approach is here. :)

If the non-zero returncode is causing the script to abort, then try starting your script with "FAILAT 10".

CCRider

CCRider

2026-01-08 17:33

reporter   note ~14799

Nice ideas! Will try them later and then report.
DJ Mike

DJ Mike

2026-01-08 17:35

developer   note ~14800

Last edited: 2026-01-08 17:36

A WAIT may also be enough since it will presumably return 0.

Just bear in mind: if you've forcibly shut down your network adapter like that, whatever application was still using the device may not be happy after you exit WHDLoad.

CCRider

CCRider

2026-01-08 17:38

reporter   note ~14801

My "WHDLoad-Cleanup" script restores the network and SMB2 share after exiting. Used to work pretty well! Let's see...
CCRider

CCRider

2026-01-08 21:41

reporter   note ~14802

Using WAIT indeed solved the nag requester.

Thanks a lot for the help, guys, and sorry for opening a ticket that wasn't WHDLoad's fault, after all.
DJ Mike

DJ Mike

2026-01-09 09:18

developer   note ~14803

You're welcome - glad we could figure it out. :)

Issue History

Date Modified Username Field Change
2026-01-07 14:06 CCRider New Issue
2026-01-07 14:55 DJ Mike Note Added: 0014779
2026-01-07 16:40 CCRider File Added: PiracyDeluxe.zip
2026-01-07 16:40 CCRider Note Added: 0014780
2026-01-07 16:42 CCRider Note Added: 0014781
2026-01-07 17:15 DJ Mike Note Added: 0014783
2026-01-07 17:15 DJ Mike Note Edited: 0014783
2026-01-07 17:22 CCRider Note Added: 0014784
2026-01-07 20:38 Wepl Assigned To => Wepl
2026-01-07 20:38 Wepl Status new => assigned
2026-01-07 20:40 Wepl File Added: PiracyDeluxe.whdl_register
2026-01-07 20:44 Wepl Note Added: 0014785
2026-01-07 20:47 Wepl Note Edited: 0014785
2026-01-07 21:05 CCRider File Added: Piracy_deluxe_whdl_trace
2026-01-07 21:05 CCRider Note Added: 0014786
2026-01-07 22:23 Wepl Note Added: 0014787
2026-01-07 22:34 CCRider File Added: WHDLoad-Startup
2026-01-07 22:34 CCRider Note Added: 0014788
2026-01-07 22:34 CCRider File Added: SMB2-Shutdown
2026-01-07 22:34 CCRider File Added: SMB2-Shutdown-2
2026-01-07 22:34 CCRider Note Added: 0014789
2026-01-07 23:06 Wepl File Added: WHDLoad.7015
2026-01-07 23:10 Wepl File Deleted: SMB2-Shutdown-2
2026-01-07 23:12 Wepl Note Added: 0014790
2026-01-08 00:29 CCRider Note Added: 0014791
2026-01-08 09:07 Wepl Note Added: 0014792
2026-01-08 11:17 CCRider Note Added: 0014793
2026-01-08 11:21 DJ Mike Note Added: 0014794
2026-01-08 11:24 CCRider Note Added: 0014795
2026-01-08 15:52 Wepl Note Added: 0014796
2026-01-08 15:54 Wepl File Deleted: WHDLoad.7015
2026-01-08 17:30 CCRider Note Added: 0014797
2026-01-08 17:32 DJ Mike Note Added: 0014798
2026-01-08 17:32 DJ Mike Note Edited: 0014798
2026-01-08 17:33 DJ Mike Note Edited: 0014798
2026-01-08 17:33 CCRider Note Added: 0014799
2026-01-08 17:35 DJ Mike Note Added: 0014800
2026-01-08 17:36 DJ Mike Note Edited: 0014800
2026-01-08 17:38 CCRider Note Added: 0014801
2026-01-08 21:41 CCRider Note Added: 0014802
2026-01-09 09:18 DJ Mike Note Added: 0014803
2026-01-09 22:12 Wepl Status assigned => resolved
2026-01-09 22:12 Wepl Resolution open => no change required