VOGONS


First post, by victornement

User metadata
Rank Newbie
Rank
Newbie

Hello,

For a computer science project, I need to modify dosbox so that it sends its video output and receive its keyboard input over the network.
I have no prior experience in developing in dosbox's code.

Could someone give me some indication on how this could be done?
Is there some resource indicating how the code is organized regarding this?

Thanks

Reply 1 of 5, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Do you have to modify the code? Because that's already possible by running a Linux build directed to a remote X server.

Reply 2 of 5, by victornement

User metadata
Rank Newbie
Rank
Newbie

It would be a computer program which would communicate with dosbox, not an human.
And it would be cleaner if dosbox and this program communicate directly, not via of X11.

Reply 3 of 5, by Ringding

User metadata
Rank Member
Rank
Member

I had the same idea years ago, but never got around to actually implementing something. I’d like to be able to play Micro Machines 2 over the network.

Reply 4 of 5, by victornement

User metadata
Rank Newbie
Rank
Newbie

Now that I think of it, a better solution would be to modify SDL itself, not dosbox.

Reply 5 of 5, by victornement

User metadata
Rank Newbie
Rank
Newbie

I have taken a copy of SDL, removed all drivers but the dummy ones, modified it so that it can receive image or send keystrokes programmatically and made dosbox load this library instead of the original SDL. It works.