further improved turbo tape calibration sequence

This commit is contained in:
FeralChild64 committed 2020-01-14 19:17:49 +01:00
1 parent 8e162a3161
commit a7845ac4c6
2 files changed
+33 -11

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
//
// Tape (turbo) helper routine - syynchronize to first byte with value $02
//
#if CONFIG_TAPE_TURBO
tape_turbo_sync_first:
jsr tape_turbo_get_bit
rol INBIT
lda INBIT
cmp #$02
bne tape_turbo_sync_first
rts
#endif
#endif // ROM layout