removed dangerous tape reading optimization
This commit is contained in:
1 parent
55399dab71
commit
74bdbd7930
1 file changed
+2
-9
@@ -12,10 +12,8 @@
|
|||||||
|
|
||||||
tape_normal_get_data_2:
|
tape_normal_get_data_2:
|
||||||
|
|
||||||
// First check if there is a need to read anything
|
// NOTE: Always read all the bytes fro second copy, to taht we stop
|
||||||
|
// at the moment when it is safe to start recording!
|
||||||
lda PTR1
|
|
||||||
beq tape_normal_get_data_2_log_checksum
|
|
||||||
|
|
||||||
// Read sync of the block
|
// Read sync of the block
|
||||||
|
|
||||||
@@ -28,11 +26,6 @@ tape_normal_get_data_2:
|
|||||||
|
|
||||||
tape_normal_get_data_2_loop:
|
tape_normal_get_data_2_loop:
|
||||||
|
|
||||||
// Check if there are missing bytes to read
|
|
||||||
lda PTR1
|
|
||||||
cmp PTR2
|
|
||||||
beq tape_normal_get_data_2_log_checksum // branch if no more errors to correct
|
|
||||||
|
|
||||||
// Read missing bytes
|
// Read missing bytes
|
||||||
|
|
||||||
jsr tape_normal_get_byte
|
jsr tape_normal_get_byte
|
||||||
|
|||||||
Reference in new issue
Block a user