Hi there,
I have some experience in Arcade Games and wide experience working in DOS, but I don't remember nothing. But if you assign this job 2 me I can google that, and copy some example from somewhere and do some refactoring in order to match your expectations.
Thanks