added comments

This commit is contained in:
Robert 2021-07-12 05:26:38 +02:00
parent 54d6fc8c1e
commit ad4eafa882
9 changed files with 122 additions and 71 deletions

View file

@ -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);