Closed dirkwhoffmann closed 3 months ago
Paddle support is almost finished. It'll work like this:
Besides 1350
, 1351
, and Neos
, there will be three new mouse models emulating a paddle:
PADDLE (POTX)
: Maps the mouse coordinates to the paddle connected to the POTX pinPADDLE (POTY)
: Maps the mouse coordinates to the paddle connected to the POTY pinPADDLE (POTX + POTY)
: Maps the mouse coordinates to both paddles With the third option, multiplayer games such as the one mentionen above can. be played against oneself (the same paddle controls both players):
The Translation
option controls how the mouse coordinates are mapped to the paddle position. Possible options are Horizontal
, Horizontal flipped
, Vertical
, and Vertical flipped
.
Minor TODOs:
All done
This is a follow-up to #792.
As my initial experiments worked out pretty well, I decided to add paddle support to v5.0.
However, there is one thing I won't support: Multiplayer support, although there are neat games such as this one:
Paddles often come in pairs, which means that a total of four paddles (two on each port) can be connected to the C64. The game shown above requires a pair of paddles connected to control port 1. However, in VirtualC64, only a single device can be plugged into each control port. Consequently, I can emulate two paddles, one at each port, but not two paddles connected to the same port. Supporting multiple devices connected to the same port would require a complete architectural overhaul of the emulator and the GUI, which I don't plan to do.
All paddle-based single-player games will be supported in v5.0 though.