From 8e05438548a50dece16697f1b1cdddbde68c95cd Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 18 Sep 2018 10:45:02 +0000 Subject: Fixed priority of BG3. --- main.asm | 11 ++++++----- vram-usage | 6 +++--- 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 -- cgit v1.2.3