removed some debug code, left behind by mistake
This commit is contained in:
1 parent
35d360c24b
commit
854f03ef84
3 files changed
+1
-42
No files matched your search
@@ -17,8 +17,7 @@
|
|||||||
tape_common_autodetect:
|
tape_common_autodetect:
|
||||||
|
|
||||||
// Set screen color to something neutral, silence the audio
|
// Set screen color to something neutral, silence the audio
|
||||||
|
lda #$0B
|
||||||
lda #$0C
|
|
||||||
sta VIC_EXTCOL
|
sta VIC_EXTCOL
|
||||||
lda #$00
|
lda #$00
|
||||||
sta SID_SIGVOL
|
sta SID_SIGVOL
|
||||||
|
|||||||
@@ -58,19 +58,3 @@ tape_common_prepare_cia:
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
xxx_measure:
|
|
||||||
clc
|
|
||||||
adc $C001
|
|
||||||
sta $C001
|
|
||||||
bcc !+
|
|
||||||
inc $C000
|
|
||||||
!:
|
|
||||||
inc $C002
|
|
||||||
beq !+
|
|
||||||
rts
|
|
||||||
!:
|
|
||||||
lda $C000
|
|
||||||
.break // .A contains our average
|
|
||||||
rts
|
|
||||||
@@ -31,29 +31,5 @@ tape_turbo_get_bit:
|
|||||||
|
|
||||||
#endif
|
#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
|
#endif // CONFIG_TAPE_TURBO
|
||||||
Reference in new issue
Block a user