added comments
This commit is contained in:
parent
54d6fc8c1e
commit
ad4eafa882
9 changed files with 122 additions and 71 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "util.hpp"
|
||||
|
||||
// The memory bank controller (MBC) needs to map addresses targeted at rom, to get the appropriate data from the ROM
|
||||
class IMBC
|
||||
{
|
||||
public:
|
||||
|
@ -11,7 +12,7 @@ public:
|
|||
|
||||
virtual ~IMBC() {}
|
||||
|
||||
virtual bool GetMappedRead(WORD address, DWORD& mappedAddr) = 0;
|
||||
virtual bool GetMappedRead(WORD address, DWORD& mappedAddr) = 0; // Convert CPU address to ROM internal address
|
||||
virtual bool GetMappedWrite(WORD address, BYTE val, DWORD& mappedAddr) = 0;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue