libsidplayfp 2.3.1
|
#include <mmu.h>
Public Member Functions | |
MMU (EventScheduler &eventScheduler, IOBank *ioBank) | |
void | reset () |
void | setKernal (const uint8_t *rom) override |
void | setBasic (const uint8_t *rom) override |
void | setChargen (const uint8_t *rom) override |
uint8_t | readMemByte (uint_least16_t addr) override |
uint_least16_t | readMemWord (uint_least16_t addr) override |
void | writeMemByte (uint_least16_t addr, uint8_t value) override |
void | writeMemWord (uint_least16_t addr, uint_least16_t value) override |
void | fillRam (uint_least16_t start, uint8_t value, unsigned int size) override |
void | fillRam (uint_least16_t start, const uint8_t *source, unsigned int size) override |
void | installResetHook (uint_least16_t addr) override |
void | installBasicTrap (uint_least16_t addr) override |
void | setBasicSubtune (uint8_t tune) override |
uint8_t | cpuRead (uint_least16_t addr) const |
void | cpuWrite (uint_least16_t addr, uint8_t data) |
virtual void | setCpuPort (uint8_t state)=0 |
virtual uint8_t | getLastReadByte () const =0 |
virtual event_clock_t | getPhi2Time () const =0 |
virtual uint8_t | readMemByte (uint_least16_t addr)=0 |
virtual uint_least16_t | readMemWord (uint_least16_t addr)=0 |
virtual void | writeMemByte (uint_least16_t addr, uint8_t value)=0 |
virtual void | writeMemWord (uint_least16_t addr, uint_least16_t value)=0 |
virtual void | fillRam (uint_least16_t start, uint8_t value, unsigned int size)=0 |
virtual void | fillRam (uint_least16_t start, const uint8_t *source, unsigned int size)=0 |
virtual void | installResetHook (uint_least16_t addr)=0 |
virtual void | installBasicTrap (uint_least16_t addr)=0 |
virtual void | setBasicSubtune (uint8_t tune)=0 |
virtual void | setKernal (const uint8_t *rom)=0 |
virtual void | setBasic (const uint8_t *rom)=0 |
virtual void | setChargen (const uint8_t *rom)=0 |
The C64 MMU chip.
|
inline |
Access memory as seen by CPU.
addr | the address where to read from |
|
inline |
Access memory as seen by CPU.
addr | the address where to write |
data | the value to write |
|
inlineoverridevirtual |
Copy a buffer into a ram area.
start | the start of memory location where to write |
source | the source buffer |
size | the number of bytes to copy |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
Fill ram area with a constant value.
start | the start of memory location where to write |
value | the value to write |
size | the number of bytes to fill |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
Set BASIC Warm Start address.
addr | the new addres to point to |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
Change the RESET vector.
addr | the new addres to point to |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
Read one byte from memory.
addr | the memory location from which to read from |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
Read two contiguous bytes from memory.
addr | the memory location from which to read from |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Write one byte to memory.
addr | the memory location where to write |
value | the value to write |
Implements libsidplayfp::sidmemory.
|
inlineoverridevirtual |
Write two contiguous bytes to memory.
addr | the memory location where to write |
value | the value to write |
Implements libsidplayfp::sidmemory.