So I'm working on implementing support for GameLink, which is an underdocumented protocol for talking to DOSBox, to let you grab frames and memory and submit input and such.
So I'm gonna write out some of how it works just so I'll (hopefully) understand it