39 enum RamSize :
tUWORD {ram64=64, ram128=128, ram256=256, ram512=512};
105 #endif // CPC_MEMMAN_H void initBanking()
Definition: memman.cpp:138
void memoryManager()
Definition: memman.cpp:197
bool openCpcRom(const tSTRING &filename)
tUBYTE * mLowerRom
Definition: memman.h:73
Error
Definition: memman.h:41
void toggleUpperRom()
Definition: memman.h:79
std::string tSTRING
Definition: types.h:31
tUBYTE romConfig() const
Definition: gatearray.h:45
Namespace for all CPC components.
Definition: colours.cpp:22
tUBYTE * memBankConfig(tUBYTE bank, tUBYTE seg)
Definition: memman.h:52
void setMembank_read(tUBYTE bank, tUBYTE *ptr)
Definition: z80.h:211
tUBYTE * mUpperRom
Definition: memman.h:72
void toggleLowerRom()
Definition: memman.h:95
tUBYTE * mRom[256]
Definition: memman.h:68
int mRamSize
Definition: memman.h:75
MemMan(Z80 *z80=nullptr, GateArray *gatearray=nullptr, const tSTRING &cpcrom="", const tSTRING &amsdos="")
tUBYTE * upperRom()
Definition: memman.h:55
tUBYTE mCpcRom[2 *16384]
Definition: memman.h:69
tUBYTE * base()
Definition: memman.h:58
bool openRom(int idx, const tSTRING &filename)
GateArray * mGateArray
Definition: memman.h:64
tUBYTE * lowerRom()
Definition: memman.h:56
Z80 * mZ80
Definition: memman.h:65
#define ROLAND_DEFAULT
Definition: compspec.h:46
uint8_t tUBYTE
Definition: types.h:74
tUBYTE * mMemBankConfig[8][4]
Definition: memman.h:70
int init(tUWORD ramsize=128, const tSTRING &cpcrom="", const tSTRING &amsdos="")
Definition: gatearray.h:31
uint16_t tUWORD
Definition: types.h:80
tUBYTE * mRam
Definition: memman.h:67
tUBYTE upperRom() const
Definition: gatearray.h:48
tUBYTE * rom(int bank)
Definition: memman.h:53