removed potentially dangerous tape option
This commit is contained in:
1 parent
7bd144d421
commit
55399dab71
10 files changed
+4
-33
No files matched your search
@@ -60,7 +60,6 @@
|
||||
#define CONFIG_TAPE_AUTODETECT
|
||||
// #define CONFIG_TAPE_NO_KEY_SENSE
|
||||
// #define CONFIG_TAPE_NO_MOTOR_CONTROL
|
||||
// #define CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
// #define CONFIG_RS232_UP2400 // please keep disabled for now
|
||||
// #define CONFIG_RS232_UP9600 // please keep disabled for now
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
// #define CONFIG_TAPE_AUTODETECT
|
||||
// #define CONFIG_TAPE_NO_KEY_SENSE
|
||||
// #define CONFIG_TAPE_NO_MOTOR_CONTROL
|
||||
// #define CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
|
||||
// Multiple SID support
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
#define CONFIG_TAPE_AUTODETECT
|
||||
// #define CONFIG_TAPE_NO_KEY_SENSE
|
||||
// #define CONFIG_TAPE_NO_MOTOR_CONTROL
|
||||
// #define CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
|
||||
// Multiple SID support
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
#define CONFIG_TAPE_AUTODETECT
|
||||
#define CONFIG_TAPE_NO_KEY_SENSE
|
||||
#define CONFIG_TAPE_NO_MOTOR_CONTROL
|
||||
// #define CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
|
||||
// Multiple SID support
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
// #define CONFIG_TAPE_AUTODETECT
|
||||
// #define CONFIG_TAPE_NO_KEY_SENSE
|
||||
// #define CONFIG_TAPE_NO_MOTOR_CONTROL
|
||||
#define CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
|
||||
// Multiple SID support
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
#define CONFIG_TAPE_AUTODETECT
|
||||
// #define CONFIG_TAPE_NO_KEY_SENSE
|
||||
// #define CONFIG_TAPE_NO_MOTOR_CONTROL
|
||||
// #define CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
|
||||
// Multiple SID support
|
||||
|
||||
@@ -80,13 +80,9 @@ load_tape_normal_switch_turbo:
|
||||
!:
|
||||
#endif
|
||||
|
||||
#if CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
lda RIPRTY
|
||||
cmp #$01 // sets Carry if checksum verification fails
|
||||
#else
|
||||
jsr load_TAPE1_to_MEMUSS
|
||||
jsr tape_normal_get_data_2
|
||||
#endif
|
||||
|
||||
#if !CONFIG_TAPE_AUTODETECT
|
||||
bcs load_tape_normal_header // block load error, try again
|
||||
#else
|
||||
@@ -137,13 +133,9 @@ load_tape_normal_payload:
|
||||
jsr lvs_check_EAL
|
||||
bne_16 tape_load_error // amount of data read does not match header info
|
||||
|
||||
#if CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
lda RIPRTY
|
||||
cmp #$01 // sets Carry if checksum verification fails
|
||||
#else
|
||||
jsr lvs_STAL_to_MEMUSS
|
||||
jsr tape_normal_get_data_2
|
||||
#endif
|
||||
|
||||
bcs_16 tape_load_error
|
||||
|
||||
jmp tape_load_success
|
||||
|
||||
@@ -21,10 +21,9 @@ tape_normal_get_data_1:
|
||||
// and pointers for error log and correction mechanism
|
||||
lda #$00
|
||||
sta RIPRTY
|
||||
#if !CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
sta PTR2
|
||||
sta PTR1
|
||||
#endif
|
||||
|
||||
// FALLTROUGH
|
||||
|
||||
@@ -44,12 +43,6 @@ tape_normal_get_data_1_loop:
|
||||
|
||||
jsr tape_normal_get_byte
|
||||
bcc tape_normal_get_data_1_loop_byte_OK
|
||||
|
||||
#if CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
|
||||
bcs tape_normal_get_data_1_fail
|
||||
|
||||
#else
|
||||
|
||||
// Problem reading a byte, try to add it to the error log
|
||||
|
||||
@@ -71,8 +64,6 @@ tape_normal_get_data_1_loop:
|
||||
bcc tape_normal_get_data_1_loop_advance
|
||||
bcs tape_normal_get_data_1_success
|
||||
|
||||
#endif
|
||||
|
||||
tape_normal_get_data_1_loop_byte_OK:
|
||||
|
||||
jsr tape_normal_get_marker
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
|
||||
|
||||
#if CONFIG_TAPE_NORMAL && !CONFIG_TAPE_NO_ERROR_CORRECTION
|
||||
#if CONFIG_TAPE_NORMAL
|
||||
|
||||
|
||||
tape_normal_get_data_2:
|
||||
|
||||
Reference in new issue
Block a user