Changes

Jump to: navigation, search

6502 Emulator Example Code

12 bytes added, 12:51, 8 January 2020
Place a Graphic on the Screen
define WIDTH 4 ; width of graphic
define HEIGHT 4 ; height of graphic
lda #$25 ; create a pointer at $10
sta $10 ; which points to where
iny
cpy #WIDTH
bne draw
inc $12 ; increment row counter
lda #HEIGHT ; are we done yet?
cmp $12

Navigation menu