NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectShift Ops and Input (?)  
Posted bydeschenes20
Posted on1/18/03 05:21 AM
From IP149.99.118.154  



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

-
Entire Thread
Subject  Posted byPosted On
.Shift Ops and Input (?)   deschenes201/18/03 05:21 AM
.*Re: Shift Ops and Input (?)   mcmartin1/18/03 05:36 AM
..*Re: Shift Ops and Input (?)   deschenes201/18/03 05:47 AM
...*Re: Shift Ops and Input (?)   mcmartin1/19/03 06:18 AM
....*Re: Shift Ops and Input (?)   zero soul1/21/03 01:09 AM
.....*Re: Shift Ops and Input (?)   quietust1/21/03 04:47 AM
......*Re: Shift Ops and Input (?)   zero soul1/21/03 8:36 PM
.......*(and an addendum)  zero soul1/21/03 8:39 PM
........*Re: (and an addendum)  gesis_l1/21/03 10:36 PM
.........*Re: (and an addendum)  zero soul1/22/03 00:14 AM
.......*(correction)  zero soul1/21/03 8:37 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo