lol are you serious....
i thought it would be the same as 0xFFF0...
anyway, can you help me with my other problem up there.
Its boggling my mind!
To make it simpler
Code:
bool CPU::LoadRom(char *sFileName)
{
ifstream Rom(sFileName);
if(!Rom.is_open())
return FALSE;
Rom.seekg(0, ios::end);
long size = Rom.tellg();
Rom.seekg(0, ios::beg);
Rom.read(Memory, size);
Rom.close();
return TRUE;
}
how can I make it start reading it in at 0x200 in the array?
EDIT:
Got It:
Code:
Rom.read(Memory + 0x200, size);
Also heres the updated source. It runs games but the graphics are a bit messed up, some games simply close the window, some crash and somelock up.
Now its just some debugging.