head align tool is now finished

This commit is contained in:
FeralChild64 committed 2020-06-04 23:05:37 +02:00
1 parent 17fbf220db
commit c5d7bb250f
9 files changed
+33 -8

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@
#define CONFIG_PANIC_SCREEN
#define CONFIG_DOS_WEDGE
#define CONFIG_TAPE_WEDGE
// #define CONFIG_TAPE_HEAD_ALIGN
#define CONFIG_TAPE_HEAD_ALIGN
#define CONFIG_BCD_SAFE_INTERRUPTS
+1 -1
View File
@@ -8,7 +8,6 @@
#import "KERNAL_0_combined.sym"
.label CLALL = KERNAL_0.CLALL
.label STOP = KERNAL_0.STOP
.label hw_entry_reset = KERNAL_0.hw_entry_reset
@@ -63,6 +62,7 @@
#if CONFIG_TAPE_HEAD_ALIGN
.label CLALL = KERNAL_0.proxy_K1_CLALL
.label nmi_lock = KERNAL_0.nmi_lock
#endif
+11
View File
@@ -56,3 +56,14 @@ proxy_K1_print_return:
jmp map_KERNAL_1
#endif
#if CONFIG_TAPE_HEAD_ALIGN
proxy_K1_CLALL:
jsr map_NORMAL
jsr CLALL
jmp map_KERNAL_1
#endif
+6
View File
@@ -25,6 +25,12 @@ hw_entry_reset:
ldx #$FF
txs
#if ROM_LAYOUT_M65
jsr map_NORMAL // we want normal memory mapping
#endif
#if CONFIG_PLATFORM_COMMODORE_64
// The following routine is based on reading the public KERNAL jumptable routine
+1 -4
View File
@@ -11,9 +11,6 @@
// XXX for Mega65 it can be done more easily, by just disabling the badlines
// XXX document CONFIG_TAPE_HEAD_ALIGN option
// XXX fix Mega65 build compilation issues
.label __ha_start = 12 // starting row of the chart
.label __ha_rows = 11 // number of rows for scrolling
@@ -50,7 +47,7 @@ tape_head_align:
sei
jsr IOINIT
jsr CINT
// jsr CINT
jsr nmi_lock