Commit: 3ca87be0f7590893d0f6f9d8b5d5e77463de7792 Parent: e3385bed72d066aaa3f06416a8da183ad66bff6a Author: Vi Grey Date: 2020-09-17 00:20 UTC Summary: Fix hardware only controller byte 1 reverse order bin/nes/iss-nes.nes | Bin 40976 -> 40976 bytes src/controller.asm | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nes/iss-nes.nes b/bin/nes/iss-nes.nes index 5df0a16..ee451e0 100644 Binary files a/bin/nes/iss-nes.nes and b/bin/nes/iss-nes.nes differ diff --git a/src/controller.asm b/src/controller.asm index 64e4d0d..99e130e 100644 --- a/src/controller.asm +++ b/src/controller.asm @@ -91,7 +91,7 @@ PollControllerSyncLatch: PollControllerSyncLoop: lda CONTROLLER1 lsr - ror controllersync + rol controllersync dey bne PollControllerSyncLoop lda controllersync @@ -99,7 +99,7 @@ PollControllerSyncLoop: beq PollControllerSyncLoopIsFF cpx #$06 beq PollControllerSyncContinue - ; FE sync pulse is required at least once per frame + ; FF sync pulse is required at least once per frame lda #$01 sta controllervalid jmp PollControllerSyncContinue