updated documentation, added synchronization and pilot support to tape load

This commit is contained in:
FeralChild64 committed 2019-12-19 17:12:44 +01:00
1 parent 8b0eff74a2
commit 58d5ba54c2
10 files changed
+108 -33

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
//
// Tape (turbo) helper routine - handling the pilot
//
#if CONFIG_TAPE_NORMAL
tape_normal_pilot:
// Injest the pilot - series of short pulses. According to http://sidpreservation.6581.org/tape-format/
// it consist of the foollowing number of pulses:
// - $6A00 for header
// - $1A00 for data and seq block header
// - $4F for repeated header/data
ldy #$05 // this should be enough
!:
jsr tape_normal_get_pulse
bcc tape_normal_pilot // not a pilot - try again
dey
bne !-
rts
#endif