libsidplayfp
1.8.3
|
#include <ZeroRAMBank.h>
Public Member Functions | |
ZeroRAMBank (PLA *pla, SystemRAMBank *ramBank) | |
void | reset () |
uint8_t | peek (uint_least16_t address) |
void | poke (uint_least16_t address, uint8_t value) |
Area backed by RAM, including cpu port addresses 0 and 1.
This is bit of a fake. We know that the CPU port is an internal detail of the CPU, and therefore CPU should simply pay the price for reading/writing to 0/1.
However, that would slow down all accesses, which is suboptimal. Therefore we install this little hook to the 4k 0 region to deal with this.
Implementation based on VICE code.
|
inlinevirtual |
|
inlinevirtual |