* Answers to prior PDP-1 questions
@ 1997-01-05 5:00 Bob Supnik
0 siblings, 0 replies; only message in thread
From: Bob Supnik @ 1997-01-05 5:00 UTC (permalink / raw)
My thanks to all the people who replied. For the curious:
1. PDP-1 shifts were arithmetic. The sign bit was unchanged. Left shifts
filled from the sign. Right shifts propagated the sign.
2. The sequence break system was based on three flops: b2 (sequence break
request and a synchronizer b3), b4 (sequence break in progress), and sequence
break enabled. All devices requested a break by setting b2. If breaks were
enabled, the CPU set flop b4, disabling further breaks, and cleared b2,
clearing the current request. To find debreak, the CPU monitored the
instruction register for the instruction JMP I 1 with breaks enabled. At that
point, b4 was cleared, re-enabling the break system.
3. I/O halt was based on these flops: ioh (halt), ioc (command), iohs (ioh
storage), and ios (start). If an IOT was issued with bit <5> set, ioh would be
set. At the end of the IOT, if ioh was set, ioc (execute command) was cleared,
the PC was decremented, and thus the IOT re-executed. Because ioc was cleared,
the re-executed IOT was a NOP.
When a device restart pulse came in, ios was set. If an IOT with bit<5> set
was executed and ios was set, at the end of the IOT, ioh was cleared, and ioc
was set. Because ioh was clear, the PC was not decremented, and the CPU exited
the wait loop.
If an IOT with bit<5> clear was executed, and ioh was set, then this would have
to be an IOT in an interrupt routine. To prevent the system from hanging, ioh
was stored in iohs, ioh was set, and ioc cleared, thus allowed the interrupt
level IOT to execute. At the end of the IOT, ioh was restored from iohs.
Since ioh is set, ioc is cleared, but the PC is not backed up.
If this sounds complicated, it is!
4. Bits <5> and <6> of an IOT were not independent. The combinations were:
00 = asynchronous, no completion signal
01 = asynchronous wait, generate completion signal
10 = synchronous wait, enter I/O wait immediately
11 = unused, enter I/O wait, do not generate completion signal
Combination 11 could hang the machine, unless another I/O device programmed to
generate a completion signal was in operation.
---
A few minor questions remain:
1. cks instruction: was there a status bit for the sequence break system? A
late handbook says status<6> was sequence break, the maintenance manual is
silent.
2. cks instruction: which bits were used for print done and space done?
3. sequence breaks: was flop b2 (break request) conditioned by the break
enable? That is, did sequence breaks "accumulate" when the break system was
disabled?
/Bob Supnik
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-01-05 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-05 5:00 Answers to prior PDP-1 questions Bob Supnik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox