added ram disk status message on startup screen

This commit is contained in:
FeralChild64 committed 2021-05-19 22:59:35 +02:00
1 parent 770441e302
commit f7ff71f6cd
11 files changed
+110 -37

No files matched your search

+21 -11
View File
@@ -8,17 +8,18 @@
!addr VDOS_INIT = $4020 + 0 * 2
!addr VDOS_PRELOAD = $4020 + 1 * 2
!addr VDOS_UNITCHK = $4020 + 2 * 2
!addr VDOS_UNITSET = $4020 + 3 * 2
!addr VDOS_UNITNUM = $4020 + 4 * 2
!addr VDOS_ACPTR = $4020 + 5 * 2
!addr VDOS_CIOUT = $4020 + 6 * 2
!addr VDOS_LISTEN = $4020 + 7 * 2
!addr VDOS_SECOND = $4020 + 8 * 2
!addr VDOS_TALK = $4020 + 9 * 2
!addr VDOS_TKSA = $4020 + 10 * 2
!addr VDOS_UNTLK = $4020 + 11 * 2
!addr VDOS_UNLSN = $4020 + 12 * 2
!addr VDOS_RDCHK = $4020 + 2 * 2
!addr VDOS_UNITCHK = $4020 + 3 * 2
!addr VDOS_UNITSET = $4020 + 4 * 2
!addr VDOS_UNITNUM = $4020 + 5 * 2
!addr VDOS_ACPTR = $4020 + 6 * 2
!addr VDOS_CIOUT = $4020 + 7 * 2
!addr VDOS_LISTEN = $4020 + 8 * 2
!addr VDOS_SECOND = $4020 + 9 * 2
!addr VDOS_TALK = $4020 + 10 * 2
!addr VDOS_TKSA = $4020 + 11 * 2
!addr VDOS_UNTLK = $4020 + 12 * 2
!addr VDOS_UNLSN = $4020 + 13 * 2
m65dos_init:
@@ -37,6 +38,15 @@ m65dos_preload:
jsr (VDOS_PRELOAD)
bra m65dos_end_1
m65dos_rdchk:
; Returns in .A the RAM DISK preload status; $00 = OK, $FF = N/A, other = error code
jsr map_DOS_1
jsr (VDOS_RDCHK)
bra m65dos_end_1
m65dos_unitchk: ; XXX expose to BASIC
; Checks is the unit number is supported by the internal DOS