1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-04-25 03:35:33 +00:00

Implemented more Disk functionality, fixed bug in ACSOURCE dispatch in Emulator task.

This commit is contained in:
Josh Dersch
2015-09-16 16:27:16 -07:00
parent 08d6063def
commit ee7c7fb035
14 changed files with 387 additions and 89 deletions

View File

@@ -13,7 +13,7 @@ namespace Contralto.Memory
Store
}
public class MemoryBus
public class MemoryBus : IClockable
{
public MemoryBus()
{
@@ -243,11 +243,13 @@ namespace Contralto.Memory
else
{
throw new NotImplementedException(String.Format("Read from unimplemented memory-mapped I/O device at {0}.", OctalHelpers.ToOctal(address)));
//Console.WriteLine("Read from unimplemented memory-mapped I/O device at {0}.", OctalHelpers.ToOctal(address));
return 0;
}
}
/// <summary>
/// Dispatches writes to memory mapped hardware (RAM, I/O
/// Dispatches writes to memory mapped hardware (RAM, I/O)
/// </summary>
/// <param name="address"></param>
/// <param name="data"></param>
@@ -262,7 +264,8 @@ namespace Contralto.Memory
}
else
{
throw new NotImplementedException(String.Format("Write to unimplemented memory-mapped I/O device at {0}.", OctalHelpers.ToOctal(address)));
throw new NotImplementedException(String.Format("Write to unimplemented memory-mapped I/O device at {0}.", OctalHelpers.ToOctal(address)));
//Console.WriteLine("Write to unimplemented memory-mapped I/O device at {0}.", OctalHelpers.ToOctal(address));
}
}