Re: [stella] Reflex: Paddle woes

Subject: Re: [stella] Reflex: Paddle woes
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Sat, 3 Apr 2004 00:16:58 +0200
Paul Slocum wrote:
> I can't remember, it's something like 12-14 cycles to read the
> paddles with Thomas's most recent cycle consistent code?

Assuming you are using Y as scanline counter:
  bit INPTx ; 3
  bpl .set  ; 2³
  .byte $2c ; 1
.set:
  sty save  ; 3 = 9 cycles :-)

Have fun!
Thomas                            
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread