Am 19.12.2010 15:10, schrieb Fernan Bolando:
after some debugging, I finally know what is causing simh to become
non responsive.
the good news is simh25 can easily be compiled through plan9 ape
compatibility. The bad news is poll_kbd is blocking in plan9 so it
does not return untill you press crriage return. commenting out
poll_kbd allows the pdp11 to boot and show it's prompt but you will
not be able to send keyboard command. it also crashes a few seconds
after that so after fixing the nonblocking problem something might be
broken
so i need a plan9 version of poll_keyoard or get telnet approach working.
Plan 9 might use the common Unix method of non-blocking I/O, namely,
open /dev/tty (which is
usually connected to the keyboard) and use an ioctl to switch it to
nonblocking. Under Unix, this
is FIONBIO.
Holger
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh