various tape related fixes

This commit is contained in:
FeralChild64 committed 2019-11-03 09:54:48 +01:00
1 parent 79f8fedf8b
commit 176fc9749e
14 files changed
+13 -14

No files matched your search

+1 -1
View File
@@ -215,7 +215,7 @@ Feature needs about 330 bytes in BASIC segment. If unsure - enable.
If enabled, a simple DOS wedge is available from the direct mode for turbo tape loading - supports `←L` only If enabled, a simple DOS wedge is available from the direct mode for turbo tape loading - supports `←L` only
Feature needs about 30 bytes in BASIC segment. If unsure - enable. Feature needs about 5 bytes in BASIC segment. If unsure - enable.
### `CONFIG_BCD_SAFE_INTERRUPTS` ### `CONFIG_BCD_SAFE_INTERRUPTS`
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -45,7 +45,7 @@
#define CONFIG_IEC #define CONFIG_IEC
// #define CONFIG_IEC_JIFFYDOS // please keep disabled for now // #define CONFIG_IEC_JIFFYDOS // please keep disabled for now
// #define CONFIG_TAPE_NORMAL // please keep disabled for now // #define CONFIG_TAPE_NORMAL // please keep disabled for now
#define CONFIG_TAPE_TURBO // #define CONFIG_TAPE_TURBO
// #define CONFIG_RS232_UP2400 // please keep disabled for now // #define CONFIG_RS232_UP2400 // please keep disabled for now
// #define CONFIG_RS232_UP9600 // please keep disabled for now // #define CONFIG_RS232_UP9600 // please keep disabled for now
@@ -77,7 +77,7 @@
#define CONFIG_PROGRAMMABLE_KEYS #define CONFIG_PROGRAMMABLE_KEYS
.const CONFIG_KEYCMD_RUN = @"\$5FL" .const CONFIG_KEYCMD_RUN = @"LOAD\"*\""
.const CONFIG_KEYCMD_F1 = @"@" .const CONFIG_KEYCMD_F1 = @"@"
.const CONFIG_KEYCMD_F2 = @"" .const CONFIG_KEYCMD_F2 = @""
@@ -108,7 +108,7 @@
#define CONFIG_PANIC_SCREEN #define CONFIG_PANIC_SCREEN
#define CONFIG_DOS_WEDGE #define CONFIG_DOS_WEDGE
#define CONFIG_TAPE_WEDGE // #define CONFIG_TAPE_WEDGE
#define CONFIG_BCD_SAFE_INTERRUPTS #define CONFIG_BCD_SAFE_INTERRUPTS
+3 -3
View File
@@ -69,13 +69,13 @@ got_devicenumber:
lda #$00 lda #$00
sta SA sta SA
jsr injest_comma jsr injest_comma
bcs got_secondaryaddress bcs cmd_load_got_secondaryaddress
jsr basic_parse_line_number jsr basic_parse_line_number
lda LINNUM+1 lda LINNUM+1
bne !+ bne !+
lda LINNUM+0 lda LINNUM+0
sta SA sta SA
jmp got_secondaryaddress jmp cmd_load_got_secondaryaddress
!: !:
// Second parameter is above 255, this can't be a secondary address // Second parameter is above 255, this can't be a secondary address
// Use it as load address instead // Use it as load address instead
@@ -85,7 +85,7 @@ got_devicenumber:
ldy LINNUM+1 ldy LINNUM+1
bne got_loadaddress bne got_loadaddress
got_secondaryaddress: cmd_load_got_secondaryaddress: // input for tape wedge
ldy TXTTAB+1 ldy TXTTAB+1
ldx TXTTAB+0 ldx TXTTAB+0
+1 -3
View File
@@ -28,9 +28,7 @@ wedge_tape:
ldy TXTTAB+1 ldy TXTTAB+1
ldx TXTTAB+0 ldx TXTTAB+0
jsr JLOAD jmp cmd_load_got_secondaryaddress
jmp basic_main_loop
#endif // CONFIG_TAPE_WEDGE #endif // CONFIG_TAPE_WEDGE
+4 -3
View File
@@ -73,10 +73,7 @@ load_tape_turbo_payload:
load_tape_turbo_loop: load_tape_turbo_loop:
jsr tape_turbo_get_byte jsr tape_turbo_get_byte
dec CPU_R6510 // to load below I/O area
sta (STAL),y sta (STAL),y
inc CPU_R6510
eor PRTY // handle checksum eor PRTY // handle checksum
sta PRTY sta PRTY
@@ -126,7 +123,11 @@ tape_turbo_get_bit:
asl asl
sta SID_SIGVOL sta SID_SIGVOL
beq !+ beq !+
#if CONFIG_COLORS_BRAND && CONFIG_BRAND_ULTIMATE_64
lda #$0B
#else
lda #$06 lda #$06
#endif
!: !:
sta VIC_EXTCOL sta VIC_EXTCOL
pla pla
+1 -1
View File
@@ -300,7 +300,7 @@ tape_load_success:
jsr tape_screen_show_motor_off jsr tape_screen_show_motor_off
jsr lvs_display_done jsr lvs_display_done
!:
cli cli
jmp lvs_return_last_address jmp lvs_return_last_address