IBMPC::VDD_SYS_PPI_8255A Class Reference

#include <sys_ppi_8255A.h>

Inheritance diagram for IBMPC::VDD_SYS_PPI_8255A:

Inheritance graph
[legend]
Collaboration diagram for IBMPC::VDD_SYS_PPI_8255A:

Collaboration graph
[legend]
List of all members.

Detailed Description

Virtual Device driver to emulate CGA graphics adapter.

Definition at line 13 of file sys_ppi_8255A.h.

Public Member Functions

 VDD_SYS_PPI_8255A ()
 ~VDD_SYS_PPI_8255A ()
virtual void init ()
 Called when driver is inserted into the system.
virtual void done ()
 Called when driver is detached from the system.
virtual uint8 mem_read8 (unsigned int addr)
 read 8-bit int at given 32-bit flat address
virtual void mem_write8 (unsigned int addr, uint8 value)
 write 8-bit int at given 32-bit flat address
virtual void irq_ack ()
 Called by IRQ manager when IRQ requested by this driver is accepted.
virtual void port_write8 (unsigned int port_index, uint8 value)
 write 8-bit value from port
virtual uint8 port_read8 (unsigned int port_index)
 read 8-bit value from port
Coreget_core ()
 Return reference to core.
void set_name (std::string name)
 Sets name for this virtual driver.
std::string Device::get_name ()
 Returns name of this virtual driver.


Member Function Documentation

void IBMPC::VDD_SYS_PPI_8255A::init (  )  [virtual]

Called when driver is inserted into the system.

Implements IBMPC::Device.

Definition at line 22 of file sys_ppi_8255A.cpp.

void IBMPC::VDD_SYS_PPI_8255A::done (  )  [virtual]

Called when driver is detached from the system.

Implements IBMPC::Device.

Definition at line 29 of file sys_ppi_8255A.cpp.

uint8 IBMPC::VDD_SYS_PPI_8255A::mem_read8 ( unsigned int  addr  )  [virtual]

read 8-bit int at given 32-bit flat address

Implements IBMPC::Device.

Definition at line 36 of file sys_ppi_8255A.cpp.

void IBMPC::VDD_SYS_PPI_8255A::mem_write8 ( unsigned int  addr,
uint8  value 
) [virtual]

write 8-bit int at given 32-bit flat address

Implements IBMPC::Device.

Definition at line 41 of file sys_ppi_8255A.cpp.

void IBMPC::VDD_SYS_PPI_8255A::irq_ack (  )  [virtual]

Called by IRQ manager when IRQ requested by this driver is accepted.

Implements IBMPC::Device.

Definition at line 80 of file sys_ppi_8255A.cpp.

void IBMPC::VDD_SYS_PPI_8255A::port_write8 ( unsigned int  port_index,
uint8  value 
) [virtual]

write 8-bit value from port

Implements IBMPC::Device.

Definition at line 46 of file sys_ppi_8255A.cpp.

uint8 IBMPC::VDD_SYS_PPI_8255A::port_read8 ( unsigned int  port_index  )  [virtual]

read 8-bit value from port

Implements IBMPC::Device.

Definition at line 61 of file sys_ppi_8255A.cpp.

Core* IBMPC::Device::get_core (  )  [inline, inherited]

Return reference to core.

Definition at line 433 of file ibmpc.h.

Referenced by IBMPC::VDD_Video_CGA_6845::done(), done(), IBMPC::VDD_Floppy::done(), IBMPC::VDD_DMA::done(), IBMPC::VDD_Video_CGA_6845::init(), init(), IBMPC::VDD_Floppy::init(), IBMPC::VDD_DMA::init(), IBMPC::VDD_Floppy::port_write8(), IBMPC::VDD_DMA::read_next_word(), and IBMPC::VDD_DMA::write_next_word().

void IBMPC::Device::set_name ( std::string  name  )  [inherited]

Sets name for this virtual driver.

Definition at line 270 of file ibmpc.cpp.

Referenced by IBMPC::VDD_DMA::VDD_DMA(), IBMPC::VDD_Floppy::VDD_Floppy(), VDD_SYS_PPI_8255A(), and IBMPC::VDD_Video_CGA_6845::VDD_Video_CGA_6845().

std::string IBMPC::Device::Device::get_name (  )  [inherited]

Returns name of this virtual driver.


The documentation for this class was generated from the following files:
Generated on Sat Sep 9 03:50:55 2006 for Openem APIs by  doxygen 1.4.7