|
i've written a small nes demo witch doesnt do much but should do alot more. My code is very simple and basic, but i cant seems to understand how to display something on the screen properly. I write to NT1 values but tiles never shows at the right place. For example, if i write to vram $2000, i see nothing but if i write to $2120, i see my stuff at the top of the screen. Here's a sample of my code:
start: sei cld lda $2002 bpl start
lda #$00 sta $2005 sta $2005
lda #%00000000 sta $2000 lda #%00011110 sta $2001 lda #$20 sta $2006 lda #$00 sta $2006 lda #$01 sta $2007
Should this display my tiles at the top of the screen? I tested it out with fceultra but it doenst work.
thanks
|