PDP-10 / klh10

Community maintained version of Kenneth L. Harrenstien's PDP-10 emulator.
Other
59 stars 8 forks source link

Apple M1 #53

Open larsbrinkhoff opened 3 years ago

larsbrinkhoff commented 3 years ago

Has anyone tested KLH10 on an Apple M1 machine?

Rhialto commented 3 years ago

Not me, but if it is unixy enough it should just work.

gwright83 commented 1 year ago

I tried to build klh10 on a Macbook Pro running Monterey (12.6.1) with an M1 Max. The build seemed to succeed, but the emulator would not start properly. (I was building klh10 so that I could build ITS.)

I haven't had time to look into the issue, but I suspect that there are some alignment or endianness bugs to be stomped.

Rhialto commented 1 year ago

That is quite possible. But there are also still too many #ifs that are supposed to be operating system checks, that still should be replaced by checks in configure. I did the obvious ones, so the ones that remain may be slightly more tricky. It could be that one of those is going wrong without causing a build error.