WHDLoad MantisBT - BatmanTheMovie
View Issue Details
0006814BatmanTheMovie[All Projects] Generalpublic2025-11-22 11:192025-11-28 17:22
Reporterssmc2 
Assigned ToDJ Mike 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
MachineA600
CPUPiStorm
CPUSpeed50
ChipSetECS
GFXCardNone
ChipMem2 MB
FastMem0 MB
WorkbenchOS 3.2
KickROM47 - Kick 3.2
KickSoft47 - Kick 3.2
WHDLoad19.1
imported
Summary0006814: Unable to fire batrang or bat-hook
DescriptionFor some reason I am unable to fire the batrang or bat-hook on L1 which makes the game unplayable. This problem does not occur when loading directly from floppy disk instead of via the HD using whdload.
TagsNo tags attached.
Attached Files

Notes
(0014678)
DJ Mike   
2025-11-22 14:58   
Working fine when I test it in WinUAE. Do you know which version of the game you're using?
(0014679)
ssmc2   
2025-11-22 15:16   
Hello - it's the single disk version. I've just been doing some testing myself and I created my HD file using Winuae then wrote it to an SD card for use with pistorm. The game works from the HDF file on Winuae but using the same HDF file with pistorm lrads to these issues. However, there are no issues if I boot from the floppy version of the game whilst using pistorm. I wonder if it's an issue with the whdload and pistorm in combination.
(0014680)
ssmc2   
2025-11-22 15:22   
Sorry should also have said its SPS0019.
(0014681)
DJ Mike   
2025-11-22 19:37   
(Last edited: 2025-11-22 19:39)
I'm not familiar with Pistorm to be able to say why that is the case. Could it be something run during Workbench startup that is not run when booting directly from disk?

Have you experienced any other WHDL games failing to read joystick/pad controls?

(0014682)
ssmc2   
2025-11-23 01:27   
Hi - thanks for the suggestions. I haven't found any other WHDL games that fail to read the joystick (yet). Through trial and error I found that by adding the nocache tooltype the issue is resolved. Not sure why I don't get this problem when booting from floppy but the game is now playable via WHDload now.
(0014683)
DJ Mike   
2025-11-23 09:40   
That's interesting to know - thanks.
(0014684)
DJ Mike   
2025-11-23 10:56   
As I suspected, there is self modifying code in this game that happens when the batarang is used. I'm surprised it has never been noticed before but that's probably because the code doesn't sit in the cache on 040/060 CPUs, but does on Pistorm (which I assume has a bigger cache).

I will continue investigating further.
(0014701)
DJ Mike   
2025-11-26 10:07   
I have a fix for this now - 3 different instances of self-modifying code, in both level 1 and 5. I am adding support for 2 more versions of the game so I have other work to do, but I should have a fix out soon.
(0014712)
DJ Mike   
2025-11-28 17:22   
v1.6 now released that should fix this bug.

Issue History
2025-11-22 11:19ssmc2New Issue
2025-11-22 14:01DJ MikeAssigned To => DJ Mike
2025-11-22 14:01DJ MikeStatusnew => assigned
2025-11-22 14:58DJ MikeNote Added: 0014678
2025-11-22 15:16ssmc2Note Added: 0014679
2025-11-22 15:22ssmc2Note Added: 0014680
2025-11-22 19:37DJ MikeNote Added: 0014681
2025-11-22 19:39DJ MikeNote Edited: 0014681bug_revision_view_page.php?bugnote_id=14681#r1742
2025-11-23 01:27ssmc2Note Added: 0014682
2025-11-23 09:40DJ MikeNote Added: 0014683
2025-11-23 10:56DJ MikeNote Added: 0014684
2025-11-26 10:07DJ MikeNote Added: 0014701
2025-11-28 17:22DJ MikeStatusassigned => closed
2025-11-28 17:22DJ MikeResolutionopen => fixed
2025-11-28 17:22DJ MikeNote Added: 0014712