improved support for different RAM configurations
This commit is contained in:
1 parent
7510d4a83f
commit
d68583d1b3
7 files changed
+89
-37
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user