#include <sidmemory.h>
Public Member Functions | |
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 sidmemory::fillRam | ( | uint_least16_t | start, | |
const uint8_t * | source, | |||
unsigned int | size | |||
) | [pure virtual] |
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 |
Implemented in MMU.
virtual void sidmemory::fillRam | ( | uint_least16_t | start, | |
uint8_t | value, | |||
unsigned int | size | |||
) | [pure virtual] |
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 |
Implemented in MMU.
virtual void sidmemory::installBasicTrap | ( | uint_least16_t | addr | ) | [pure virtual] |
virtual void sidmemory::installResetHook | ( | uint_least16_t | addr | ) | [pure virtual] |
virtual uint8_t sidmemory::readMemByte | ( | uint_least16_t | addr | ) | [pure virtual] |
Read one byte from memory
addr | the memory location from which to read from |
Implemented in MMU.
virtual uint_least16_t sidmemory::readMemWord | ( | uint_least16_t | addr | ) | [pure virtual] |
Read two contiguous bytes from memory
addr | the memory location from which to read from |
Implemented in MMU.
virtual void sidmemory::setBasicSubtune | ( | uint8_t | tune | ) | [pure virtual] |
virtual void sidmemory::writeMemByte | ( | uint_least16_t | addr, | |
uint8_t | value | |||
) | [pure virtual] |
Write one byte to memory
addr | the memory location where to write | |
value | the value to write |
Implemented in MMU.
virtual void sidmemory::writeMemWord | ( | uint_least16_t | addr, | |
uint_least16_t | value | |||
) | [pure virtual] |
Write two contiguous bytes to memory
addr | the memory location where to write | |
value | the value to write |
Implemented in MMU.