openMSX
Public Types | Public Member Functions | List of all members
openmsx::RP5C01 Class Reference

#include <RP5C01.hh>

Public Types

enum  RTCMode { EMUTIME, REALTIME }
 

Public Member Functions

 RP5C01 (CommandController &commandController, SRAM &regs, EmuTime::param time, const std::string &name)
 
void reset (EmuTime::param time)
 
nibble readPort (nibble port, EmuTime::param time)
 
nibble peekPort (nibble port) const
 
void writePort (nibble port, nibble value, EmuTime::param time)
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Detailed Description

Definition at line 19 of file RP5C01.hh.

Member Enumeration Documentation

◆ RTCMode

Enumerator
EMUTIME 
REALTIME 

Definition at line 22 of file RP5C01.hh.

Constructor & Destructor Documentation

◆ RP5C01()

openmsx::RP5C01::RP5C01 ( CommandController commandController,
SRAM regs,
EmuTime::param  time,
const std::string &  name 
)

Definition at line 40 of file RP5C01.cc.

References EMUTIME, REALTIME, and reset().

Member Function Documentation

◆ peekPort()

nibble openmsx::RP5C01::peekPort ( nibble  port) const

Definition at line 82 of file RP5C01.cc.

Referenced by openmsx::MSXRTC::peekIO(), and readPort().

◆ readPort()

nibble openmsx::RP5C01::readPort ( nibble  port,
EmuTime::param  time 
)

Definition at line 65 of file RP5C01.cc.

References peekPort().

Referenced by openmsx::MSXRTC::readIO().

◆ reset()

void openmsx::RP5C01::reset ( EmuTime::param  time)

Definition at line 57 of file RP5C01.cc.

Referenced by openmsx::MSXRTC::reset(), and RP5C01().

◆ serialize()

template<typename Archive >
void openmsx::RP5C01::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 256 of file RP5C01.cc.

References openmsx::Date::days, and openmsx::Date::months.

◆ writePort()

void openmsx::RP5C01::writePort ( nibble  port,
nibble  value,
EmuTime::param  time 
)

Definition at line 99 of file RP5C01.cc.

References openmsx::Date::days, openmsx::Date::months, t, and openmsx::SRAM::write().

Referenced by openmsx::MSXRTC::writeIO().


The documentation for this class was generated from the following files: