WHDLoad MantisBT - Subwar2050
View Issue Details
0003058Subwar2050[WHDLoad Installs Games] AGApublic2014-09-18 02:302017-04-08 23:29
Reportermaw2k 
Assigned ToJOTD 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
MachineA4000
CPU68060
CPUSpeed50
ChipSetAGA
GFXCardCyberVision 64
ChipMem2 MB
FastMem128 MB
WorkbenchOS 3.9
KickROM40 - Kick 3.1
KickSoft40 - Kick 3.1
WHDLoad17.2
imported
Summary0003058: Exception: Line 1111 Emulator $402c at $FE565D task (exec.library, ExpMem $15D6)
Descriptionwhen I start to load the game the error occurs.
Steps To Reproducestart the game
Additional InformationPROCESSOR: CPU 68060/68060fpu/68060mmu
CUSTOM CHIPS: AA PAL Alice (id=$0023), AA Lisa (id=$00F8)
VERS: Kickstart version 45.57, Exec version 45.20, Disk version 45.3
RAM: Node type $A, Attributes $505 (FAST), at $8000000-$FFFFFFF (128.0 meg)
    Node type $A, Attributes $505 (FAST), at $7E00000-$7FFFFFF (2.0 meg)
    Node type $A, Attributes $703 (CHIP), at $4000-$1FFFFF (~2.0 meg)
BOARDS:
 Board + ROM (HD?) (phase 5): Prod=8512/25($2140/$19) (@$EA0000 128K)
 Board (Individual Computers): Prod=4626/100($1212/$64)
     (@$40000000, size 64meg, subsize 64K)
 Board (phase 5): Prod=8512/34($2140/$22)
     (@$44000000, size 64meg, subsize same)
TagsNo tags attached.
Attached Filesjpg IMAG1288.jpg (125,512) 2014-09-18 02:30
http://mantis.whdload.de/file_download.php?file_id=352&type=bug
jpg

? .whdl_register (3,962) 2017-03-26 21:54
http://mantis.whdload.de/file_download.php?file_id=537&type=bug
? Subwar2050.slave (5,436) 2017-04-03 21:49
http://mantis.whdload.de/file_download.php?file_id=538&type=bug

Notes
(0004075)
Patrick   
2014-09-21 12:07   
Same here on A1200 AGA with B1260 @50MHz, 128MB FastRAM. Tried the latest slave 1.2-B with both, the AGA and CD³² version. Tried also to run with ExpChip eabled as suggested in another entry, but didn't work either: "Can't allocate ExpMem".

(0005499)
JOTD   
2017-03-12 18:37   
The coredump would be a plus. Cannot reproduce that here.

Could you enable "FILELOG" and post whdlfilelog so I can check loaded files too?
(0005500)
Patrick   
2017-03-15 02:03   
Core dump & file log can be found here:
https://www.file-upload.net/download-12374234/whd_dump.zip.html
(0005502)
JOTD   
2017-03-16 00:00   
can you attach only FILELOG file here. The URL is a lame advertising/scam file server. Can you use dropbox instead?
(0005504)
Patrick   
2017-03-16 10:40   
Okily Dokily, here's the DropBox link:
https://www.dropbox.com/s/uc3agjqd4pbo4c8/whd_dump.zip?dl=0

Btw., I just noticed that the file log is pretty much empty. All it contains is:

"******* 15-Mär-17 01:42:48 ******* Subwar2050.Slave ******* 18.2.5735 *******"
(0005506)
JOTD   
2017-03-18 21:16   
You have to enable FILELOG tooltype. File is .whdl_filelog.
(0005507)
Patrick   
2017-03-19 01:56   
I just did and this is all I got.
(0005510)
Wepl   
2017-03-21 17:01   
Please try an actual WHDLoad. This sounds like a bug fixed in 18.0.
(0005511)
Patrick   
2017-03-21 23:36   
As you can see in the log file, my current version is 18.2.5735 which should be the latest stable version, right?
(0005512)
Wepl   
2017-03-22 11:12   
Ok, then it must be a different problem.
(0005513)
JOTD   
2017-03-22 23:06   
have you tried another version from the web (www.whddownload.com) ? because your version may be corrupt.
(0005516)
Patrick   
2017-03-24 00:45   
I already tried both versions from whdownload.com and they come up with the same error.
Meanwhile I figured out something else. I booted my Amiga without Startup-Sequence, started the game from CLI and it worked! A little more investigation showed that the usual suspect SetPatch - in particular the 68060 support library causes the crash. Then I downgraded this very library to an older version I found on a Phase5 system disk, but it didn't work either. Then I booted from a Workbench 3.1 installation which uses a way older SetPatch version and a complete different set of libraries and even then WHDLoad crashed with the same error.
I'm a little stuck at this point: No matter what I try, as soon as the 68060 support code is initialized the game refuses to run. None of my other WHDLoad installations has this issue.
(0005520)
Wepl   
2017-03-26 21:29   
does subwar use the fpu?
can you please add the .whdl_register directly here to the issue?
(0005521)
Patrick   
2017-03-26 21:54   
Can't say anything about FPU usage. I attached .whdl_register to this note.
(0005522)
Wepl   
2017-03-26 23:11   
Ok.
This is because the Slave tells WHDLoad to disable the FPU but the tells the game there is a fpu.
@JOTD: In the Slave you use NEEDFPU for kickemu but later call resload_SetCPU without WCPUF_FPU, this causes WHDLoad to disable the fpu on a 68060 but installed game/kickstart will try save/restore fpu registers during task switch. Does this game really use the fpu? If no just remove NEEDFPU and reassmeble it.
It seems there is also missing WCPUF_FPU in kickemu if option CACHE is used there. I have to fix that.
(0005526)
JOTD   
2017-04-03 21:49   
Ok, that's an old one. Probably doesn't need FPU since it runs on 68020.

Check the one attached, reassembled without NEEDFPU
(0005527)
Patrick   
2017-04-04 02:12   
The new slave works perfect! Thanks for finally fixing this "old one" :)

Issue History
2014-09-18 02:30maw2kNew Issue
2014-09-18 02:30maw2kFile Added: IMAG1288.jpg
2014-09-21 12:07PatrickNote Added: 0004075
2014-09-21 12:07PatrickNote Edited: 0004075bug_revision_view_page.php?bugnote_id=4075#r646
2017-03-12 18:37JOTDNote Added: 0005499
2017-03-15 02:03PatrickNote Added: 0005500
2017-03-16 00:00JOTDNote Added: 0005502
2017-03-16 10:40PatrickNote Added: 0005504
2017-03-18 21:16JOTDNote Added: 0005506
2017-03-19 01:56PatrickNote Added: 0005507
2017-03-21 17:01WeplNote Added: 0005510
2017-03-21 23:36PatrickNote Added: 0005511
2017-03-22 11:12WeplNote Added: 0005512
2017-03-22 23:06JOTDNote Added: 0005513
2017-03-24 00:45PatrickNote Added: 0005516
2017-03-26 21:29WeplNote Added: 0005520
2017-03-26 21:54PatrickFile Added: .whdl_register
2017-03-26 21:54PatrickNote Added: 0005521
2017-03-26 23:11WeplNote Added: 0005522
2017-04-03 21:49JOTDFile Added: Subwar2050.slave
2017-04-03 21:49JOTDNote Added: 0005526
2017-04-04 02:12PatrickNote Added: 0005527
2017-04-08 23:29JOTDAssigned To => JOTD
2017-04-08 23:29JOTDStatusnew => closed
2017-04-08 23:29JOTDResolutionopen => fixed