Re: [stella] New person question...

Subject: Re: [stella] New person question...
From: "Thomas Jentzsch" <tjentzsch@xxxxxx>
Date: Mon, 31 Mar 2003 17:39:03 +0200
smf_4ever wrote:
> Do you have dedicated services for your registers primarily?? i.e.. just 
> primarily using the X reg for player graphics/movement.. Y register for 
> playfield/???...A for game play main sequences???

A very good question since effectiv usage of the registers is one key for a good display kernel.

I usually use Y for graphics (lda (ind),y) and in parallel for scanline counting, X for the PF (normally also having a vertical lower resolution) or other things (like stack manipulation or to store temporary results, A is for multi purposes. 

You should have a look at some other peoples kernel code or disassemblies from graphically advanced old games (e.g. Pitfall!, River Raid or Cosmic Ark). Then you might get the pattern where to use what.


Ihnen fehlen die richtigen Worte für Ihre SMS? WEB.DE FreeMail hat die
besten Sprueche für Sie.

Archives (includes files) at
Unsub & more at

Current Thread