Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09141 DIP/Input Major Always 20 days ago 18 days ago
Tester VasiliyFamiliya View Status Public Platform MAME (Official Binary)
Assigned To pmackinlay Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.275 Fixed in Version 0.276 Build 64-bit
Fixed in Git Commit 47e9f4e Github Pull Request #
Summary 09141: x68000 [metlunit, metluni2]: Reaction on mouse use is only partial.
Description Both games detects a mouse buttons press, but mouse pointer always keep stay on its initial position.
Steps To Reproduce You can notice it even on the title screens.
Additional Information
Github Commit
Flags
Regression Version 0.274
Affected Sets / Systems x68000 [metlunit, metluni2]
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.23130
Robbbert
Moderator
20 days ago
edited on: 20 days ago
No usage information. No idea what the Japanese text is saying. I was not able to get either of these games to do anything useful.

I'd regard them as not working pending further info.

Using -mouse has no effect on the reported issue. The mouse pointer can be moved a pixel at a time with I,J,K,L but they don't autorepeat, making it quite tedious to use. Even then, where are we supposed to move the pointer to?
User avatar
No.23131
cuavas
Administrator
20 days ago
Did you check that you have mouse axes assigned to the mouse axis inputs in the input settings? They aren’t by default because the mouse ends up being “player 3” due to the game controllers being ordered before it.

The mouse pointer moving by a single pixel for I/J.K/L by default is probably intentional to make precise movement easier. You should be able to change that in the Analog Input Adjustments menu.

That said, there’s definitely something seriously wrong with the mouse. Movement is erratic, horizontal and vertical movement seems to result in a mixture of vertical movement and buttons, and pressing the mouse buttons seems to move the pointer to the right.
User avatar
No.23132
pmackinlay
Developer
18 days ago
edited on: 18 days ago
As Vas mentioned, it's not so simple to get the mouse working with the joypads installed. The simplest method I found was to simply remove the joypads, so mame x68000 -joy1 "" -joy2 "" (or use the menu).

This game (unlike Arkanoid 2 or the X68000 firmware) was failing to read all 3 bytes of data sent by the mouse unless there were exactly 3 interrupts generated by the SCC. A better-behaved program would read all the available data from the FIFO when receiving a serial interrupt, but in this case it exposed a bug. The bug was that the SCC was not re-asserting an interrupt when the conditions for that interrupt (a character in the FIFO) persisted after the previous interrupt was cleared.

The issue should be resolved here: https://github.com/mamedev/mame/commit/47e9f4eee25d11c34ed4967dcf27cba185ea8ddd