Re: [stella] Euchre: up against the wall again

Subject: Re: [stella] Euchre: up against the wall again
From: Paul Slocum <paul-stella@xxxxxxxxxxxxxx>
Date: Fri, 23 Nov 2001 09:56:46 -0600

I'm not sure I can use this since the offsets into the letter image table are calculated as multiples of six. I wouldn't be able to do this without creating a table of offsets. (I used to have one but took it out earlier to free up space. :) )

But using labels, you can have the actual message data point to offsets of the characters. Then you don't need a table. I'm not the best at DASM syntax, but if you want the message "PASS" then use:

        dc.b #<P
        dc.b #<A
        dc.b #<S
        dc.b #<S

This is easier to set up if your font starts on a page boundary, but you can just place the font first thing in your code.

For one, this is my first 2600 program, as well as my first 8-bit assembly program in general. I figured I should avoid the complications of dealing with bankswitching at this early stage. Also, it more complex games like Chess can be crammed into 4K, there's no reason that Euchre needs 8K, except to have a fancy user interface. I also don't own a Cuttle Cart so I could never test it on my 2600. :)

Well, Chess and the other programs didn't use text, so you're allowed to use 8k. ;o) Bankswitching can be complicated. But all you really have to do is move your messages to the other 4k bank. You could make one subroutine in the other bank that loads the needed message into RAM. While many subroutines in the second bank would be hard to manage, a single subroutine probably wouldn't be that difficult. And you could buy a bankswitching board from Chris Wilkson to test on (I think it's around $5). That's what I did before I had a Cuttle Cart. They work great!


Archives (includes files) at
Unsub & more at

Current Thread