I'm currently working on the NetBSD/mac68k kernel to migrate it from the old rcons framebuffer driver to a more modern one that supports colors, virtual terminals, custom fonts and all other assorted goodies that come with wscons. Unfortunately, I've found a very mysterious system hang-up with my code that I cannot easily debug from the machine itself because the console does not work at all. Hence, I needed to have a serial console for this machine, a Performa 630.

The problem is that old Macintoshes use a DIN-8 connector for their serial line, as opposed to the DE-9 (or DE-25) used in PCs. Fortunately it is possible to connect the two by properly wiring a conversion cable, and that's what I've done today. My first attempt failed because I built a DTE-DCE cable (used to connect to modems and other communications equipment), but in the end I got it, which resulted in a "null-modem" cable to connect the two machines.

Here is the scheme I used:

DIN-8 (DTE)DC-9 (DCE)DC-9 (DTE)
178
287
332
455
523
6N/CN/C
7N/CN/C
855

N/C stands for "Not connected". Use at your own risk.

Go to posts index

Comments from the original Blogger-hosted post: