Re: [stella] Source Code

Subject: Re: [stella] Source Code
From: Eckhard Stolberg <Eckhard_Stolberg@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 04 Mar 1998 22:38:35 +0100
>Please let me know if anyone has a problem with me posting their code, and
>I'll promptly take it down. Glenn if you wish to keep posted source as
>proprietary to the list that's fine too. As I said I'm just looking for
>help and was trying to make things easier. Any comments or suggestions are
>more than welcome. Complete corrected code able to run under DASM would be
>fantastic!  :)

The code, that I posted was meant to demonstrade some effects only
and is pretty useless without the explaining mails, that I posted
it with, since I didn't comment the source code that much. But you
can keep it on your webpage, if you want to.

I checked your changes to my code to see, why it would not assemble
with DASM. The problem seems to be the definition of variables.
In ASM6502 I can use
ORG $80
Name1 DS 5
Name2 DS 1
to define some space for Name1 and Name2. In DASM the ORG also causes
the ROM image to start at address $0080, which is not intended.
To work around this you could replace the above sequence with
Name1 = $80
Name2 = $85
Name3 = $86
etc.

Also the SAY.A65 program would not do anything, because I left
out all the sample data. You have to add in 3840 sample bytes
at the position where it says 'insert sample data here'. Since
the volume is only 4 bits large each byte holds two sample values.

If you want the original data, you could use DISTELLA from Bob 
Colbert's page on the BIN file, that I posted with the source code.

The TRICK.A65 code has some lines with a double comment, like
STA $86 ;RESP0 ;3
The $86 is only a dummy RAM address. If you replace it with the
RESPx behind it, the program would display 15 sprites per scanline.

Unfortunately this trick doesn't work as well on a real VCS as it
does on PCAE. I tried it on a Space Invaders game and it didn't 
look that good. I reused that code for some light gun experimentations,
but since it looks bad and shooting Space Invaders with a light gun
is not much fun, I will not devellop it any further. So, if anyone
has a good idea for a light gun game, I would like to hear it. :-)


Ciao, Eckhard Stolberg



--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/stella.html
Don't post pirate BINs to Stellalist.  Be a programmer, not a pirate.
Write the best game, win framed autographs of famous Atari alumni!!

Current Thread