Interrupts added at 50fps. Dummy keyboard. Ready for graphics!
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user