Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08240 Interface Minor Have not tried Mar 1, 2022, 03:31 Apr 13, 2022, 23:20
Tester danq989 View Status Public Platform MAME (Official Binary)
Assigned To R. Belmont Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.240 Fixed in Version 0.243 Build 64-bit
Fixed in Git Commit 23904ff Github Pull Request #
Summary MESS-specific 08240: apple2gs: Glitchy Joystick input via gameio
Description When using joystick via -gameio joy in various games, the joystick behavior is very erratic and glitchy. Sometimes the onscreen character moves in the direction indicated, then hitches or pauses or goes a different direction than where the stick is pressed.

In Joystick Calibrator V1.0 (available in with the host joystick centered, the analog X and Y values jump around, even often giving values outside the nominal 0-255 range!

Note that 10 PRINT PDL(0), PDL(1) 20 GOTO 10 in BASIC does appear to work correctly. Could be a timing bug.
Steps To Reproduce Launch GS/OS 6.04 from HD image, then run Joystick Calibrator 1.0 from Sports and Unreleased games from this HDV image: Center joystick and watch the values jump. Moving joystick to corners also produces glitchy, often incorrect or impossible (for the real HW) values.
Additional Information Using Logitech Cordless Rumblepad via directinput, which works great in other MAME sets/systems. Tried various analog controls options but no change in behavior.

MAME cmdline:
 D:\Emulator\Mame240\mame.exe apple2gs -ramsize 4194304 -fdc:0 525 -fdc:1 525 -fdc:2 35dd -fdc:3 35dd -gameio joy -modem `"`" -printer `"`" -sl1 `"`" -sl2 `"`" -sl3 `"`" -sl4 `"`" -sl5 `"`" -sl6 `"`" -sl7 scsi -sl7:scsi:scsibus:0 harddisk -sl7:scsi:scsibus:1 harddisk -sl7:scsi:scsibus:2 harddisk -sl7:scsi:scsibus:3 harddisk -sl7:scsi:scsibus:4 harddisk -sl7:scsi:scsibus:5 harddisk -sl7:scsi:scsibus:6 harddisk -floppydisk1 `"`" -floppydisk2 `"`" -floppydisk3 `"`" -floppydisk4 `"`" -window -nomaximize -harddisk7 `"D:\Emulator\AppleIIGS\2mg\System 6_0_4 and Free Games.hdv`" -harddisk6 `"D:\Emulator\AppleIIGS\2mg\Action.hdv`" -harddisk5 `"D:\Emulator\AppleIIGS\2mg\PnGraph.hdv`" -harddisk4 `"D:\Emulator\AppleIIGS\2mg\BGnRPG.hdv`" -harddisk3 `"D:\Emulator\AppleIIGS\2mg\Sports.hdv`" -harddisk2 `"D:\Emulator\AppleIIGS\2mg\autil.hdv`" -harddisk1 `"D:\Emulator\AppleIIGS\2mg\Music Library.2mg`" -resolution0 1280x1024
Github Commit
Regression Version
Affected Sets / Systems apple2gs
Attached Files
png file icon Joystick_Calibrator_incorrect_val_centered_MAME240.png (1,424,760 bytes) Mar 1, 2022, 03:31 Uploaded by danq989
related to 08736Resolved  apple2gs: Bug 08240 maybe never completely fixed. New: joystick buttons not working 
User avatar
R. Belmont
Apr 13, 2022, 23:20
A combination of better 1 MHz slowdowns and fixing a difference between the IIgs and earlier Apple IIs solved this. Thanks to Kelvin Sherlock and John "Rastan" Brooks for assists on this.