openMSX
Namespaces | Variables
CasImage.cc File Reference
#include "CasImage.hh"
#include "File.hh"
#include "FilePool.hh"
#include "Filename.hh"
#include "CliComm.hh"
#include "Clock.hh"
#include "MSXException.hh"
#include "stl.hh"
#include "xrange.hh"
#include <cstring>
Include dependency graph for CasImage.cc:

Go to the source code of this file.

Namespaces

 openmsx
 Thanks to enen for testing this on a real cartridge:
 

Variables

constexpr unsigned openmsx::BAUDRATE = 3744
 
constexpr unsigned openmsx::OUTPUT_FREQUENCY = 4 * BAUDRATE
 
constexpr unsigned openmsx::AUDIO_OVERSAMPLE = 4
 
constexpr unsigned openmsx::SHORT_SILENCE = OUTPUT_FREQUENCY * 1
 
constexpr unsigned openmsx::LONG_SILENCE = OUTPUT_FREQUENCY * 2
 
constexpr unsigned openmsx::LONG_HEADER = 16000 / 2
 
constexpr unsigned openmsx::SHORT_HEADER = 4000 / 2
 
constexpr byte openmsx::CAS_HEADER [8] = { 0x1F,0xA6,0xDE,0xBA,0xCC,0x13,0x7D,0x74 }
 
constexpr byte openmsx::ASCII_HEADER [10] = { 0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA }
 
constexpr byte openmsx::BINARY_HEADER [10] = { 0xD0,0xD0,0xD0,0xD0,0xD0,0xD0,0xD0,0xD0,0xD0,0xD0 }
 
constexpr byte openmsx::BASIC_HEADER [10] = { 0xD3,0xD3,0xD3,0xD3,0xD3,0xD3,0xD3,0xD3,0xD3,0xD3 }