improved support for different RAM configurations

This commit is contained in:
FeralChild64 committed 2021-03-30 20:34:01 +02:00
1 parent 7510d4a83f
commit d68583d1b3
7 files changed
+89 -37

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
; If no Hyper RAM is present, clear the RAM DISK device number and set Carry
util_check_rd_ram:
lda RAM_ATTIC
ora RAM_CELLAR
beq @no_hyperram
clc
rts
@no_hyperram:
lda #$00
sta UNIT_RAMDISK
sec
rts