Files
open-roms/c64/kernal/tape/tape_turbo_sync_first.s
T

25 lines
312 B
ArmAsm

#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