openMSX
Namespaces | Functions | Variables
SdCard.cc File Reference
#include "SdCard.hh"
#include "DeviceConfig.hh"
#include "HD.hh"
#include "MSXException.hh"
#include "unreachable.hh"
#include "endian.hh"
#include "serialize.hh"
#include "serialize_stl.hh"
#include <memory>
Include dependency graph for SdCard.cc:

Go to the source code of this file.

Namespaces

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

Functions

 openmsx::SERIALIZE_ENUM (SdCard::Mode, modeInfo)
 

Variables

constexpr byte openmsx::DRT_ACCEPTED = 0x05
 
constexpr byte openmsx::DRT_WRITE_ERROR = 0x0D
 
constexpr byte openmsx::START_BLOCK_TOKEN = 0xFE
 
constexpr byte openmsx::START_BLOCK_TOKEN_MBW = 0xFC
 
constexpr byte openmsx::STOP_TRAN_TOKEN = 0xFD
 
constexpr byte openmsx::DATA_ERROR_TOKEN_ERROR = 0x01
 
constexpr byte openmsx::DATA_ERROR_TOKEN_OUT_OF_RANGE = 0x08
 
constexpr byte openmsx::R1_BUSY = 0x00
 
constexpr byte openmsx::R1_IDLE = 0x01
 
constexpr byte openmsx::R1_ILLEGAL_COMMAND = 0x04
 
constexpr byte openmsx::R1_PARAMETER_ERROR = 0x80
 
 openmsx::SdCard