Changeset 61 in Thomson


Ignore:
Timestamp:
15/03/2015 07:19:10 (6 years ago)
Author:
pulkomandy
Message:

Increase the motor off gap and add another header marker.

  • Some games have a "DCMO6" marker, identify this one as well as the others
  • When using a line in to tape adapter, the motor off doesn't work, so include an extra delay between files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/k5towav/k5towav.c

    r60 r61  
    5757static void write_motoroff (FILE *file)
    5858{
    59     write_gap (WAVE_FORMAT_SAMPLESPERSEC/2, file);
     59    write_gap (WAVE_FORMAT_SAMPLESPERSEC*2, file);
    6060}
    6161
     
    226226    char dcmoto_mark1[] = "DCMOTO\1\1\1\1\1\1\1\1\1\1\x3c\x5a";
    227227    char dcmoto_mark2[] = "\xdc\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\x3c\x5a";
     228    char dcmoto_mark3[] = "DCMO6\1\1\1\1\1\1\1\1\1\1\1\x3c\x5a";
    228229    char basic_mark[]   = "\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\x3c\x5a";
    229230
     
    240241            if ((memcmp (dcmoto_mark1, stock, 18) == 0)
    241242             || (memcmp (dcmoto_mark2, stock, 18) == 0)
     243             || (memcmp (dcmoto_mark3, stock, 18) == 0)
    242244             || (memcmp (basic_mark, stock, 18) == 0))
    243245            {
Note: See TracChangeset for help on using the changeset viewer.