WHDLoad MantisBT - WHDLoad
View Issue Details
0006648WHDLoad[All Projects] Generalpublic2024-12-02 21:062024-12-10 10:27
ReporterJOTD 
Assigned ToWepl 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version19.1beta 
Target Version19.1Fixed in Version19.1 
MachineA1200
CPU68040
CPUSpeed50
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem0 MB
WorkbenchOS 3.0
KickROM40 - Kick 3.1
KickSoftNone
WHDLoad19.1
Summary0006648: ReadJoyPort parasite outputs in joystick mode
Descriptionrelated to 0006647

2/3 button joystick mode is completely broken. Take Moktar for instance, character keeps jumping and jumping.

the fix 19.0 => 19.1 is required but not enough.
Steps To Reproducerun Moktar (other games probably "work" too) with WinUAE with "USB Gamepad" in "default" mode (not CD32 joypad)

Character jumps and jumps ...

Working fine with CD32 joypad setting.
TagsNo tags attached.
Attached Files

Notes
(0014261)
Wepl   
2024-12-02 23:26   
The game seems to set potgo=$0f00.
This breaks as WHDLoad does set potgo only during DETECT or when querying cd32pads.
(0014262)
JOTD   
2024-12-02 23:34   
(Last edited: 2024-12-02 23:39)
ouch, okay. Very good that it's not a whdload problem then!!

Can you point to the part of the code that does that? (maybe in the Moktar mantis issue?)

(0014265)
Wepl   
2024-12-03 00:45   
Hmm, gameport.device installs a vbi which writes potgo on each interrupt via potgo.resource.
I will change WHDLoad so that it writes potgo each time.
(0014266)
Wepl   
2024-12-03 01:03   
new WHDLoad beta uploaded
(0014271)
DJ Mike   
2024-12-03 11:50   
I've tested before and after the fix - can confirm reproduction of continual jumping with earlier beta, and it is now fixed by your POTGO change for me (testing in WinUAE). Nice one. =)

Issue History
2024-12-02 21:06JOTDNew Issue
2024-12-02 21:07JOTDDescription Updatedbug_revision_view_page.php?rev_id=1723#r1723
2024-12-02 22:00WeplAssigned To => Wepl
2024-12-02 22:00WeplStatusnew => assigned
2024-12-02 22:04WeplProduct Version19.1 => 19.1beta
2024-12-02 23:26WeplNote Added: 0014261
2024-12-02 23:34JOTDNote Added: 0014262
2024-12-02 23:39JOTDNote Edited: 0014262bug_revision_view_page.php?bugnote_id=14262#r1725
2024-12-03 00:45WeplNote Added: 0014265
2024-12-03 01:03WeplNote Added: 0014266
2024-12-03 01:03WeplStatusassigned => resolved
2024-12-03 01:03WeplResolutionopen => fixed
2024-12-03 01:03WeplFixed in Version => 19.1beta
2024-12-03 09:42WeplTarget Version => 19.1
2024-12-03 11:50DJ MikeNote Added: 0014271
2024-12-10 10:27WeplFixed in Version19.1beta => 19.1