MEGA65 banner now displays internal device numbers

This commit is contained in:
FeralChild64 committed 2021-02-03 20:20:10 +01:00
1 parent 92d1ad0177
commit 5f6a8eb7bf
11 files changed
+67 -40

No files matched your search

+7 -6
View File
@@ -20,30 +20,31 @@ dos_UNITNUM:
cmp #$02
beq dos_UNITNUM_ramdisk
lda #$00
; FALLTROUGH
dos_UNITNUM_none:
lda #$00
sec
rts
dos_UNITNUM_sdcard:
lda UNIT_SDCARD
+skip_2_bytes_trash_nvz
bra dos_UNITNUM_common
dos_UNITNUM_floppy:
lda UNIT_FLOPPY
+skip_2_bytes_trash_nvz
bra dos_UNITNUM_common
dos_UNITNUM_ramdisk:
lda UNIT_RAMDISK
bra dos_UNITNUM_common
dos_UNITNUM_common:
cmp #$00
beq dos_UNITNUM_none