[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6502 assembler and emulator in JavaScript



  To: bieling
On Sat, 28 Apr 2007 12:39:51 -0700, bieling wrote:

> biel...@terra.es wrote:
>>
>> <http://6502asm.com/>
>>
> 
> I've written this to try it out:
> 
> start: lda $ff   ; read keypress
>        ldx $fe   ; get a random number
>        sta $200,x
>        sta $300,x
>        sta $400,x
>        sta $500,x
>        jmp start
> 
> When it's run, there are 4 dots whose color never change (you've got
> to press a key to change the color).
> Is it that the random number at $fe never gets the value $ff ?
> What do you think ?

That's what it looks like to me.  Replacing the second line with "ldx
#$ff, and pressing the "a" key puts a white dot into those spots that
don't change in your original program so it certainly looks like the
random number is never being set to $ff.

Perhaps you should click the help button, scroll to the bottom of that
window and click the link to post a bug report in the forum so that
Stian will know about it.
--- Synchronet 3.13a-Win32 NewsLink 1.83
A2Central.com - Your total source for Apple II computing.