Program runs normally.

Custom mode 2 interrupt handles swapping threads around.

Each thread will need to have a few things backed up - stack & registers.

Ignore shadow registers.

Therefore; we need to back up: PC, SP, AF, BC, DE, HL, IX, IY = 16 bytes (neat).

Give each thread an idle timer?