moved RAMTAS to Mega65 extra ROM, as a proof of concept
This commit is contained in:
1 parent
73f05a13c8
commit
435ff6bbc2
6 files changed
+27
-32
No files matched your search
@@ -1,4 +1,7 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# M65 KERNAL_0 #TAKE
|
||||
// #LAYOUT# M65 KERNAL_1 #TAKE-FLOAT
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Official Kernal routine, described in:
|
||||
@@ -11,6 +14,14 @@
|
||||
|
||||
RAMTAS:
|
||||
|
||||
#if (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
jsr map_KERNAL_1
|
||||
jsr KERNAL_1__RAMTAS
|
||||
jmp map_NORMAL
|
||||
|
||||
#else
|
||||
|
||||
// C64 Programmers Reference guide p291:
|
||||
// Clear $0000-$0101, $0200-$03ff
|
||||
// PGS: $0000, $0001 are CPU IO ports, so should not get written to
|
||||
@@ -83,5 +94,4 @@ ramtas_32k:
|
||||
ldy #$80
|
||||
bne !- // branch always
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
@@ -12,12 +12,6 @@
|
||||
|
||||
IOINIT:
|
||||
|
||||
// XXX make something useful with this
|
||||
//
|
||||
// jsr map_KERNAL_1
|
||||
// jsr KERNAL_1__TESTROUTINE
|
||||
// jsr map_NORMAL
|
||||
|
||||
//
|
||||
// First initialize the CPU port, to make sure we have correct memory map
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user