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. On Fri, Dec 17, 2010 at 1:23 AM, Jason Stevens <[email protected]> wrote: > lots of printf's in scp.c ought to help.... > > I wish I were more ... plan9 aware, but the curve was too steep for my mind. > > I'd look at the OS2 tags in SIMH though as it builds something pretty > bare, which I've used to build for things like Watcom C++'s quickwin > thing for Win32s ..... > > On Thu, Dec 16, 2010 at 12:15 PM, Fernan Bolando > <[email protected]> wrote: >> hi all >> >> i am trying to get simh running on plan9. so far after some minor >> changes, i was able to compile it. After i tried booting pdp11 with >> rtv53_rl disk it just sits there. I dont see any cpu loading so I am >> not sure if it's just so slow or it's actually running. I can >> interrupt the simulation and it will drop me back to simh prompt. >> >> This is an overview of what I had to do to make it compile. >> 1. commented out all the nice() calls. I didn't think this is critical >> to a get it running the first time. >> 2. commented out nanosleep() >> 3 commented out get_res call >> 4. I also had to had a bunch of fflush(stdio) in the console, because >> plan9 io is buffered so you will not see the out unless you do that >> everytime >> >> anybody have an idea how to debug this? >> >> regards >> fernan >> _______________________________________________ >> Simh mailing list >> [email protected] >> http://mailman.trailing-edge.com/mailman/listinfo/simh >> > _______________________________________________ Simh mailing list [email protected] http://mailman.trailing-edge.com/mailman/listinfo/simh
