1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-05-02 22:23:56 +00:00

Minor bugfixes, introduced a new timing infrastructure and moved DiskController over to it. Minor performance improvements; now running at 110% speed. Display timing is still too slow.

This commit is contained in:
Josh Dersch
2015-11-17 16:09:50 -08:00
parent 03661fc90b
commit cbcfd2b47e
33 changed files with 591 additions and 436 deletions

View File

@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contralto.CPU
{
@@ -131,7 +127,8 @@ namespace Contralto.CPU
if (_ramBank > 0)
{
throw new InvalidOperationException("RAM bank > 0, unexpected.");
//throw new InvalidOperationException("RAM bank > 0, unexpected.");
return 0xffff;
}
// pretend no ram for the moment
@@ -164,7 +161,8 @@ namespace Contralto.CPU
if (_ramBank > 0)
{
throw new InvalidOperationException("RAM bank > 0, unexpected.");
//throw new InvalidOperationException("RAM bank > 0, unexpected.");
return;
}
Logging.Log.Write(Logging.LogComponent.Microcode, "CRAM address for write: Bank {0}, addr {1}",