1
0
mirror of https://github.com/aap/pdp6.git synced 2026-02-08 01:11:56 +00:00

verilog: passing diag part 3

This commit is contained in:
aap
2019-10-29 14:13:52 +01:00
parent b96e2d468d
commit a8b07f4340
7 changed files with 68 additions and 40 deletions

View File

@@ -431,6 +431,7 @@ X typestr("<SETPC>\r\n");
cpu_stopinst();
X run = 0;
// TODO: maybe INSTSTOP?
keydown(MM6_MEMSTOP);
keyup(MM6_ADRSTOP);
set_ta(a);
@@ -495,6 +496,7 @@ X typestr("<CONT>\r\n");
// on stop the machine should halt after one instruction
// so restart
// BUG: if next instruction is HALT we'll continue past it
if(stop){
waithalt();
togglecont();