very experimental head align tool

This commit is contained in:
FeralChild64 committed 2019-12-20 21:54:22 +01:00
1 parent 9392728750
commit 7227370907
15 files changed
+359 -41

No files matched your search

+4
View File
@@ -26,3 +26,7 @@
#if CONFIG_SHOW_PAL_NTSC
.label print_pal_ntsc = KERNAL.print_pal_ntsc
#endif
#if CONFIG_HEAD_FIT_TOOL
.label head_fit = KERNAL.head_fit
#endif
+2 -2
View File
@@ -64,7 +64,7 @@ rsl_l1:
// Check if a wedge should take over
#if CONFIG_DOS_WEDGE || CONFIG_TAPE_WEDGE
#if CONFIG_DOS_WEDGE || CONFIG_TAPE_WEDGE || CONFIG_HEAD_FIT_TOOL
ldx __tokenise_work1 // here is the size of input
@@ -75,7 +75,7 @@ rsl_l1:
cmp #$40 // '@'
beq_far wedge_dos
#endif
#if CONFIG_TAPE_WEDGE
#if CONFIG_TAPE_WEDGE || CONFIG_HEAD_FIT_TOOL
cmp #$1F // left arrow
beq_far wedge_tape
#endif
+15 -2
View File
@@ -1,5 +1,5 @@
#if CONFIG_TAPE_WEDGE
#if CONFIG_TAPE_WEDGE || CONFIG_HEAD_FIT_TOOL
// .X has to contain size of the buffer
@@ -13,6 +13,19 @@ wedge_tape:
bne_far do_SYNTAX_error
lda BUF+1
#if CONFIG_HEAD_FIT_TOOL
cmp #$48 // 'H'
beq_far head_fit
#endif
#if !CONFIG_TAPE_WEDGE
jmp do_SYNTAX_error
#endif
cmp #$4C // 'L'
bne_far do_SYNTAX_error
@@ -31,4 +44,4 @@ wedge_tape:
jmp cmd_load_got_secondaryaddress
#endif // CONFIG_TAPE_WEDGE
#endif