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

github.com/ClusterM/coolboy-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildinfo.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildinfo.asm b/buildinfo.asm
index c418945..36331e4 100644
--- a/buildinfo.asm
+++ b/buildinfo.asm
@@ -255,12 +255,21 @@ prg_ram_detect:
sta PRG_RAM_PRESENT
jsr enable_prg_ram
lda #$AA
+ .if (COOLBOY_SUBMAPPER != 2)
sta $7000
cmp $7000
bne .end
lda #$55
sta $7000
cmp $7000
+ .else
+ sta $6000
+ cmp $6000
+ bne .end
+ lda #$55
+ sta $6000
+ cmp $6000
+ .endif
bne .end
lda #1
sta PRG_RAM_PRESENT