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:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2023-01-25 22:26:06 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2023-01-25 22:26:06 +0300
commitef9c2fee69a38cb314bef46575d1fe4b2bcc625b (patch)
treeb8a9249c1d297b8bfcd1b0fd018ada397cc1a605
parent6510280a50f03b18a121587d9c0f0f50313c7919 (diff)
Submapper 2 PRG RAM test fixed
-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