IBMPC::VDD_Video_CGA_6845 Class Reference

#include <video_cga.h>

Inheritance diagram for IBMPC::VDD_Video_CGA_6845:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Virtual Device driver to emulate CGA graphics adapter.

Definition at line 55 of file video_cga.h.

Public Member Functions

 VDD_Video_CGA_6845 ()
 ~VDD_Video_CGA_6845 ()
void show ()
void hide ()
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 uint8 port_read8 (unsigned int port_index)
 read 8-bit value from port
virtual void port_write8 (unsigned int port_index, uint8 value)
 write 8-bit value from port
virtual void irq_ack ()
 Called by IRQ manager when IRQ requested by this driver is accepted.
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_Video_CGA_6845::init (  )  [virtual]

Called when driver is inserted into the system.

Implements IBMPC::Device.

Definition at line 98 of file video_cga.cpp.

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

Called when driver is detached from the system.

Implements IBMPC::Device.

Definition at line 122 of file video_cga.cpp.

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

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

Implements IBMPC::Device.

Definition at line 132 of file video_cga.cpp.

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

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

Implements IBMPC::Device.

Definition at line 142 of file video_cga.cpp.

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

read 8-bit value from port

Implements IBMPC::Device.

Definition at line 159 of file video_cga.cpp.

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

write 8-bit value from port

Implements IBMPC::Device.

Definition at line 176 of file video_cga.cpp.

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

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

Implements IBMPC::Device.

Definition at line 211 of file video_cga.cpp.

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

Return reference to core.

Definition at line 433 of file ibmpc.h.

Referenced by done(), IBMPC::VDD_SYS_PPI_8255A::done(), IBMPC::VDD_Floppy::done(), IBMPC::VDD_DMA::done(), init(), IBMPC::VDD_SYS_PPI_8255A::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(), IBMPC::VDD_SYS_PPI_8255A::VDD_SYS_PPI_8255A(), and 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:56 2006 for Openem APIs by  doxygen 1.4.7