| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0006830 | WHDLoad | [All Projects] General | public | 2026-01-07 14:06 | 2026-01-09 22:12 | ||||||||
| Reporter | CCRider | ||||||||||||
| Assigned To | Wepl | Project Info | HD-Installer for OS-Killer http://whdload.de/ | ||||||||||
| Priority | normal | Severity | block | Reproducibility | always | ||||||||
| Status | resolved | Resolution | no change required | ||||||||||
| Product Version | 20.0beta | ||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0006830: v20 beta hangs on some installs | ||||||||||||
| Description | Some 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 Reproduce | Just run both installs with latest v20 beta. | ||||||||||||
| Additional Information | Amiga 1200 with TF1260 accelerator. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Machine | A1200 | ||||||||||||
| CPU | 68060 | ||||||||||||
| CPUSpeed | 50 | ||||||||||||
| ChipSet | AGA | ||||||||||||
| GFXCard | None | ||||||||||||
| ChipMem | 2 MB | ||||||||||||
| FastMem | 128 MB | ||||||||||||
| Workbench | OS 3.2 | ||||||||||||
| KickROM | 47 - Kick 3.2 | ||||||||||||
| KickSoft | None | ||||||||||||
| WHDLoad | 20.0beta | ||||||||||||
| Attached Files |
| ||||||||||||
Notes |
|
|
DJ Mike (developer) 2026-01-07 14:55 |
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 (reporter) 2026-01-07 16:40 |
Here it goes for Piracy Deluxe... |
|
CCRider (reporter) 2026-01-07 16:42 |
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 (developer) 2026-01-07 17:15 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 (reporter) 2026-01-07 17:22 |
Can do it later with SNOOPAGA as well, but I'm pretty sure PRELOAD was already set on it. |
|
Wepl (manager) 2026-01-07 20:44 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 (reporter) 2026-01-07 21:05 |
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. |
|
Wepl (manager) 2026-01-07 22:23 |
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 (reporter) 2026-01-07 22:34 |
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). |
|
CCRider (reporter) 2026-01-07 22:34 |
SMB2 shutdown script |
|
Wepl (manager) 2026-01-07 23:12 |
Please try the attached WHDLoad. It does not contain the ExecuteStartup fix. |
|
CCRider (reporter) 2026-01-08 00:29 |
Worked, just like v19. |
|
Wepl (manager) 2026-01-08 09:07 |
So there is a problem caused by your ExecuteStartup. You may check latest v20 and option ExecuteStartup deactivated. |
|
CCRider (reporter) 2026-01-08 11:17 |
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 (developer) 2026-01-08 11:21 |
Do you have a wait in your script? Possibly some command it is executing is not quite finishing in time before WHDLoad starts? |
|
CCRider (reporter) 2026-01-08 11:24 |
I tried waiting 5 seconds, but it didn't help. Will try longer values, just in case... |
|
Wepl (manager) 2026-01-08 15:52 |
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 0006827 Please try to disable SMB2-Shutdown |
|
CCRider (reporter) 2026-01-08 17:30 |
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 (developer) 2026-01-08 17:32 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 (reporter) 2026-01-08 17:33 |
Nice ideas! Will try them later and then report. |
|
DJ Mike (developer) 2026-01-08 17:35 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 (reporter) 2026-01-08 17:38 |
My "WHDLoad-Cleanup" script restores the network and SMB2 share after exiting. Used to work pretty well! Let's see... |
|
CCRider (reporter) 2026-01-08 21:41 |
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 (developer) 2026-01-09 09:18 |
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 | View Revisions |
| 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 | View Revisions |
| 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 | View Revisions |
| 2026-01-08 17:33 | DJ Mike | Note Edited: 0014798 | View Revisions |
| 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 | View Revisions |
| 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 |


