On Mon, 12 Apr 2021 15:41:57 -0700 (PDT)
Post by ***@gmail.comWhen PD-Windows starts working properly,
you will be able to develop Win32 executables
using PD-Windows, and making use of PDPCLIB.
We have Wine for Linux, DOSBox-X for DOS, Japheth's HX for DOS, and
MAME for Linux/Windows/MacOs (with IBM Pentium AT clone emulation) etc,
all of which should run Win32 executables.
https://www.winehq.org/
https://dosbox-x.com/
https://www.mamedev.org/
https://www.japheth.de/HX.html
Post by ***@gmail.comBut actually the tools should also work under
HX under Freedos.
...
Post by ***@gmail.comAnd the GCC 3.2.3 that I am using could be
replaced by Smaller C.
...
Post by ***@gmail.comDoes this buy anything compared to DJGPP
which is most common?
OpenWatcom buys some speed at the expense of being a more pedantic and
limited implementation of C, e.g., no LFN support for v1.3, maybe they
added it by v1.9. DJGPP's primary DPMI host, CWSDPMI, is extremely
slow compared to other DPMI hosts, but is very reliable. DJGPP (GCC
compiler but with non-GCC, DOS C libraries) produces slower code than
OpenWatcom. My OS runs much, much, much, much slower when compiled via
DJGPP than with OpenWatcom, even with the best optimizations. My OS
doesn't use a DPMI host, so this is an x86 code optimization issue.
Disassembly of the compiled C code shows that one issue for DJGPP code
is that it doesn't generate 8-bit x86 instructions, e.g., chars, i.e.,
generating slower, larger 32-bit sequences.
Otherwise, I haven't used Alexei's recently developed Smaller C, but
had been experimenting with Ron Cain's Small C for bootstrapping.
Actually, I experimented with more than a few obscure, no longer
available, small C compilers some years ago. They're all a pain to use
because they're so limited. I patched up one with code from various
versions, and I fixed numerous bugs in another, and another was so old
that the C code wouldn't even compile due to syntax errors, e.g., too
K&R.
Post by ***@gmail.comI'm thinking I can replace Windows with Freedos,
while waiting for PD-Windows to come online
(and be robust).
I'm not really sure how compatible Freedos is with MS-DOS. It had some
issues a few years back, but maybe they've been fixed? DR-DOS was the
DOS that was known to be the most compatible. The reason I mention that
is DJGPP v2.03 works really well with MS-DOS. However, more recent
versions of DJGPP are attempting to make DJGPP work better in Windows
consoles, since the main developers don't use real DOS anymore. The
last time I checked, they broke some stuff for true DOS, which they
weren't about to fix. DJGPP is basically end-of-life for real DOS.
--
Simple solution. Two cops on scene. Seniority: gun. Rookie: Taser.