Interrupts added at 50fps. Dummy keyboard. Ready for graphics!

This commit is contained in:
2026-04-16 13:09:27 +01:00
parent 960f2b85cc
commit 92625498bf
4 changed files with 123 additions and 12 deletions

View File

@@ -31,6 +31,16 @@ namespace Core.Memory
_memory[address] = value;
}
//Put some initial random data into RAM for authenticity
public void CrapRAMData()
{
Random random = new Random();
for (int i = 0x4000; i < 0x5AFF; i++)
{
_memory[i] = (byte)random.Next(0x00, 0xFF);
}
}
// Load the ROM file
public void LoadRom(byte[] romData)
{