From eb741e1396a0417c8bacd1af8a81826d03f71a6f Mon Sep 17 00:00:00 2001 From: Greg King Date: Thu, 5 Sep 2013 11:32:50 -0400 Subject: [PATCH] Don't shift in an unknown carry bit. If that bit happenned to be set, then it would defeat the fancy ADC shifter. --- libsrc/cbm510/mou/cbm510-joy.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/cbm510/mou/cbm510-joy.s b/libsrc/cbm510/mou/cbm510-joy.s index 7a98f8d39..9381cf761 100644 --- a/libsrc/cbm510/mou/cbm510-joy.s +++ b/libsrc/cbm510/mou/cbm510-joy.s @@ -2,7 +2,7 @@ ; Driver for a "joystick mouse". ; ; 2009-09-26, Ullrich von Bassewitz -; 2013-08-22, Greg King +; 2013-09-05, Greg King ; .include "zeropage.inc" @@ -252,7 +252,7 @@ BUTTONS: ; Joystick 1, fire button is in bit 6. and #%11000000 - rol a ; Move bits 7,6 to bits 1,0 + asl a ; Move bits 7,6 to bits 1,0 rol a rol a adc #%00001110 ; Move bit 1 to bit 4 -- 2.39.5