|
I've had a certain looping input procedure that stores the amount of times $4016 has been loaded all in a single loop and stores the var after exiting. Works fine in Nesticle but I've tested my code with NESten and the input don't work at all. I've reviewed the input procedures of the only demos that work with this emulator, and all have used LSR and/or ROR. Some code from a game goes as:
;^ joypad initialized
LDY #$08 .1 LDA $4016 LSR A BCS .2 LSR A .2 ROR $68B3 ;not sure? I'm guessing the key or controller variable DEY BNE .1
This shift method has thrown me for a loop. Can anyone help me either understand this or get my input working in a good emulator? Thanks
http://www.geocities.com/deschenes2020
|