Open dcoshea opened 7 years ago
it should indeed not be triggered with normal DOS.
Now, I might as well check if freedos and PCMOS still works OK. Afaik this could be an alternative. If yes, I would suggest to make a buildenv.md that describes the "supported" environment .. elkse we could end up in having too many ways to build.
This is a limitation of DOSBox, but their focus is games. For that reason, I don't think PC-MOS should be responsible for coping with a DOSBox limitation. If there is no objection, I will close this in a few days.
I use DosBox as my main development platform and work around these types of issues. Well, honestly, I don't use MAKEMOS.BAT because it doesn't do a complete build as I have mentioned elsewhere. My attempts to use the lowest common denominator in batch scripts should resolve this going forward.
See ulib/TESTCOMP.BAT. If something doesn't work because of a DosBox limitation, I call it out in the script to let the user know and how they can work around it. Of course, I can't code to everybody's favorite dev/test environment since I don't know what everybody else uses, so there is some generic helpful text output if it fails.
I don't like closing unresolved issues though, so if someone wants to patch MAKEMOS.BAT, this can be properly closed.
Since you object, I will leave it alone. I didn't know we have a DOSBox user. You should help your fellow DOSBoxers out!
MAKEMOS is not very interesting to me either. So far I've only used a modifed subset of it to build the kernel. I can't use BIN as provided because I already have a BIN directory, so I rename the project BIN to BINMOS.
Because of so many local environment differences, I don't think we should have a master build script. Instead, describe in Engilsh the required steps, and let people translate that to a batch file for their own local environment. Maybe offer a sample batch file to get them started, but without trying to fix it every time someone complains.
Too many words in the title, which are duplicated in the thread. Thus my edit to condense it. If someone is unhappy with the edit, here's the original, you can change it back:
MAKEMOS.BAT under DOSBox 0.74 reports "This is a simple version of the command, no wildcards allowed!"
SOURCES/src/MAKEMOS.BAT
includes the following code (as at 2d19bc1):When running under DOSBox 0.74, these lines result in the following errors being reported:
Obviously using real DOS to run the build should avoid these errors, although I haven't tried that yet.