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

#include <I8255.hh>

Public Member Functions

 I8255 (I8255Interface &interface, EmuTime::param time, StringSetting &invalidPpiModeSetting)
 
void reset (EmuTime::param time)
 
byte read (byte port, EmuTime::param time)
 
byte peek (byte port, EmuTime::param time) const
 
void write (byte port, byte value, EmuTime::param time)
 
byte getPortA () const
 
byte getPortB () const
 
byte getPortC () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Detailed Description

Definition at line 19 of file I8255.hh.

Constructor & Destructor Documentation

◆ I8255()

openmsx::I8255::I8255 ( I8255Interface interface,
EmuTime::param  time,
StringSetting invalidPpiModeSetting 
)

Definition at line 25 of file I8255.cc.

References reset().

Member Function Documentation

◆ getPortA()

byte openmsx::I8255::getPortA ( ) const

Definition at line 363 of file I8255.cc.

References openmsx::DIRECTION_A.

◆ getPortB()

byte openmsx::I8255::getPortB ( ) const

Definition at line 373 of file I8255.cc.

References openmsx::DIRECTION_B.

◆ getPortC()

byte openmsx::I8255::getPortC ( ) const

Definition at line 383 of file I8255.cc.

References openmsx::DIRECTION_C0, and openmsx::DIRECTION_C1.

◆ peek()

byte openmsx::I8255::peek ( byte  port,
EmuTime::param  time 
) const

◆ read()

byte openmsx::I8255::read ( byte  port,
EmuTime::param  time 
)

◆ reset()

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

◆ serialize()

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

Definition at line 398 of file I8255.cc.

◆ write()

void openmsx::I8255::write ( byte  port,
byte  value,
EmuTime::param  time 
)

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