Phenix Laser Gun

From MSX Game Library

Revision as of 16:21, 25 November 2026 by Aoineko (talk | contribs) (Aoineko moved page Phenix Light Gun to Phenix Laser Gun)

Idle mode

This is the default mode at startup. In this mode, the lightgun always return constant values.

Return value:

  • Pin 8 is HIGH: 0x3F,
  • Pin 8 is LOW: 0x0F.

Those values have been chosed to:

  • allow MSX-HID protocol to detect the Phenix lightgun with the fingerprint: 0x0F,0x3F,0x0F,
  • prevent lightgun from triggering joystick inputs that could interfere with the current program.

If any trigger is pressed, the state changes to Active mode.

Active mode

This is the normal mode to communicate between a game and the lightgun.

Return value:

[ 7  6  5  4  3  2  1  0 ]
  x  x  B  A  L3 L2 L1 L0
        │  │  └──┴──┴──┴── Light intensity (4-bit: [0:15]; 0: darker, 15: lighter)
        │  └────────────── Trigger A (0: pressed, 1: released)
        └───────────────── Trigger B (0: pressed, 1: released)