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

#include <PanasonicMemory.hh>

Inheritance diagram for openmsx::PanasonicMemory:
Inheritance graph
[legend]
Collaboration diagram for openmsx::PanasonicMemory:
Collaboration graph
[legend]

Public Member Functions

 PanasonicMemory (MSXMotherBoard &motherBoard)
 
 ~PanasonicMemory ()
 
void registerRam (Ram &ram)
 Pass reference of the actual Ram block for use in DRAM mode and RAM access via the ROM mapper. More...
 
const bytegetRomBlock (unsigned block)
 
const bytegetRomRange (unsigned first, unsigned last)
 
bytegetRamBlock (unsigned block)
 Note that this is always unchecked RAM! There is no UMR detection when accessing Ram in DRAM mode or via the ROM mapper! More...
 
unsigned getRamSize () const
 
void setDRAM (bool dram)
 
bool isWritable (unsigned address) const
 

Detailed Description

Definition at line 15 of file PanasonicMemory.hh.

Constructor & Destructor Documentation

openmsx::PanasonicMemory::PanasonicMemory ( MSXMotherBoard motherBoard)
explicit

Definition at line 27 of file PanasonicMemory.cc.

openmsx::PanasonicMemory::~PanasonicMemory ( )

Definition at line 35 of file PanasonicMemory.cc.

Member Function Documentation

byte * openmsx::PanasonicMemory::getRamBlock ( unsigned  block)

Note that this is always unchecked RAM! There is no UMR detection when accessing Ram in DRAM mode or via the ROM mapper!

Definition at line 89 of file PanasonicMemory.cc.

Referenced by openmsx::RomPanasonic::RomPanasonic().

unsigned openmsx::PanasonicMemory::getRamSize ( ) const
inline

Definition at line 33 of file PanasonicMemory.hh.

Referenced by openmsx::RomPanasonic::RomPanasonic().

const byte * openmsx::PanasonicMemory::getRomBlock ( unsigned  block)
const byte * openmsx::PanasonicMemory::getRomRange ( unsigned  first,
unsigned  last 
)

Definition at line 67 of file PanasonicMemory.cc.

bool openmsx::PanasonicMemory::isWritable ( unsigned  address) const
void openmsx::PanasonicMemory::registerRam ( Ram ram)

Pass reference of the actual Ram block for use in DRAM mode and RAM access via the ROM mapper.

Note that this is always unchecked Ram!

Definition at line 39 of file PanasonicMemory.cc.

References openmsx::Ram::getSize().

Referenced by openmsx::PanasonicRam::PanasonicRam().

void openmsx::PanasonicMemory::setDRAM ( bool  dram)

Definition at line 100 of file PanasonicMemory.cc.

References openmsx::MSXCPU::invalidateMemCache().


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