Page 1 of 1

yay!

Posted: Sat Jul 08, 2006 9:01 pm
by dented42
lets see...
I type 'monitor' to enter the builtin monitor
type:
a 01300 lda $47
a 01302 jsr $ffd2
a 01305 rts
x

I get a ready prompt and type in:
sys dec("1300")
G
and a g appears on the screen.
YAY! mind you I was expecting an A, but I'm not complaining

Re: yay!

Posted: Sun Jul 09, 2006 2:50 pm
by MacbthPSW
a 01300 lda $47

YAY! mind you I was expecting an A, but I'm not complaining
Since you started a new thread, I don't know if you were following my example or not...

But you have two mistakes in that one line. It should be
a 01300 lda #$41
The # is important - it means that you want to load the value $41 into the accumulator, rather than the value in location $41. If you got a G displayed, then you probably did a lda #$47, but didn't type the # in when you posted here.