This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (2 messages)
Thanks for the prompt response, Shraddhan. Bits 10 & 14 correspond to the right mouse buttons, and will be cleared if the respective button is depressed(closing the circuit). The cmp.w is unnecessary, and could be replaced with a BTST.W instruction. However, I was uncertain as to whether the BTST.W could…
right mouse button(s)
Message #42536
Can anyone inform me as to why the following code does not work on the Amiga 1000? LEA $DFF000,A0 MOVE.W $16(A0),D0 ;read pot port data AND.W #%0100010000000000,D0 ;MASK RIGHT BUTTON(S) CMP.W #%0100010000000000,D0 ;0=BUTTON PRESSED ON BNE MEN? ;BIT 10 OR 14 While code has been successfully tested on a Rev6…