mirror of
https://github.com/livingcomputermuseum/ContrAlto.git
synced 2026-05-01 05:49:42 +00:00
Initial rough implementation of Display hardware and associated tasks. Not really working.
This commit is contained in:
@@ -71,9 +71,9 @@ namespace Contralto.CPU
|
||||
public bool ExecuteNext()
|
||||
{
|
||||
// TODO: cache microinstructions (or pre-decode them) to save consing all these up every time.
|
||||
MicroInstruction instruction = new MicroInstruction(UCodeMemory.UCodeROM[_mpc]);
|
||||
MicroInstruction instruction = UCodeMemory.DecodeCache[_mpc];
|
||||
|
||||
// Grab BLOCK bit so that other tasks can look at it
|
||||
// Grab BLOCK bit so that other tasks / hardware can look at it
|
||||
_block = instruction.F1 == SpecialFunction1.Block;
|
||||
|
||||
//Console.WriteLine("R5:{0},R6:{1},IR:{2} - {3}:{4}", OctalHelpers.ToOctal(_cpu._r[5]), OctalHelpers.ToOctal(_cpu._r[6]), OctalHelpers.ToOctal(_cpu._ir), OctalHelpers.ToOctal(_mpc), UCodeDisassembler.DisassembleInstruction(instruction, _taskType));
|
||||
|
||||
Reference in New Issue
Block a user