initial support for Mega65 extra ROM

This commit is contained in:
FeralChild64 committed 2020-01-10 22:03:10 +01:00
1 parent 7539c6b072
commit 4d56864327
333 files changed
+1747 -289

No files matched your search

+5 -1
View File
@@ -1,4 +1,8 @@
// Compute's Mapping the C64 p88
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
// Computes Mapping the C64 p88
.word basic_cold_start
#endif // ROM layout
+6 -1
View File
@@ -1,3 +1,8 @@
// Compute's Mapping the C64 p88
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
// Computes Mapping the C64 p88
.word basic_warm_start
#endif // ROM layout
@@ -1,8 +1,10 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
//
// Continuation of the BASIC cold start routine
//
basic_cold_start_internal:
// Setup vectors at $300
@@ -34,3 +36,6 @@ basic_cold_start_internal:
// jump into warm start loop
jmp basic_warm_start
#endif // ROM layout
@@ -1,3 +1,4 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
//
// Continuation of the BASIC cold start routine
@@ -27,3 +28,6 @@ basic_warm_start_real:
!:
jmp basic_main_loop
#endif // ROM layout
+8 -2
View File
@@ -1,5 +1,8 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
// BASIC Cold start entry point
// Compute's Mapping the 64 p211
// Computes Mapping the 64 p211
basic_cold_start:
@@ -17,6 +20,9 @@ basic_cold_start:
dey
bpl !--
// Remaining part wouldn't fit here
// Remaining part would not fit here
jmp basic_cold_start_internal
#endif // ROM layout
@@ -1,5 +1,10 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
// Clear screen etc, show READY prompt.
basic_warm_start:
jmp basic_warm_start_real
#endif // ROM layout
+5 -1
View File
@@ -1,11 +1,15 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
//
// Well-known BASIC routine, described in:
//
// - [CM64] Compute's Mapping the Commodore 64 - page 212
// - [CM64] Computes Mapping the Commodore 64 - page 212
//
// Prints the start-up messages
//
INITMSG:
jmp initmsg_real
#endif // ROM layout
+4
View File
@@ -1,3 +1,4 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
//
// Print out the amount of free bytes - for the startup banner
@@ -19,3 +20,6 @@ initmsg_bytes_free:
// Print rest of the start up message
ldx #34
jmp print_packed_message
#endif // ROM layout
+4
View File
@@ -1,3 +1,4 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
// Routine is too long to fit in the original location
@@ -146,3 +147,6 @@ initmsg_real:
#endif
#endif // ROM layout
+4
View File
@@ -1,3 +1,4 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
//
// Startup banner, to be displayed during cold start
@@ -110,3 +111,6 @@ pre_revision_string:
// .byte $0D,$05,$92,$00
#endif
#endif // ROM layout