Article View: comp.sys.amiga.tech
Article #3849Paddles from assembly
From: Frank P. Weed II
Date: Wed, 06 Jun 1990 19:18
Date: Wed, 06 Jun 1990 19:18
16 lines
989 bytes
989 bytes
How exactly does a person read standard Atari paddles from assembly? The
following fragment would seem to be correct, but Intuition doesn't like the
"move.w d0,$dff034" - it thinks it has RMB events.
move.l _GfxBase,a6 ; C has this variable
jsr WaitTOF(a6)
moveq.l #1,d0
move.w d0,$dff034 ; start paddle timing
jsr WaitTOF(a6) ; data ready next vblank
move.w $dff012,_Pot0Dat
move.w $dff014,_Pot1Dat
--
Frank P. Weed II uucp: uunet!isis!nyx!ufweed!fweed
Technical Details
Message-ID:
<3338.AA3338@ufweed.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!pikes!udenva!isis!nyx!ufweed!fweedShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!pikes!udenva!isis!nyx!ufweed!fweed From: fweed@ufweed.UUCP (Frank P. Weed II) Newsgroups: comp.sys.amiga.tech Subject: Paddles from assembly Message-ID: <3338.AA3338@ufweed.UUCP> Date: 6 Jun 90 19:18:07 GMT Followup-To: comp.sys.amiga.tech Distribution: na Lines: 16