VOGONS


First post, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I am continuing on with my ansi patch of dosbox. It can turn on ansi depending on your wish.
And I want to write a helper executable on z:? so that the user can turn it on and off at any times.
I wonder what is the correct way of writing such a utility, how to determine its size?
Do I mock instructions with those fake executables?
Thanks
Jack

Reply 1 of 4, by mr_bigmouth_502

User metadata
Rank Oldbie
Rank
Oldbie

You'd have to compile it into the source. I'm not sure how you'd do this, however. AFAIK, the "executables" on DosBox's Z: drive aren't actually MS-DOS executables, but rather they're just representations of DosBox's inbuilt functions.

Reply 2 of 4, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

yep, just check how we implement them.

(for example MEM is a nice one to start with)

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

Reply 3 of 4, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

Wild guess, So I write the dos program, compile it to exe, then paste the code byte into dosbox?