fixed monitor memory mapping
This commit is contained in:
1 parent
c7f6adbb93
commit
73dee0acba
6 files changed
+4
-9
No files matched your search
@@ -718,7 +718,7 @@ $(TARGET_U64CRT_X): $(SEG_LIST_U64CRT) $(CRT_BIN_LIST) build/padding_8_KB
|
||||
# $0:$A000 - 8 KB - BASIC segment 0
|
||||
# $0:$C000 - 4 KB - KERNAL segment C
|
||||
# $0:$D000 - 4 KB - legacy mode chargen
|
||||
# $0:$E000 - 9 KB - KERNAL segment 0
|
||||
# $0:$E000 - 8 KB - KERNAL segment 0
|
||||
# $1:$0000 - 8 KB - Machine Language MONITOR
|
||||
# $1:$2000 - 56 KB - unused for now, padding
|
||||
|
||||
|
||||
@@ -106,6 +106,3 @@
|
||||
; --- Other
|
||||
|
||||
;; #CONFIG# COMPRESSION_LVL_2 NO
|
||||
|
||||
|
||||
;; #CONFIG# DEV_BSMON NO ; do not change, BSMON is not integrated yet
|
||||
@@ -112,7 +112,7 @@ map_MON_1:
|
||||
tay
|
||||
taz
|
||||
|
||||
lda #$E0
|
||||
lda #$C0
|
||||
ldx #$42 ; $4000 <- map 8KB from $30000
|
||||
|
||||
map
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
MONITOR:
|
||||
|
||||
jsr map_MON_1
|
||||
; XXX call the monitor here
|
||||
jsr ($4000)
|
||||
jmp map_NORMAL
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
!ifdef CONFIG_DEV_BSMON {
|
||||
|
||||
!word xtest
|
||||
!word Mon_Call
|
||||
!word Mon_Break
|
||||
!word Mon_Switch
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
; * (adaped for the Open ROMs) *
|
||||
; *******************************
|
||||
|
||||
!ifdef CONFIG_DEV_BSMON {
|
||||
|
||||
; XXX adapt all the addresses/constants!
|
||||
|
||||
@@ -2941,5 +2940,3 @@ Mon_Help
|
||||
!pet KEY_LT_RED,"?",KEY_WHITE,"help - ?",KEY_RETURN
|
||||
!pet 0
|
||||
JMP Main
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user