Arkanoid pad

Page 1/5
| 2 | 3 | 4 | 5

By hap

Paragon (2039)

hap's picture

12-08-2007, 15:41

The Arkanoid pad is a controller with 1 button and a dial (similar to a rotating volume knob on an old radio), used by at least Arkanoid and Arkanoid Revenge of Doh. This implementation is mostly based on guesswork, and has only been tested with Arkanoid 1.

PSG R14 bits 0 and 1 are used, bits 2-5 are set to 1.
Button state is easy: bit 1 of PSG R14, 0 when pressed, 1 when not pressed.
Dial state is on a 9 bit shift register. A positive edge (0 --> 1) on PSG R15 bit 4 puts the current dial position (164 is far left, 236 is middle, 309 is far right) into the shift register. Reading PSG R14 bit 0 returns the current bit, starting with bit 8. The shift register is shifted by a positive edge on PSG R15 bit 0.

As an example, to read the dial position:
reset R15 bit 4
set R15 bit 4
read R14 bit 0 (returns dial bit 8)
reset R15 bit 0
set R15 bit 0
read R14 bit 0 (returns dial bit 7)
etc.

On port 2, the strobe bits are probably 5 and 1.

Login or register to post comments

By hap

Paragon (2039)

hap's picture

14-08-2007, 10:51

typo: button state should be "1 when pressed, 0 when not pressed"

By dvik

Prophet (2200)

dvik's picture

14-08-2007, 21:00

Good information Smile Does the arkanoid games have detection of whether its an arkanoid pad or a joystick or are they assuming an arkanoid pad?

By hap

Paragon (2039)

hap's picture

14-08-2007, 21:56

They're assuming an Arkanoid pad, they're not playable with a standard joystick.

By dvik

Prophet (2200)

dvik's picture

22-08-2007, 19:51

Do you have a picture of the arkanoid pad? I'm thinking of adding support for it in bluemsx.

By hap

Paragon (2039)

hap's picture

22-08-2007, 20:15

This one's recently been added on msxposse:
http://www.msxposse.com/site/gallery/displayimage.php?album=43&pos=34

By Manuel

Ascended (18392)

Manuel's picture

22-08-2007, 20:48

dvik - how would the control be on the host PC? Mousewheel?? Tongue

By dvik

Prophet (2200)

dvik's picture

22-08-2007, 20:56

mouse was my initial thought. See last posts in http://www.msx.org/Meisei-1.0.newspost4392.html for more suggestions.

By NYYRIKKI

Enlighted (5898)

NYYRIKKI's picture

22-08-2007, 21:23

Ahti has a red Arkanoid pad, so you can take a picture on MSX info update 2007 :)

By dvik

Prophet (2200)

dvik's picture

22-08-2007, 21:25

@NYYRIKKI: That would be great, I'll bring my camera Big smile I'll use it int the joystick config dialog.

By Manuel

Ascended (18392)

Manuel's picture

04-04-2009, 22:06

Just implemented it in openMSX as well, thanks hap! Smile

Page 1/5
| 2 | 3 | 4 | 5