Changeset d4c7cf0 in thomson


Ignore:
Timestamp:
Mar 15, 2015, 7:19:10 AM (9 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
6a5131e
Parents:
d8aca9f
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.

git-svn-id: svn://localhost/thomson@61 85ae3b6b-dc8f-4344-a89d-598714f2e4e5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/k5towav/k5towav.c

    rd8aca9f rd4c7cf0  
    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.