aap / pdp6

PDP-6 Emulator
MIT License
59 stars 9 forks source link

Need unistd.h header file #32

Open stevefalco opened 2 weeks ago

stevefalco commented 2 weeks ago

I am building on Fedora 40, and get compile errors from missing definitions.

Adding the unistd.h header file to emu/joy.c corrects this error.

larsbrinkhoff commented 2 weeks ago

@stevefalco, would you mind testing "newemu" as well and see whether it needs any updates for Fedora 40?

stevefalco commented 2 weeks ago

I tried building newemu and it had no compilation errors. But I'm not sure how to run it. If you have specific instructions as to how to test, I'll be happy to do that. It appears to need a directory "t" containing a bunch of files, as well as a few in /tmp.

Just running the executable, I get:

$ ./pdp6
can't open file <t/systemdis.dtr>
can't open file <t/its138.dtr>
can't open file <t/music.dtr>
couldn't open file t/ddt.d16k.oct
error: Connection refused
can't open display
can't open /tmp/tty
error: getaddrinfo: Invalid argument
stevefalco commented 2 weeks ago

I did manually start panel/panel6 then newemu/pdp6. It connected and I was able to turn on the power. I got some blinkenlights on the simulated panel.

larsbrinkhoff commented 2 weeks ago

Thanks! Just compiling it was the test I was after, so that's fine.