diff --git a/c64/kernal/tape/tape_common_autodetect.s b/c64/kernal/tape/tape_common_autodetect.s index 85a08757..08bc5862 100644 --- a/c64/kernal/tape/tape_common_autodetect.s +++ b/c64/kernal/tape/tape_common_autodetect.s @@ -17,8 +17,7 @@ tape_common_autodetect: // Set screen color to something neutral, silence the audio - - lda #$0C + lda #$0B sta VIC_EXTCOL lda #$00 sta SID_SIGVOL diff --git a/c64/kernal/tape/tape_common_prepare_cia.s b/c64/kernal/tape/tape_common_prepare_cia.s index fefffbba..0fda0555 100644 --- a/c64/kernal/tape/tape_common_prepare_cia.s +++ b/c64/kernal/tape/tape_common_prepare_cia.s @@ -58,19 +58,3 @@ tape_common_prepare_cia: rts #endif - - -xxx_measure: - clc - adc $C001 - sta $C001 - bcc !+ - inc $C000 - !: - inc $C002 - beq !+ - rts - !: - lda $C000 - .break // .A contains our average - rts diff --git a/c64/kernal/tape/tape_turbo_get_bit.s b/c64/kernal/tape/tape_turbo_get_bit.s index e636772a..b3a2fb4c 100644 --- a/c64/kernal/tape/tape_turbo_get_bit.s +++ b/c64/kernal/tape/tape_turbo_get_bit.s @@ -31,29 +31,5 @@ tape_turbo_get_bit: #endif - cmp SYNO // threshold - bcs !+ - - clc - ror - sta IRQTMP+0 // store half of the last measurement result for short pulse - - lda #$01 - sta SID_SIGVOL - lda #$06 - sta VIC_EXTCOL - sec - rts -!: - clc - ror - sta IRQTMP+1 // store half of the last measurement result for long pulse - - lda #$00 - sta SID_SIGVOL - sta VIC_EXTCOL - clc - rts - #endif // CONFIG_TAPE_TURBO