VOGONS


First post, by fish

User metadata
Rank Newbie
Rank
Newbie

Hi, what part of the dosbox code is needed to create an additional "virtual program" like the COM files on z:\ to call external code of the emulator or any other program run by the host OS ?

Reply 1 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

look at dos_programs.cpp
if you want internal commands like dir look at shell_cmds.cpp

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 3, by fish

User metadata
Rank Newbie
Rank
Newbie

found & tested it, thank you. BTW is there a thread for bitching about typos in // or /* */ ?

Just wanna contribute some minor documentation if you want it. On the other hand maybe you don't want comments in the release sources.

Reply 3 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

feel free to correct typo's. there are considered non-essential so they will only be added if something else changes in the file as well.

Purely documentation... Dunno. try it. I'm the one handling patches so I would have to see it first. (a hint: don't overdo it. (the amount of documentation))

Water flows down the stream
How to ask questions the smart way!