Logo Search packages:      
Sourcecode: c2n version File versions  Download package

static void encBlock ( const char *  buf,
unsigned  size,
unsigned  plus4 
) [static]

Encode both copies of a data block

Parameters:
buf the data buffer
size length of the data in bytes
plus4 flag: encode in Commodore 264 series format

Definition at line 185 of file encode.c.

References encode264Block(), and encodeBlock().

Referenced by enc(), and encode_oric().

{
  if (plus4)
    encode264Block (buf, size);
  else
    encodeBlock (buf, size);
}


Generated by  Doxygen 1.6.0   Back to index