Mac to C64 Nullmodem Cable Pinout - AllPinouts
From AllPinouts
serial interface cable The RS-232 on the C64 is a little bit strange. It uses inverted TTL level of signals. The RS-422 ports on the Macintosh has both an inverted and non-inverted input By using the inverted instead of non-inverted the inverted C64 level is back to normal

8 pin mini-DIN male connector to the Macintosh

24 pin DZM 12 DREH connector to the C64 UserPort
| Mac | C64 | ||
|---|---|---|---|
| GND+RXD- | 4+5 | 1+12+A+N | GND |
| RXD+ | 8 | M | TXD (PA2) |
| TXD+ | 6 | B+C | RXD (FLAG2+PB0) |
| D+E | RTS+DTR (PB1+PB2) |