WHDLoad MantisBT - EmeraldMine2
View Issue Details
0006341EmeraldMine2[WHDLoad Installs Games] AGApublic2023-12-13 16:052024-01-05 00:40
Reportermy_pc_is_amiga 
Assigned ToJOTD 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
MachineA1200
CPU68060
CPUSpeed50
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem16 MB
WorkbenchOS 3.2
KickROM40 - Kick 3.1
KickSoftNone
WHDLoad18.9
imported
Summary0006341: Emerald Mine 2 not able to load on 060 machines
DescriptionI get "access fault" requester during loading that happens during the 1.3 shell screen. This is happening on an A1200 with a Apollo 1260 accelerator as well as on a A4000T with a CSPPC 060. Same PC location.
TagsNo tags attached.
Attached Filesjpg IMG_3019.JPG (110,753) 2023-12-13 16:05
https://www.whdload.de/mantis/file_download.php?file_id=1707&type=bug
jpg

Notes
(0013443)
my_pc_is_amiga   
2023-12-21 02:48   
I did notice this one also which may be same issue that I'm facing:
http://mantis.whdload.de/view.php?id=2604

Thanks in advance for any support on this. It would be great to see this fixed to be able to play EM2 again!
(0013470)
my_pc_is_amiga   
2023-12-29 22:55   
Below is crash dump:
************************18.9.6601***
Slave='emeraldmine2.slave' (4976 bytes)
Resload 1FA8000 - 1FB061C ( 34332) at 1FA8000 GL=$1FF3000
Slave 1FFC000 - 1FFD34C ( 4940) at 1FFC000 BaseMemSize=$E0000
ExpMem 1FB2000 - 1FF2000 ( 262144) at 1FB2000
attn=FF(2) fc=-1 kn=0 zpt=-1 ep=0 ei=0
setcpu=0(SNCS,ENCS,BNCS)

Exception "Access Fault" ($4008) PC = $25764 (Task 'Initial CLI') Long Write to
$FE037CDA

$0002572c move.l (-$7af4,a4),a7 ;$00026a72
$00025730 rts
$00025732 move.l (-$7ae8,a4),a0 ;$00026a7e
$00025736 clr.w (4,a0) ;$fe037cde
$0002573a move.l (-$7ae8,a4),a0 ;$00026a7e
$0002573e move.w #1,($10,a0) ;$fe037cea
$00025744 move.l (-$7ae8,a4),a1 ;$00026a7e
$00025748 move.w #1,($a,a1) ;$0001e61a
$0002574e move.l (-$7af4,a4),a0 ;$00026a72
$00025752 move.l (-$7af4,a4),d0 ;$00026a72
$00025756 sub.l (4,a0),d0 ;$fe037cde
$0002575a addq.l #8,d0
$0002575c move.l d0,(-$7ae4,a4) ;$00026a82
$00025760 move.l (-$7ae4,a4),a0 ;$00026a82
$00025764 move.l #$4d414e58,(a0) ;$fe037cda
$0002576a clr.l -(a7) ;$0001e5ec
$0002576c jsr ($264aa,pc)
$00025770 addq.w #4,a7
$00025772 move.l d0,a2
$00025774 tst.l ($ac,a2) ;$00026b10
$00025778 beq.b $257a8
$0002577a move.l ($c,a5),-(a7) ;$0001e5fc $0001e5ec
$0002577e move.l (8,a5),-(a7) ;$0001e5f8 $0001e5ec
$00025782 move.l a2,-(a7) ;$0001e5ec
$00025784 jsr ($25838,pc)
$00025788 lea ($c,a7),a7 ;$0001e5f8
$0002578c move.w #1,(-$7ae0,a4) ;$00026a86
$00025792 move.l (-$7ae8,a4),a0 ;$00026a7e
$00025796 ori.w #$8000,(4,a0) ;$fe037cde

exception stackframe:
$000DFFF0 00080002 57644008 FE037CDA 00811000
regular stack:
$0001E5EC 00026A64 01FE6134 000256E4 00000001 01FFD068 01FFD1A6 01FE692E 00000FA0
$0001E60C 0000B218 00000000 00000000 00000001 00000000 00010000 00000000 00000000
$0001E62C 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
$0001E64C 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
$0001E66C 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00026FB8

  ----0---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7----
Dx FE037CDA 0 0 12C 1 3E 7985 7B3F
Ax FE037CDA 1E610 26A64 1ECFC 2E566 1E5F0 676

                 TTSM III XNZVC
PC= 25764 SR=%0000000000001000 USP=1E5EC SSP=DFFF0
VBR=1FF4000 SFC=5 DFC=1 CACR=0 PCR=4300122 BUSCR=0
TC=8000 URP=1FA6E00 SRP=1FA6E00 DTT0=0 DTT1=0 ITT0=0 ITT1=0

         MEDRAAAABVCPSDT YZ PMRCBSDAAAA
intena=%0110000001101100 dmacon=%0000001111110000 adkcon=$1100
intreq=%0000000000000000
vposr....B300 vhposr...029B joy0dat..0203 joy1dat..0000 clxdat...8023
pot0dat..931A pot1dat..0043 potinp...5500 serdatr..3800 dskbytr..A000
deniseid.00F8 hhposr...0FBE
   ciaa: PI ROPS ciab: PI ROPS
    cra=00000000 ta=21FF<21FF cra=00000000 ta=FFFF<FFFF
        AII ROPS AII ROPS
    crb=00001000 tb=C87C<FFFF crb=10000000 tb=FFFF<FFFF
        10RTWCLO parallel DRCCDSOY M3210HDS
    pra=11111100 prb=11111111 pra=11111111 prb=11111111
       ddra=00000011 ddrb=00000000 ddra=11000000 ddrb=11111111
       event=0000BD icr=00 sdr=00 event=00013A icr=00 sdr=00
(0013471)
my_pc_is_amiga   
2023-12-29 22:57   
I have also tried a ACA1234 (030 at 33MHz) and this one is working! So seems to be related to the 060 and I guess the 040 based on this report http://mantis.whdload.de/view.php?id=2604.
(0013472)
aardvark82   
2023-12-29 23:17   
Works, but only with NoMMU option on my 060.
(0013473)
StingRay   
2023-12-30 00:18   
Classic MANX compiler stack size problem, it's not CPU related. Stack size needs to be set manually in the slave code.
(0013487)
my_pc_is_amiga   
2024-01-05 00:40   
Nice -- hopefully this can also be verified if stack issue with the other Emerald Mine slaves (i.e. EM1, EM3 Pro, and also CD32 version). Let me know if there is a test version and I can try it.

Issue History
2023-12-13 16:05my_pc_is_amigaNew Issue
2023-12-13 16:05my_pc_is_amigaFile Added: IMG_3019.JPG
2023-12-21 02:48my_pc_is_amigaNote Added: 0013443
2023-12-25 16:29JOTDAssigned To => JOTD
2023-12-25 16:29JOTDStatusnew => acknowledged
2023-12-29 22:55my_pc_is_amigaNote Added: 0013470
2023-12-29 22:57my_pc_is_amigaNote Added: 0013471
2023-12-29 23:17aardvark82Note Added: 0013472
2023-12-30 00:18StingRayNote Added: 0013473
2024-01-05 00:40my_pc_is_amigaNote Added: 0013487