fixed DOS memory mapping

This commit is contained in:
FeralChild64 committed 2020-08-22 21:48:36 +02:00
1 parent 7437dc4548
commit 274a3c070a
4 files changed
+44 -46

No files matched your search

+13 -13
View File
@@ -6,16 +6,16 @@
//
.label VDOS_INIT = $4000
.label VDOS_HASUNIT = $4002
.label VDOS_ACPTR = $4004
.label VDOS_CIOUT = $4006
.label VDOS_LISTEN = $4008
.label VDOS_SECOND = $400A
.label VDOS_TALK = $400C
.label VDOS_TKSA = $400E
.label VDOS_UNTLK = $4010
.label VDOS_UNLSN = $4012
.label VDOS_INIT = $4000 + 0 * 2
.label VDOS_CHKUNIT = $4000 + 1 * 2
.label VDOS_ACPTR = $4000 + 2 * 2
.label VDOS_CIOUT = $4000 + 3 * 2
.label VDOS_LISTEN = $4000 + 4 * 2
.label VDOS_SECOND = $4000 + 5 * 2
.label VDOS_TALK = $4000 + 6 * 2
.label VDOS_TKSA = $4000 + 7 * 2
.label VDOS_UNTLK = $4000 + 8 * 2
.label VDOS_UNLSN = $4000 + 9 * 2
// XXX connect this to core IEC implementation
@@ -24,13 +24,13 @@
m65dos_init:
jsr map_DOS_1
// XXX do after memory mapping is correct: jsr_ind VDOS_INIT
jsr_ind VDOS_INIT
jmp_8 !+
m65dos_hasunit:
m65dos_chkunit:
jsr map_DOS_1
jsr_ind VDOS_HASUNIT
jsr_ind VDOS_CHKUNIT
jmp_8 !+
m65dos_acptr: