Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

REU Class Reference

#include <REU.h>

Collaboration diagram for REU:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 REU (MOS6510 *CPU)
 ~REU ()
void NewPrefs (Prefs *prefs)
void Reset (void)
uint8 ReadRegister (uint16 adr)
void WriteRegister (uint16 adr, uint8 byte)
void FF00Trigger (void)

Private Member Functions

void open_close_reu (int old_size, int new_size)
void execute_dma (void)

Private Attributes

MOS6510the_cpu
uint8ex_ram
uint32 ram_size
uint32 ram_mask
uint8 regs [16]

Constructor & Destructor Documentation

REU::REU MOS6510 CPU  ) 
 

Definition at line 27 of file REU.cpp.

References __CHECK_NULL, CTOR, ex_ram, open_close_reu(), ram_mask, ram_size, regs, and REU_NONE.

REU::~REU  ) 
 

Definition at line 55 of file REU.cpp.

References DTOR, open_close_reu(), and REU_NONE.


Member Function Documentation

void REU::execute_dma void   )  [private]
 

Definition at line 212 of file REU.cpp.

References ex_ram, ram_mask, regs, MOS6510::REUReadByte(), MOS6510::REUWriteByte(), the_cpu, uint16, uint32, and uint8.

Referenced by FF00Trigger(), and WriteRegister().

void REU::FF00Trigger void   ) 
 

Definition at line 198 of file REU.cpp.

References ex_ram, execute_dma(), and regs.

Referenced by MOS6510::write_byte_io().

void REU::NewPrefs Prefs prefs  ) 
 

Definition at line 69 of file REU.cpp.

References open_close_reu(), and REU_NONE.

Referenced by C64::NewPrefs().

void REU::open_close_reu int  old_size,
int  new_size
[private]
 

Definition at line 80 of file REU.cpp.

References ex_ram, ram_mask, ram_size, regs, REU_128K, REU_256K, REU_512K, REU_NONE, and uint8.

Referenced by NewPrefs(), REU(), and ~REU().

uint8 REU::ReadRegister uint16  adr  ) 
 

Definition at line 142 of file REU.cpp.

References ex_ram, rand, regs, and uint8.

Referenced by MOS6510::read_byte_io().

void REU::Reset void   ) 
 

Definition at line 120 of file REU.cpp.

References ELOG1, ram_size, and regs.

void REU::WriteRegister uint16  adr,
uint8  byte
 

Definition at line 169 of file REU.cpp.

References ex_ram, execute_dma(), and regs.

Referenced by MOS6510::write_byte_io().


Member Data Documentation

uint8* REU::ex_ram [private]
 

Definition at line 31 of file REU.h.

Referenced by execute_dma(), FF00Trigger(), open_close_reu(), ReadRegister(), REU(), and WriteRegister().

uint32 REU::ram_mask [private]
 

Definition at line 34 of file REU.h.

Referenced by execute_dma(), open_close_reu(), and REU().

uint32 REU::ram_size [private]
 

Definition at line 33 of file REU.h.

Referenced by open_close_reu(), Reset(), and REU().

uint8 REU::regs[16] [private]
 

Definition at line 36 of file REU.h.

Referenced by execute_dma(), FF00Trigger(), open_close_reu(), ReadRegister(), Reset(), REU(), and WriteRegister().

MOS6510* REU::the_cpu [private]
 

Definition at line 29 of file REU.h.

Referenced by execute_dma().


The documentation for this class was generated from the following files:
Generated on Tue Feb 8 04:12:41 2005 for E32frodo by doxygen 1.3.3