initial support for Mega65 extra ROM
This commit is contained in:
1 parent
7539c6b072
commit
4d56864327
333 files changed
+1747
-289
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
//
|
||||
// Print configured features on startup banner
|
||||
@@ -12,3 +13,6 @@ print_features:
|
||||
jmp print_kernal_message
|
||||
|
||||
#endif // CONFIG_SHOW_FEATURES
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
@@ -1,3 +1,4 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
//
|
||||
// Print the hex value in .A as two digits
|
||||
@@ -48,3 +49,6 @@ print_hex_byte:
|
||||
!: jmp JCHROUT
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
@@ -1,3 +1,4 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
//
|
||||
// Print one of the standard Kernal messages, index in .X
|
||||
@@ -13,3 +14,6 @@ print_kernal_message:
|
||||
bpl !- // 0 marks end of string
|
||||
and #$7F
|
||||
jmp JCHROUT
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
@@ -1,3 +1,4 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
//
|
||||
// Print video system on startup banner
|
||||
@@ -14,4 +15,7 @@ print_pal_ntsc:
|
||||
!:
|
||||
jmp print_kernal_message
|
||||
|
||||
#endif // CONFIG_SHOW_PAL_NTSC
|
||||
#endif // CONFIG_SHOW_PAL_NTSC
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
@@ -1,3 +1,4 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
//
|
||||
// Print the carriage return
|
||||
@@ -6,3 +7,6 @@
|
||||
print_return:
|
||||
lda #$0D // carriage return code
|
||||
jmp JCHROUT
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
@@ -1,3 +1,4 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
//
|
||||
// Print the space character
|
||||
@@ -6,3 +7,6 @@
|
||||
print_space:
|
||||
lda #$20 // space code
|
||||
jmp JCHROUT
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
@@ -1,3 +1,5 @@
|
||||
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
|
||||
|
||||
// printf()-like routine for simplifying debugging
|
||||
|
||||
// Prints the literal zero-terminated string that follows,
|
||||
@@ -141,3 +143,5 @@ printf_retreat:
|
||||
|
||||
#endif // CONFIG_DBG_PRINTF
|
||||
|
||||
|
||||
#endif // ROM layout
|
||||
Reference in new issue
Block a user