Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I can get the HI/LO (joypad) interrupt to work. Ideas ?

ideas interrupt joypad LO
0
Posted

I can get the HI/LO (joypad) interrupt to work. Ideas ?

0

You must set the P1 register ($ff00) in order to do this: P1_REG = $20 ; Cause U,D,L,R to joypad interrupt P1_REG = $10 ; Cause A,B,SELECT,START to joypad interrupt P1_REG = $00 ; Cause any button to joypad interrupt After calling any function which reads the joypad you will need to reset this register since most of these functions set this register to $30 upon completion.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123