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

Re: 6502 assembler and emulator in JavaScript



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 ?

--Jorge.