VOGONS


First post, by bibi.happy

User metadata
Rank Newbie
Rank
Newbie

Hi,
i 'm not a developper, but i want add FOR IN DO command in DOSBOX 0.62
I found cpp source code dor FOR IN DO (freecom source) command but i cannot insert it in source code of dosbox 0.62
Can you help me ??

Thx
Bibi

Reply 1 of 2, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

bibi, it's great that you want to help out, but may I suggest that you start with something more simple than adding support for FOR-IN-DO?

E.g. start by changing the COPY command to KOPI. It is a fairly simple change to the code, but you will learn A LOT about how to develop for DOSBox in the process. Next see if you can create say ... ERASE, as an alias for DELETE. Again, fairly simple, but you will learn a lot in the process. Once you have mastered this, you are ready to tackle the larger task of adding FOR-IN-DO.

Also, here are some pointers to get you started:

http://dosbox.sourceforge.net/wiki/index.php? … =BuildingDOSBox

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

you need to look at the files in dosbox/src/shell/

But please don't simply post the code of another program there. Dosbox has it's own dos and you have to code to its standards.

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