added new segment for MEGA65, $C000-$CFFF

This commit is contained in:
FeralChild64 committed 2020-11-29 22:28:06 +01:00
1 parent bc6f154b78
commit 2a77b90b40
4 files changed
+33 -3

No files matched your search

+1
View File
@@ -0,0 +1 @@
This particular address is not for interoperability - we had to choose some fixed location for the extended ROM jumptable, beginning of the mapped memory block is just sane.
@@ -0,0 +1,21 @@
;; #LAYOUT# M65 KERNAL_0 #TAKE-FLOAT
;; #LAYOUT# M65 KERNAL_C #TAKE
;; #LAYOUT# * * #IGNORE
;
; Definitions for communication with MEGA65 segment KERNAL_C from KERNAL_0
;
!ifdef SEGMENT_KERNAL_0 {
; Label definitions
!addr VKC__m65_scnkey = $C000 + 2 * 0
} else {
; Vector table (Open ROMs private!)
!word $0000
}