1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-05-03 14:39:47 +00:00

Fixed S register addressing (many things now working!), tweaked display (mouse displays correctly in lowres mode). Added support for committing disk changes back to disk images (done automatically when switching disks or exiting). Repaired BravoX image.

This commit is contained in:
Josh Dersch
2015-12-22 15:45:56 -08:00
parent 3c8a64bac8
commit 0cce77c842
26 changed files with 471 additions and 149 deletions

View File

@@ -18,7 +18,8 @@ namespace Contralto
{
_system = system;
_execAbort = false;
_execAbort = false;
_userAbort = false;
}
@@ -29,7 +30,7 @@ namespace Contralto
public void StopExecution()
{
_execAbort = true;
_userAbort = true;
if (_execThread != null)
{
@@ -80,6 +81,7 @@ namespace Contralto
}
_execAbort = false;
_userAbort = false;
_execThread = new Thread(new System.Threading.ThreadStart(ExecuteProc));
_execThread.Start();
@@ -108,7 +110,7 @@ namespace Contralto
_execAbort = _stepCallback();
}
if (_execAbort)
if (_execAbort || _userAbort)
{
// Halt execution
break;
@@ -119,6 +121,7 @@ namespace Contralto
// Execution thread and state
private Thread _execThread;
private bool _execAbort;
private bool _userAbort;
private StepCallbackDelegate _stepCallback;
private ErrorCallbackDelegate _errorCallback;