openMSX
Variables
openmsx::MSX_CAS Namespace Reference

Variables

constexpr unsigned BAUDRATE = 3744
 
constexpr unsigned OUTPUT_FREQUENCY = 4 * BAUDRATE
 
constexpr unsigned SHORT_SILENCE = OUTPUT_FREQUENCY * 1
 
constexpr unsigned LONG_SILENCE = OUTPUT_FREQUENCY * 2
 
constexpr unsigned LONG_HEADER = 16000 / 2
 
constexpr unsigned SHORT_HEADER = 4000 / 2
 
constexpr std::array< uint8_t, 8 > CAS_HEADER = { 0x1F,0xA6,0xDE,0xBA,0xCC,0x13,0x7D,0x74 }
 

Variable Documentation

◆ BAUDRATE

constexpr unsigned openmsx::MSX_CAS::BAUDRATE = 3744
constexpr

Definition at line 58 of file CasImage.cc.

◆ CAS_HEADER

constexpr std::array<uint8_t, 8> openmsx::MSX_CAS::CAS_HEADER = { 0x1F,0xA6,0xDE,0xBA,0xCC,0x13,0x7D,0x74 }
constexpr

Definition at line 70 of file CasImage.cc.

◆ LONG_HEADER

constexpr unsigned openmsx::MSX_CAS::LONG_HEADER = 16000 / 2
constexpr

Definition at line 66 of file CasImage.cc.

◆ LONG_SILENCE

constexpr unsigned openmsx::MSX_CAS::LONG_SILENCE = OUTPUT_FREQUENCY * 2
constexpr

Definition at line 63 of file CasImage.cc.

◆ OUTPUT_FREQUENCY

constexpr unsigned openmsx::MSX_CAS::OUTPUT_FREQUENCY = 4 * BAUDRATE
constexpr

Definition at line 59 of file CasImage.cc.

◆ SHORT_HEADER

constexpr unsigned openmsx::MSX_CAS::SHORT_HEADER = 4000 / 2
constexpr

Definition at line 67 of file CasImage.cc.

◆ SHORT_SILENCE

constexpr unsigned openmsx::MSX_CAS::SHORT_SILENCE = OUTPUT_FREQUENCY * 1
constexpr

Definition at line 62 of file CasImage.cc.