I've been idly thinking about porting UNIX to the Color Computer 3 or Commodore 64.
-
RE: https://techhub.social/@theoasisbbs/116086098666934794
I've been idly thinking about porting UNIX to the Color Computer 3 or Commodore 64.
There's a lot of PDP-11 assembly in the early releases which would need to be ported to C, though several were later rewritten in C. The assembler was ported to C in V8 and with all the time I've spent reading all its versions, it wouldn't be difficult to adapt it for a different architecture. But all the peripherals would be different, so I'd need to write a bunch of drivers. UNIX V7 or later would probably be easiest, as it had been generalized for porting at that point.
-
RE: https://techhub.social/@theoasisbbs/116086098666934794
I've been idly thinking about porting UNIX to the Color Computer 3 or Commodore 64.
There's a lot of PDP-11 assembly in the early releases which would need to be ported to C, though several were later rewritten in C. The assembler was ported to C in V8 and with all the time I've spent reading all its versions, it wouldn't be difficult to adapt it for a different architecture. But all the peripherals would be different, so I'd need to write a bunch of drivers. UNIX V7 or later would probably be easiest, as it had been generalized for porting at that point.
@thalia The late Steve Hosgood built a (single-tasking) 6809-based 6th edition Unix "OMU" (One Man Unix), this might be interesting for the CoCo 3 port. OMU was later also ported to 68k-based systems.
Alan Cox put up a copy of the tarfiles on github:
GitHub - EtchedPixels/OMU: "One Man Unix", archive of the Unix clone written (before Linus !) by the late Dr Steve Hosgood, and extended by Terry Barnaby
"One Man Unix", archive of the Unix clone written (before Linus !) by the late Dr Steve Hosgood, and extended by Terry Barnaby - EtchedPixels/OMU
GitHub (github.com)
-
R relay@relay.infosec.exchange shared this topic