Jump to content
IGNORED

7800 joystick input


Happy_Dude

Recommended Posts

Here's some info form the 7800 dev kit.

 

How to use the right and left joystick buttons (7800 games only):

Initialize SWCHB with the following 4 instructions:



LDA  #$14

STA  CTLSWB

LDA  #0

STA  SWCHB





Read the fire buttons from:



INPT0   -  player 0, right button (d7=1 if pushed)

INPT1   -  player 0, left button  (d7=1 if pushed)

INPT2   -  player 1, right button (d7=1 if pushed)

INPT3   -  player 1, left button  (d7=1 if pushed)

 

Hope that helps.

 

Mitch

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...