is WAIT affected by Throttle ?

24 views
Skip to first unread message

Paulo Rebordão

unread,
Apr 7, 2026, 8:30:32 AMApr 7
to [PiDP-11]
Is the Wait statement in a BP2 program affected by the Throttle setting in Simh?
I suppose it is, but just confirming.

Johnny Billquist

unread,
Apr 7, 2026, 8:38:07 AMApr 7
to pid...@googlegroups.com
Not as such.

simh can suspend execution if a WAIT instruction is done by the PDP-11
in kernel mode, if you do *not* use throttling in simh.

A WAIT in BP2 in itself do not have anything to do with the WAIT
instruction, but if there are no programs wanting to run, then the
kernel will execute a WAIT instruction.

Johnny
> --
> You received this message because you are subscribed to the Google
> Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pidp-11+u...@googlegroups.com
> <mailto:pidp-11+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> pidp-11/2be00cb0-2581-4f42-b95b-4b3e25ccb718n%40googlegroups.com
> <https://groups.google.com/d/msgid/pidp-11/2be00cb0-2581-4f42-
> b95b-4b3e25ccb718n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Johnny Billquist

unread,
Apr 7, 2026, 8:41:40 AMApr 7
to pid...@googlegroups.com
Maybe to answer you in another way - the WAIT in BP2 is given a time to
wait, which is independent of the CPU speed. So in that sense even more
so, throttling should not have any impact.

Johnny

Paulo Rebordão

unread,
Apr 7, 2026, 1:02:36 PMApr 7
to [PiDP-11]
If I remove throttling on simh, Wait doesn't stop for the time intended, but Sleep still does it.

Johnny Billquist

unread,
Apr 7, 2026, 8:39:18 PMApr 7
to pid...@googlegroups.com
That's strange. Nothing special about the WAIT in BASIC. It just have a
timeout on the reading based on time. And time is measured independent
of any throttling.

Johnny
> <https://groups.google.com/d/msgid/>
> >> pidp-11/2be00cb0-2581-4f42-b95b-4b3e25ccb718n%40googlegroups.com
> <http://40googlegroups.com>
> >> <https://groups.google.com/d/msgid/pidp-11/2be00cb0-2581-4f42-
> <https://groups.google.com/d/msgid/pidp-11/2be00cb0-2581-4f42->
> >> b95b-4b3e25ccb718n%40googlegroups.com <http://40googlegroups.com>?
> >> utm_medium=email&utm_source=footer>.
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pidp-11+u...@googlegroups.com
> <mailto:pidp-11+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pidp-11/
> e16c7725-7279-4186-ba58-dae3935fc6dfn%40googlegroups.com <https://
> groups.google.com/d/msgid/pidp-11/e16c7725-7279-4186-ba58-
> dae3935fc6dfn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: b...@softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol

Reply all
Reply to author
Forward
0 new messages