|
Subject: Re: RE: [stella] Horizontal Positioning and Movement From: crackers@xxxxxxxx Date: Wed, 3 Sep 1997 11:53:02 -0400 (EDT) |
In article <19970902190744949.AAA282@xxxxxxxxxxxxxxxxxxxxx>, you wrote:
>O.K. a plain English example it is then:
>
>You have two ways of changing the horizontal position of a player.
>
> 1) Coarse positioning. Wait the appropriate number of cycles
> after the WSYNC on a scanline and then write to RESP0. The reason
> this positioning is referred to as coarse is that since there are 3
> color cycles per machine cycle, it would be impossible to place the
> player at the exact pixel you want. A common way to do the coarse
> positioning is:
>
> ; Routine to position player horizontally
> ; On entry X=player (0/1)
> ; Y=Coarse position
>
> STA WSYNC ;3 Wait for horizontal sync
> resloop
> DEY ;2
> BPL resloop ;2
> STA RESP0,X ;4
> sta WSYNC ;3
> RTS ;6
>
~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~
Thanks Bob! This makes more sense.
You know... I would pay good money for a Stella Programming Guide that
was written in plain english and had source code examples like this.
CRACKERS
(I hate tech manuals from hell!!!!!)
--
Accordionist - Wethifl Musician - Atari 2600 Collector | /\/\
*NEW CrAB URL* http://www.hwcn.org/~ad329/crab.html ***| \^^/
Bira Bira Devotee - FES Member - Samurai Pizza Cats Fan| =\/=
--
Archives updated once/day at http://www.biglist.com/lists/stella/archives/
Unsubscribing and other info at http://www.biglist.com/lists/stella/stella.html
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [stella] Horizontal Positioning, A. | Thread | Re: RE: [stella] Horizontal Positio, Nick S Bensema |
| Re: [stella] Supercharger tape spec, Robin Harbron | Date | Re: [stella] Horizontal Positioning, crackers |
| Month |