View Issue Details

IDProjectCategoryView StatusLast Update
03970KingsBountyGeneralpublic2018-10-02 18:42
Reporterkunglao Assigned ToStingRay  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Project InfoKing's Bounty (New World Computing)
http://www.whdload.de/games/KingsBounty.html
Summary03970: Hi Stingray, thanks for releasing the King`s Bounty WHDLoad patch. On my
DescriptionGameVersion: english, pal, 1 Disk
SlaveVersion: 1.0 from 20.05.2000

Hi Stingray,
thanks for releasing the King`s Bounty WHDLoad patch. On my machine I recognized that WHD Load crashes with "Error in Emulation 1010" when entering a fight in game and the AI has to calculate a move. Tried NoCache, No MMU, NoAutoVec without success. Can you have a look again? Let me know if I can extract any log for you to assist with solving the problem.
Best regards,
kUNG:lAo
TagsNo tags attached.
Attached Files
KingsBounty.slave (5,136 bytes)
.whdl_register.zip (1,654 bytes)
Icons.lha (37,560 bytes)
MachineA1200
CPU68060
CPUSpeed66
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem64 MB
WorkbenchOS 3.9
KickROM40 - Kick 3.1
KickSoft40 - Kick 3.1
WHDLoad18.3
importedyes

Activities

retrogamer

retrogamer

2018-09-26 00:15

reporter   note ~06400

Same thing on my A600 with 8MB fast ram board when entering a fight in game and the AI has to calculate a move.

But for me the screen turns black and the game freeze so no possibility to do a dumpfile.
StingRay

StingRay

2018-09-26 08:01

developer   note ~06401

I can unfortunately not reproduce this. Please attach the whdl.register file here, thanks.
Retroplay

Retroplay

2018-09-26 17:23

reporter   note ~06404

Same thing on my A1200/ACA1232
register attached

I upped an unsupported version to the zone at EAB.
It's an original with manual protection.
.whdl_register (3,539 bytes)   
************************* 01-Jan-78 00:09:48 ************************18.4.5907***
Slave='KingsBounty.Slave' (5104 bytes)
ShadowMem  8537670 -  857D670 ( 286720) AbsolutMem    46000 -    80000 ( 237568)
Resload    FD26000 -  FD2D698 (  30360) at FD26000  GL=$FDF0000
Slave      FDF9000 -  FDFA3CC (   5068) at FDF9000  BaseMemSize=$80000
ExpMem     FD2F000 -  FDEF000 ( 786432) at FD2F000
attn=7(30) fc=4 kn=23100 cs=669B rw=0 zpt=-1 ep=0 ei=0
setcpu=3B3D(SS,BC,SB,DC,IC,SCB,ECB,BNC)

Exception "Line 1010 Emulator" ($28) at $FD948F0 (ExpMem $658F0) occured.

$0fd948c4 move.b       (8,a7),d0                      ;$0fd7d120
$0fd948c8 cmp.b        d7,d0
$0fd948ca bcs.b        $fd948b0
$0fd948cc cmp.b        d6,d0
$0fd948ce bhi.b        $fd948b0
$0fd948d0 move.b       (8,a7),d0                      ;$0fd7d120
$0fd948d4 movem.l      (a7)+,d6-d7                    ;$0fd7d118
$0fd948d8 unlk         a5
$0fd948da rts
$0fd948dc cmpa.l       (-$7fda,a4),a7                 ;$0fd9710e
$0fd948e0 bcs.w        $fd96f84
$0fd948e4 pea          (-$2610,a4)                    ;$0fd9cad8
$0fd948e8 jsr          ($fd970a4,pc)
$0fd948ec jmp          ($fdfa36c)
$0fd948f2 or.b         -(a6),d0                       ;$0fd73cc0
$0fd948f4 bcs.w        $fd96f84
$0fd948f8 movem.l      d5-d7,-(a7)                    ;$0fd7d118
$0fd948fc move.l       ($10,a7),d7                    ;$0fd7d128
$0fd94900 move.l       d7,d6
$0fd94902 add.l        d6,d6
$0fd94904 jsr          ($fd96fe4,pc)
$0fd94908 move.l       d0,d5
$0fd9490a tst.l        d5
$0fd9490c bne.b        $fd9491a
$0fd9490e pea          (5).w
$0fd94912 jsr          ($fd97098,pc)
$0fd94916 addq.w       #4,a7
$0fd94918 bra.b        $fd9491c
$0fd9491a moveq        #0,d6

exception stackframe:
$0FDEEFF8 00000FD9 48F00028
regular stack:
$0FD7D118 0FD85668 0000001E 0FD82D36 0FD9727A 00000005 0000000A 00000050 00000000
$0FD7D138 00000005 00000010 00000005 0FD9FA21 0FD9EF1F 16D82768 0FD7D17C 0FD827D4
$0FD7D158 00000002 00000000 00000005 0000000A 00000005 0FD9EF1F 00000005 0FD85000
$0FD7D178 0000000A 0FD7D19C 0FD840A0 00000000 00000003 0FD843FC 00000003 00000005
$0FD7D198 0FDA6686 0FD7D1E8 0FD86B12 00000003 0FD9AAFC 00000002 00000240 00000000

  ----0---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7----
Dx       1E        1E         A        10         0         0  FFFFFFFF  FFFFFFFF
Ax        1   FD7CF3A   FD994B9   FD994D7   FD9F0E8   FD7D150   FD73CC0

                 TTSM III   XNZVC
�1mPC= FD948F0�22m  SR %0000000000000000�1m  USP=FD7D118  �22mISP=FDEEFF8  MSP=7F800
VBR=FDF1000  SFC=4  DFC=4  CACR=2111  CAAR=0  TT0=FF8540  TT1=0
TC=80C07760  CRP=800000020FD24000  SRP=800000020FD24000  MMUSR=0

         MEDRAAAABVCPSDT          YZ  PMRCBSDAAAA
intena=%�1m0110000001101100�22m dmacon=%�1m0000001111110000�22m adkcon=$1100
intreq=%�1m0000000110000000�22m
vposr....A300  vhposr...0273  joy0dat..8869  joy1dat..0000  clxdat...8023  
pot0dat..D2D5  pot1dat..0001  potinp...5500  serdatr..3800  dskbytr..2000  
deniseid.00F8  hhposr...FFD7  
   ciaa:     PI ROPS		   ciab:     PI ROPS
	cra=�1m00000000�22m  ta=21FF<21FF	   cra=�1m00000000�22m  ta=FFFF<FFFF
	    AII ROPS			    AII ROPS
	crb=�1m00001000�22m  tb=2F4F<2F4F	   crb=�1m10000000�22m  tb=FFFF<FFFF
	    10RTWCLO	  parallel	    DRCCDSOY      M3210HDS
	pra=�1m11111100�22m  prb=�1m11111111�22m      pra=�1m11111111�22m  prb=�1m11111111�22m
       ddra=�1m00000011�22m ddrb=�1m00000000�22m     ddra=�1m11000000�22m ddrb=�1m11111111�22m
       event=002867  icr=00  sdr=94    event=00013A  icr=04  sdr=00
.whdl_register (3,539 bytes)   
StingRay

StingRay

2018-09-26 19:33

developer   note ~06405

Thanks for the register dump. And I already saw your unsupported version in the Zone, will be supported in the next update.
StingRay

StingRay

2018-09-26 21:18

developer   note ~06407

That register dump was indeed very helpful, my quit patch was placed at a wrong location and trashed 2 bytes... Try attached slave please, it should fix the problem.
Retroplay

Retroplay

2018-09-26 22:09

reporter   note ~06408

That did the trick, no crash now.
Thanks.
StingRay

StingRay

2018-09-27 10:34

developer   note ~06409

Thanks for testing, updated patch is now available, support for your other version of the game has been added as well.

Issue History

Date Modified Username Field Change
2018-09-25 23:22 administrator New Issue
2018-09-25 23:22 administrator Status new => assigned
2018-09-25 23:22 administrator Assigned To => StingRay
2018-09-26 00:15 retrogamer Note Added: 0006400
2018-09-26 08:01 StingRay Note Added: 0006401
2018-09-26 17:23 Retroplay File Added: .whdl_register
2018-09-26 17:23 Retroplay Note Added: 0006404
2018-09-26 19:33 StingRay Note Added: 0006405
2018-09-26 21:18 StingRay Note Added: 0006407
2018-09-26 21:19 StingRay File Added: KingsBounty.slave
2018-09-26 22:09 Retroplay Note Added: 0006408
2018-09-27 10:34 StingRay Note Added: 0006409
2018-09-27 10:34 StingRay Status assigned => resolved
2018-09-27 10:34 StingRay Resolution open => fixed
2018-10-02 18:41 Irek File Added: .whdl_register.zip
2018-10-02 18:42 Irek File Added: Icons.lha