Thanks for your suggestions - after digging into SDL it looks pretty darn easy to add your own primitive devices at the low level (in src/video/), so that seems like the way to go. Once SDL is working, plenty of kits run on top of it.