🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3858

Re: Paddles from assembly

#3858
From: Kevin Klop
Date: Fri, 08 Jun 1990 05:36
31 lines
1557 bytes
In article <3338.AA3338@ufweed.UUCP> fweed@ufweed.UUCP (Frank P. Weed II) writes:
>
>   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

Refer to the latest RKMs.  They have an example of reading various gameport
devices, and how to use the gameport device.

			-- Kevin-Neil Klop --


Kevin Klop		{uunet|rutgers|amiga}!cbmvax!kevin
Commodore-Amiga, Inc.

The number, 111-111-1111 has been changed.  The new number is:
134-253-2452-243556-678893-3567875645434-4456789432576-385972

Disclaimer: _I_ don't know what I said, much less my employer.
Technical Details
Message-ID: <12414@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!rutgers!cbmvax!kevin
References: <3338.AA3338@ufweed.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!rutgers!cbmvax!kevin
From: kevin@cbmvax.commodore.com (Kevin Klop)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Paddles from assembly
Message-ID: <12414@cbmvax.commodore.com>
Date: 8 Jun 90 05:36:02 GMT
References: <3338.AA3338@ufweed.UUCP>
Reply-To: kevin@cbmvax (Kevin Klop)
Distribution: na
Organization: Commodore, West Chester, PA
Lines: 31