Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Building MS-DOS 2.00's DEBUG (version 2.30) (Announce)

posted by cm(R) Homepage E-mail, Düsseldorf, Germany, 01.10.2018, 17:52

As I specified in https://github.com/stsp/dosemu2/issues/680 I went and tried building the MS-DOS 2.00 source's DEBUG. (MS-DOS 2.00 was recently released under the MIT license, see https://blogs.msdn.microsoft.com/commandline/2018/09/28/re-open-sourcing-ms-dos-1-25-and-2-0/ )

Without LOADFIX, the included MASM 1.10 (albeit technically "free software" now, this is given as a binary only) errors out with "Out Of Memory" on some files. Eric suggested it may be due to using memory in the first 64 KiB of the LMA. With FreeCOM's LOADFIX either MASM and/or my batch file crash or hang, though. As an alternative, I loaded up my lDebug, entered TSR mode ("tsr"), and insured with "dm" that the memory behind the debugger is above 64 KiB. Then I run with "g", which causes the debugged process to terminate and returns to the shell, now with lDebug resident.

After that a few more problems occurred, but I solved all of them and made scripts (one for building in DOS, which I run in dosemu2, and the other for packing the archive in bash on Linux) to build and package DEBUG version 2.30.

I uploaded my repository (based on Microsoft's) to https://bitbucket.org/ecm/msdos2 and also put an archive with the binary (and object and listing files) to https://bitbucket.org/ecm/msdos2/downloads/ (Make sure to use debug.com though; debug.exe is only included here as an intermediate object file and doesn't work correctly when run directly.)

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
15606 Postings in 1414 Threads, 258 registered users, 8 users online (0 registered, 8 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum