GameBoi
|
Represents GameBoy's Memory Management Unit. More...
Public Member Functions | |
int | read (int address) |
void | write (int address, int data) |
Writes data to memory at address. | |
void | load (Cartridge cartridge) |
loads program into memory | |
void | setCurrLineNum (int lineNum) |
Any writes to CURR_LINE_NUM_ADDRESS reset the curr line to 0, this is a way for the emulator to set the curr line. | |
void | setDividerRegisterValue (int val) |
Any writes to DIVIDER_REGISTER_ADDRESS reset its value to 0, this is a way for the emulator to set the curr line. | |
Represents GameBoy's Memory Management Unit.
int mmu.MMU.read | ( | int | address | ) |
Implemented in mmu.MMUImpl, cpu.BlarggsTestMMU, and mmu.MockMMU.