2023-01-30 01:54 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005776BrianTheLion[All Projects] Generalpublic2022-11-22 23:36
Reporterztronzo 
Assigned ToJOTDProject InfoBrian the Lion (Psygnosis)
http://www.whdload.de/games/BrianTheLion.html
 
PrioritynormalSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
Summary0005776: Brian the Lion (AGA) crash
DescriptionStart Brian the Lion - AGA version
Completing the level "Spooky Ruins" with remaining time (Bonus Stage) will result in a crash:
Exception "Line 1111 Emulator" ($2C) at $C41A6 occured.


This problem does not happen with the OCS version.
Steps To ReproduceStart Brian the Lion - AGA version
enter code: 93/a/MZXY3
go to far right "Spooky Ruins" (last blue point on the right)

Speed run the level to complete with remaining time and reach "Bonus Stage"
You can also use infinite energy trainer to do this.

This possibly happens in other locations too..
Additional Information
Tested both WHDload slave 1.4 and 2.0
Tested A4000 68040 and A1200 68020
Tested with Fastmem Zorro2 and Zorro3 4MB and 8MB
Tested A1200 kickstarts, 3.9 and 40068 and kick39106

Setting a breakpoint in WinUAE debugger on $C41A6 will show the illegal instruction.
-1 009FF2B2 1331 3000 MOVE.B (A1, D3.W*1, $00) == $000c3f2b [00],-(A1) [00]
-1 009FF2B6 51ca fffa DBF .W D2,#$fffa == $009ff2b2 (F)
-1 009FF2B2 1331 3000 MOVE.B (A1, D3.W*1, $00) == $000c3f2a [cf],-(A1) [cf]
-1 009FF2B6 51ca fffa DBF .W D2,#$fffa == $009ff2b2 (F)
-1 009FF2BA b5c9 CMPA.L A1,A2
-1 009FF2BC 6500 ff14 BCS.W #$ff14 == $009ff1d2 (F)
-1 009FF2C0 201f MOVE.L (A7)+ [000d00e2],D0
-1 009FF2C2 5680 ADD.L #$03,D0
-1 009FF2C4 0280 ffff fffc AND.L #$fffffffc,D0
-1 009FF2CA 4e75 RTS
-1 001546B8 49f9 0018 a8d2 LEA.L $0018a8d2,A4
-1 001546BE 4eb9 000c 41a4 JSR $000c41a4
-1 000C41A4 3c0e MOVE.W A6,D6
-1 000C41A6 fb01 ILLEGAL

TagsNo tags attached.
MachineA1200
CPU68EC020
CPUSpeed50
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem0 MB
WorkbenchOS 3.0
KickROM40 - Kick 3.1
KickSoftNone
WHDLoad18.5
imported
Attached Files

-Relationships
+Relationships

-Notes

note ~0011725

ztronzo (reporter)

When I added 4 MB of Chip RAM (instead of 2MB and no FAST RAM) it worked fine

note ~0011726

ztronzo (reporter)

to elaborate, although the readme requirements say
2.0 MB ChipMem and 3.5 MB OtherMem for AGA version.

Works with: 4MB Chip RAM and 0 MB Fast RAM
Crashes with: 2MB Chip RAM and 4MB Fast RAM

note ~0011727

ztronzo (reporter)

And magically there is no illegal instruction after at the same location

001546B8 49f9 0018 a8d2 LEA.L $0018a8d2,A4
001546BE 4eb9 000c 41a4 JSR $000c41a4
000C41A4 4df9 00df f000 LEA.L $00dff000,A6
000C41AA 41fa 096e LEA.L (PC,$096e) == $000c4b1a,A0
000C41AE 43fa 0cf4 LEA.L (PC,$0cf4) == $000c4ea4,A1
000C41B2 2009 MOVE.L A1,D0
000C41B4 7e04 MOVE.L #$04,D7

note ~0011728

ztronzo (reporter)

Conclusion: I believe the game cannot afford losing any of the 2MB Chip RAM.
Having multiple Floppy Drives or Hard Drives can cause this problem as they use up a few kb of Chip RAM during mount.
+Notes

-Issue History
Date Modified Username Field Change
2022-08-24 19:42 ztronzo New Issue
2022-08-24 20:31 ztronzo Note Added: 0011725
2022-08-24 20:41 ztronzo Note Added: 0011726
2022-08-24 20:48 ztronzo Note Added: 0011727
2022-08-24 21:31 ztronzo Note Added: 0011728
2022-11-22 23:25 Wepl Project WHDLoad => BrianTheLion
2022-11-22 23:36 Wepl Assigned To => JOTD
2022-11-22 23:36 Wepl Status new => assigned
+Issue History