PAL/NTSC display is now optional

This commit is contained in:
FeralChild64 committed 2019-10-06 22:27:30 +02:00
1 parent 3ca8c0ead5
commit 8339e36324
14 files changed
+72 -25

No files matched your search

+4
View File
@@ -11,3 +11,7 @@
.label print_hex_byte = KERNAL.print_hex_byte
.label print_return = KERNAL.print_return
.label print_space = KERNAL.print_space
#if CONFIG_BANNER_PAL_NTSC
.label print_pal_ntsc = KERNAL.print_pal_ntsc
#endif
+1 -1
View File
@@ -4,7 +4,7 @@
.macro TARGET_HOOK_BANNER() {
#if CONFIG_FANCY_BANNER
#if CONFIG_BANNER_FANCY
.byte $1C, $12, $A3, $A3, $A3, $A3, $A3, $A3, $A3, $92, $0D
.byte $9E, $12, $A3, $A3, $A3, $A3, $A3, $A3, $92, $05, $20
+1 -1
View File
@@ -4,7 +4,7 @@
.macro TARGET_HOOK_BANNER() {
#if CONFIG_FANCY_BANNER
#if CONFIG_BANNER_FANCY
// New banner from Retrofan
.byte $9a, $12, $20, $20, $7f, $a9, $20, $20, $1f, $20, $9a, $20, $20, $20
@@ -4,7 +4,7 @@
.macro TARGET_HOOK_BANNER() {
#if CONFIG_FANCY_BANNER
#if CONFIG_BANNER_FANCY
.byte $1C, $12, $A3, $A3, $A3, $A3, $A3, $A3, $A3, $92, $0D
.byte $9E, $12, $A3, $A3, $A3, $A3, $A3, $A3, $92, $05, $20
+2 -2
View File
@@ -1,5 +1,5 @@
cmd_stop:
ldx #38 // "BREAK"
ldx #30 // "BREAK"
jsr print_packed_message
// Are we in direct mode
@@ -8,7 +8,7 @@ cmd_stop:
beq !+
// Not direct mode
ldx #37
ldx #31
jsr print_packed_message
lda CURLIN+1
+1 -1
View File
@@ -150,7 +150,7 @@ do_basic_error:
beq !+
// We were in a program, so show IN <line>
ldx #37
ldx #31
jsr print_packed_message
lda CURLIN+1
+11 -9
View File
@@ -19,13 +19,12 @@ INITMSG:
bne !-
!:
// Print PAL/NTSC
ldx #30 // NTSC
lda TVSFLG
beq !+
ldx #31 // PAL
!:
jsr print_packed_message
// Print PAL/NTSC, if configured
#if CONFIG_BANNER_PAL_NTSC
jsr print_pal_ntsc
#endif
// Work out free bytes, display them
jsr basic_do_new
@@ -37,8 +36,11 @@ INITMSG:
sbc TXTTAB+1
jsr print_integer
jsr print_space
// Print rest of the start up message
ldx #34
jmp print_packed_message
jsr print_packed_message
// XXX put them into packed message
jsr print_return
jmp print_return