In the 1990s I used DJGPP to run a small C-based Unix tool I wrote on a DOS machine. Later years Cygwin was more the way I would do cross-platform GCC stuff. I now have even more appreciation for what they needed to do behind the scenes to get DJGPP working. #gcc#djgpp#history#ComputerHistory#RetroComputing Running GNU on DOS with DJGPP
I use #DJGPP in #WSL2/#Ubuntu on Win10 for compiling, #VSCode as editor and DOSBox-X and @DOSBox_Staging for testing.
I have also #OpenWatcom installed for 16bit DOS.
I have a networked AMD K6-2 500MHz with #FreeDOS/#Win98 under my desk (connected to a capture card so I don't need an extra monitor).
This setup works for me for all my #MSDOS projects...
I face an interesting problem for a file selection dialog I want to create:
How do I detect which drive letters are actually available/used in #MSDOS (using either #DJGPP or a DOS/BIOS INT)?
I guess it is always safe to assume A, B and C are there?
What happens when no secondary disk drive is installed?