summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.asm11
-rw-r--r--vram-usage6
2 files changed, 9 insertions, 8 deletions
diff --git a/main.asm b/main.asm
index 2723ea7..7ec67d4 100644
--- a/main.asm
+++ b/main.asm
@@ -93,7 +93,8 @@ copybg3:
.loop
lda BG3Map,x
sta VMDATAL
- stz VMDATAH
+ lda #$20
+ sta VMDATAH
inx
dey
bne loop
@@ -101,18 +102,18 @@ copybg3:
; Initialise the screen
;
- lda #$01
+ lda #$09
sta BGMODE
- lda #$14
+ lda #$1f
sta TM
lda #$11
sta BG12NBA
stz BG34NBA
- lda #$60
+ lda #$61
sta BG1SC
- lda #$80
+ lda #$81
sta BG2SC
lda #$40
sta BG3SC
diff --git a/vram-usage b/vram-usage
index 304fe8b..88d9721 100644
--- a/vram-usage
+++ b/vram-usage
@@ -1,6 +1,6 @@
0x0000 4-colour character set
0x1000 16-colour character set
-0x4000 4-color map
-0x6000 16-colour map (background)
-0x8000 16-colour map (foreground)
+0x4000 4-color map (32x32)
+0x6000 16-colour map (64x32) (background)
+0x8000 16-colour map (64x32) (foreground)
0xa000 Sprites