mirror of
https://github.com/jborza/emu6502.git
synced 2024-11-24 12:30:48 +00:00
23 lines
205 B
NASM
23 lines
205 B
NASM
;number of loops to perform
|
|
LDA #$10
|
|
STA $A0
|
|
|
|
;number of bytes to color in a loop
|
|
|
|
outer:
|
|
LDY #$0A
|
|
;LDX #$00
|
|
|
|
loop:
|
|
;LDA #$01
|
|
STA $0200, X
|
|
INX
|
|
DEY
|
|
BNE loop
|
|
|
|
;outer loop handling
|
|
DEC $A0
|
|
LDA $A0
|
|
BNE outer
|
|
|