View Issue Details

IDProjectCategoryView StatusLast Update
02544SuperMonacoGPGeneralpublic2022-07-26 22:33
ReporterVille Haapanen Assigned ToWepl  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Project InfoSuper Monaco GP (U.S.Gold)
http://www.whdload.de/games/SuperMonacoGP.html
Summary02544: Bad stack pointer on entering WHDLoad via Exception "Level 2 Autovector
DescriptionGameVersion: english,pal,1 disk
SlaveVersion: 1.1 from 25.4.2000

Bad stack pointer on entering WHDLoad via Exception "Level 2 Autovector
(CIA-A/EXT)" ($68) at $7299C occured.
This tested with WHDLoad 17.1
TagsNo tags attached.
Attached Files
.whdl_register (3,404 bytes)   
************************* 21-Feb-12 01:08:21 ************************17.1.5163***
Slave='SuperMonacoGP.slave' (4636 bytes)
ShadowMem 7958E390 - 795A9390 ( 110592) AbsolutMem    1B000 -    80000 ( 413696)
Resload   7FF19000 - 7FF20E1C (  32284) at 7FF19000  GL=$7FF22000
Slave     7FF2B000 - 7FF2C1F8 (   4600) at 7FF2B000  BaseMemSize=$80000
attn=FF(60,82) fc=-1 kn=10856 cs=4AD7 rw=0 zpt=-1 ep=0 ei=0
setcpu=33D(DC,IC,SCB,ECB,BNC)

Bad stack pointer on entering WHDLoad via Exception "Level 2 Autovector
(CIA-A/EXT)" ($68) at $7299C occured.

$00072978 bsr.w        $729ac
$0007297c movem.l      (a7)+,d1-d3/a0                 ;$000008ec
$00072980 tst.l        d0
$00072982 bpl.b        $72986
$00072984 rts
$00072986 move.l       a2,-(a7)                       ;$000008ec
$00072988 lea          ($72c52,pc),a2
$0007298c add.w        d2,d2
$0007298e add.w        d2,d2
$00072990 adda.w       d2,a2
$00072992 bra.b        $729a0
$00072994 move.l       (a2)+,a1                       ;$00072c62
$00072996 move.w       #$7f,d0
$0007299a move.l       (a1)+,(a0)+                    ;$00073566 $00000d68
�1m$0007299c dbf          d0,$7299a
�22m$000729a0 dbf          d3,$72994
$000729a4 move.l       (a7)+,a2                       ;$000008ec
$000729a6 move.l       a0,a1
$000729a8 moveq        #0,d0
$000729aa rts
$000729ac jmp          ($7ff2b102)
$000729b2 move.l       d2,a6
$000729b4 lea          ($72c40,pc),a1
$000729b8 move.w       ($72c42,pc),d1
$000729bc bsr.w        $72884
$000729c0 tst.l        d0
$000729c2 bmi.w        $72b64
$000729c6 move.l       ($72c32,pc),a0
$000729ca move.l       a0,($dff020)

regular stack:
$000008EC A2A2A2A2 000727D2 00020001 000A00EA 00072026 6000002A 4FF80900 60004CDC
$0000090C 4FF80900 600052D6 4FF80900 600052DA 4FF80900 600056B6 4FF80900 60004E5A
$0000092C 4FF90000 01804FF9 00000600 41F90000 09004E60 46FC2700 33FC7FFF 00DFF09A
$0000094C 61000148 33FC07FF 00DFF096 6100015A 30390000 0184B07C 68206610 303C0008
$0000096C 4E7B0002 303C0001 4E7B0002 41F90000 00607E07 20FC0000 0A6851CF FFF813FC

  ----0---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7----
Dx       66         2         4         7  D4D4D4D4  D5D5D5D5  D6D6D6D6        EA
Ax      D68     73566     72C62  A3A3A3A3     72016       900  A6A6A6A6

                 TTSM III   XNZVC
�1mPC=   7299C�22m  SR %0000000100000000�1m  USP=8EC  �22mSSP=178
VBR=7FF23000  SFC=5  DFC=5  CACR=80008000  PCR=04300622  BUSCR=00000000
TC=8000  URP=7FF17000  SRP=7FF17000
DTT0=00000000  DTT1=00000000  ITT0=00000000  ITT1=00000000

         MEDRAAAABVCPSDT          YZ  PMRCBSDAAAA
intena=%�1m0110000001111000�22m dmacon=%�1m0010001001000000�22m adkcon=$1100
intreq=%�1m0000000000001000�22m
vposr....A300  vhposr...0280  joy0dat..0102  joy1dat..0000  clxdat...8001  
pot0dat..0000  pot1dat..0000  potinp...5500  serdatr..3800  dskbytr..8000  
deniseid.00F8  hhposr...FF56  
   ciaa:     PI ROPS		   ciab:     PI ROPS
	cra=�1m00000000�22m  ta=21FF<21FF	   cra=�1m00000001�22m  ta=  A8< 2C8
	    AII ROPS			    AII ROPS
	crb=�1m00000001�22m  tb=  98< DEB	   crb=�1m01001000�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=000006  icr=82  sdr=00    event=000756  icr=01  sdr=00
.whdl_register (3,404 bytes)   
SuperMonacoGP.Slave (4,980 bytes)
MachineA1200
CPU68060 + PPC
CPUSpeed60
ChipSetAGA
GFXCardVoodoo3/Mediator
ChipMem2 MB
FastMem128 MB
WorkbenchOS 3.1
KickROM40 - Kick 3.1
KickSoftNone
WHDLoad17
importedyes

Activities

Wepl

Wepl

2012-02-21 22:38

manager   note ~02612

the problem is very probably present since whdload v16.9 because there the stack check has been added for the autovector interrupts
Wepl

Wepl

2012-05-15 23:06

manager   note ~02734

the attached slave seems to fix the bad sp problem, I don't know why this this slave hasn't been official released, maybe there are other problems - I have no time to check...
Ville Haapanen

Ville Haapanen

2012-05-16 06:10

reporter   note ~02735

I played this for a good hour or so and it didn't show any problems.
Ville Haapanen

Ville Haapanen

2012-10-01 17:17

reporter   note ~02805

I think this is good :)
Sina

Sina

2020-07-03 18:16

reporter   note ~09003

The 1.2 slave works properly. Can you please release it officially?
MrV2K

MrV2K

2022-07-24 16:29

reporter   note ~11591

Bump: Can this get an official release please?
Wepl

Wepl

2022-07-26 22:33

manager   note ~11597

I have released it.

Issue History

Date Modified Username Field Change
2012-02-21 17:36 administrator New Issue
2012-02-21 17:36 administrator Status new => assigned
2012-02-21 17:36 administrator Assigned To => Codetapper
2012-02-21 17:39 Ville Haapanen File Added: .whdl_register
2012-02-21 22:38 Wepl Note Added: 0002612
2012-05-15 23:04 Wepl File Added: SuperMonacoGP.Slave
2012-05-15 23:06 Wepl Note Added: 0002734
2012-05-16 06:10 Ville Haapanen Note Added: 0002735
2012-10-01 17:17 Ville Haapanen Note Added: 0002805
2020-07-03 18:16 Sina Note Added: 0009003
2022-07-24 16:29 MrV2K Note Added: 0011591
2022-07-26 22:33 Wepl Note Added: 0011597
2022-07-26 22:33 Wepl Assigned To Codetapper => Wepl
2022-07-26 22:33 Wepl Status assigned => resolved
2022-07-26 22:33 Wepl Resolution open => fixed