New answers tagged

6

Windows XP will not automatically detect DB-15 gameport joysticks. XP has to be told what kind of joystick to expect at the gameport using the Game Controllers item in Control Panel. Flightsticks, arcade joysticks and gamepads are treated the same. Full instructions for installing a gameport joystick in XP: First, make sure XP knows you have a gameport. Go ...


1

Assuming the FIRE button on joy1 is pressed, then your joypad1 should store the value %11101111. In order to check this, using your constants: lda joypad1 and #JOYSTICK_FIRE bne JoyNotFire ; handle FIRE pressed ... JoyNotFire: ... Your code appears to do the opposite. The and opcode above is doing the following bit-wise logical operation: %11101111 & %...


Top 50 recent answers are included