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

github.com/coolgirl-multicart/coolgirl-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>2020-10-01 20:08:54 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-10-01 20:08:54 +0300
commite700f76116fd14a1978fa6be22f1ccb606ab28be (patch)
tree18ee9eb50615abba577e1fca0061e3560fc8a427 /banking.asm
parentade8d6ec536bfee90c2e3fbd94a137969d5ae45d (diff)
UNROM compatibility
Diffstat (limited to 'banking.asm')
-rw-r--r--banking.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/banking.asm b/banking.asm
index eb9b7b0..96be1f8 100644
--- a/banking.asm
+++ b/banking.asm
@@ -64,6 +64,10 @@ sync_banks:
and #%00000011
ora <TMP
sta $5005
+ ; for UNROM compatibility
+ lda <PRG_BANK
+ tax
+ sta unrom_bank_data, x
rts
enable_prg_ram: