More robust handling of PDP-10 memory errors (so that when a file is assembled and loaded into non-existent memory, an error is generated); bumped the PDP-10 test machine to 32K words

This commit is contained in:
Jeff 2017-03-30 09:57:53 -07:00 committed by Jeff Parsons
commit ab41fdef3c
7 changed files with 73 additions and 52 deletions

View file

@ -832,6 +832,20 @@ class CPUStatePDP10 extends CPUPDP10 {
return data;
}
/**
* haltCPU()
*
* This is a temporary helper function for the Bus component, to force the CPU to stop executing the
* current instruction.
*
* @this {CPUStatePDP10}
*/
haltCPU()
{
this.stopCPU();
throw -1;
}
/**
* stepCPU(nMinCycles)
*