added comments
This commit is contained in:
parent
54d6fc8c1e
commit
ad4eafa882
9 changed files with 122 additions and 71 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
class Bus;
|
||||
|
||||
// bunch of registers or smthn
|
||||
typedef union
|
||||
{
|
||||
BYTE b;
|
||||
|
@ -81,14 +82,13 @@ typedef union
|
|||
} b;
|
||||
} OAMEntry;
|
||||
|
||||
// The screen. With emphasis on ree
|
||||
class LCD
|
||||
{
|
||||
public:
|
||||
void Setup();
|
||||
void Tick();
|
||||
|
||||
BYTE& GetReferenceToAddress(WORD addr, bool& handled);
|
||||
|
||||
bool Read(WORD addr, BYTE& val);
|
||||
bool Write(WORD addr, BYTE val);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue