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:
parent
88d5572aa3
commit
ab41fdef3c
7 changed files with 73 additions and 52 deletions
|
|
@ -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)
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue