I'm putting this here as I don't if I'll ever find time to implement it.SPI is a rather simple bus. It only uses 4 pins, SCK, MISO, MOSI, CS. Long story short, joyport SEL and CLR can be used for SCK and MISO, any of the D0-D3 lines can be used for MOSI, and CS can be directly wired to GND. The code may look like this: