Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/mmc3_split4/main.asm')
-rw-r--r--Samples/mmc3_split4/main.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/Samples/mmc3_split4/main.asm b/Samples/mmc3_split4/main.asm
index 31db8e9..70dd12f 100644
--- a/Samples/mmc3_split4/main.asm
+++ b/Samples/mmc3_split4/main.asm
@@ -64,14 +64,14 @@ load_palette:
lda #HIGH(palette)
sta <COPY_SOURCE_ADDR+1
lda #$3F
- sta $2006
+ sta PPUADDR
lda #$00
- sta $2006
+ sta PPUADDR
ldy #$00
ldx #16
.loop:
lda [COPY_SOURCE_ADDR], y
- sta $2007
+ sta PPUDATA
iny
dex
bne .loop
@@ -82,14 +82,14 @@ load_nametable:
lda #HIGH(nametable_0)
sta <COPY_SOURCE_ADDR+1
lda #$20
- sta $2006
+ sta PPUADDR
lda #$00
- sta $2006
+ sta PPUADDR
ldy #$00
ldx #$00
.loop:
lda [COPY_SOURCE_ADDR], y
- sta $2007
+ sta PPUDATA
iny
bne .loop
inc COPY_SOURCE_ADDR+1