openMSX
Namespaces | Functions | Variables
WD2793.cc File Reference
#include "WD2793.hh"
#include "DiskDrive.hh"
#include "CliComm.hh"
#include "Clock.hh"
#include "MSXException.hh"
#include "serialize.hh"
#include "unreachable.hh"
#include <iostream>
Include dependency graph for WD2793.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 (WD2793::FSMState, fsmStateInfo)
 

Variables

constexpr int openmsx::BUSY = 0x01
 
constexpr int openmsx::INDEX = 0x02
 
constexpr int openmsx::S_DRQ = 0x02
 
constexpr int openmsx::TRACK00 = 0x04
 
constexpr int openmsx::LOST_DATA = 0x04
 
constexpr int openmsx::CRC_ERROR = 0x08
 
constexpr int openmsx::SEEK_ERROR = 0x10
 
constexpr int openmsx::RECORD_NOT_FOUND = 0x10
 
constexpr int openmsx::HEAD_LOADED = 0x20
 
constexpr int openmsx::RECORD_TYPE = 0x20
 
constexpr int openmsx::WRITE_PROTECTED = 0x40
 
constexpr int openmsx::NOT_READY = 0x80
 
constexpr int openmsx::STEP_SPEED = 0x03
 
constexpr int openmsx::E_FLAG = 0x04
 
constexpr int openmsx::T_FLAG = 0x10
 
constexpr int openmsx::M_FLAG = 0x10
 
constexpr int openmsx::A0_FLAG = 0x01
 
constexpr int openmsx::N2R_IRQ = 0x01
 
constexpr int openmsx::R2N_IRQ = 0x02
 
constexpr int openmsx::IDX_IRQ = 0x04
 
constexpr int openmsx::IMM_IRQ = 0x08
 
constexpr auto openmsx::IDLE = EmuDuration::sec(3)
 
 openmsx::WD2793