some work on BASIC/KERNAL side of the monitor

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent dfc72e8b17
commit c7f6adbb93
11 files changed
+90 -45

No files matched your search

+20 -2
View File
@@ -62,7 +62,7 @@ map_KERNAL_1:
tay
taz
ldx #$42 ; $4000 <- map 8KB from $20000
ldx #$42 ; $4000 <- map 8KB from $24000
bra map_end
@@ -85,7 +85,7 @@ map_DOS_1:
ldx #$C1 ; $4000 <- map 16KB ROM from $20000
map
bra map_end_no_eom ; no EOM, we do not want interrupts within DOS!
bra map_end_no_eom ; no EOM, we do not want interrupts within DOS!
map_NORMAL_from_DOS_1:
@@ -99,3 +99,21 @@ map_NORMAL_from_DOS_1:
tab
bra map_NORMAL_common
map_MON_1:
php
pha
phx
phy
phz
lda #$00
tay
taz
lda #$E0
ldx #$42 ; $4000 <- map 8KB from $30000
map
bra map_end
+9
View File
@@ -0,0 +1,9 @@
;; #LAYOUT# M65 KERNAL_0 #TAKE
;; #LAYOUT# * * #IGNORE
MONITOR:
jsr map_MON_1
; XXX call the monitor here
jmp map_NORMAL
+10
View File
@@ -0,0 +1,10 @@
;; #LAYOUT# M65 KERNAL_0 #TAKE
;; #LAYOUT# * * #IGNORE
; Launches the machine language monitor
JMONITOR:
jmp MONITOR