Re: [stella] reset vectors

Subject: Re: [stella] reset vectors
From: Chris Wilkson <cwilkson@xxxxxxxxxxxxxxxx>
Date: Tue, 12 May 1998 07:54:05 -0700 (PDT)
> I haven't seen it in the SPG, I'm wondering just what the 6502 reset vectors
> should look like.  I note that the Playfield demo only includes two vectors,
> yet I seem to recall three - NMI, IRQ, RESET.  I imagine that the IRQ
> doesn't exist on the 2600 - am I right?  That would explain the need for
> only two - yet other code I've seen uses three.

Yep, there's no hardware interrupt...only the software guy exists. So a sample
vector table would look like:

fffc 	RESET	RDB	START	* powerup reset - goto beginning
fffe	IRQ	RDB	DEBUG	* software interrupt - goto debug routine

(Note that the RESET vector is at $fffc, not $fffe)

> One thing that is troubling me is that, having downloaded the stella 2600
> emulator for the PC, I find that my demo - and several other programs from
> this list - do not seem to work.  I imagine this is due to poor
> initialisation (?) but at this stage I'm in the dark.  It appears that the
> Playfield demo doesn't work, either (or I've hacked it so it doesn't)

I dunno about the others, but the playfield demo works fine here.  Try the
attached .bin (modified from the original playfield demo) and let me know
if it works at your end.  Bw/color toggles the color cycling between bat
and background.

-Chris

Reset will changes the bat to black when the background is cycling.  

--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/stella.html

Current Thread