[stella] 6 digit code: Question 3

Subject: [stella] 6 digit code: Question 3
From: "Chris Larkin" <clarkin@xxxxxxxxxxxxx>
Date: Wed, 10 Sep 2003 21:24:34 -0700
OK... almost there
Final question on this subject... Then I'll quit :-)
When I load the pointers manually:
lda <letter
sta ptr
lda >letter
sta ptr+1
it works perfectly... however when I try to load the pointers from a table
table: .byte <letter
ldx #0
lda table,x
sta ptr
The last graphic does not draw correctly... why could this be?
Two sources attatched... works.s and broke.s
I'm sure it's something silly, any help is always appreciated

Attachment: broke.s
Description: Binary data

Attachment: works.s
Description: Binary data

Current Thread