Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

32-bit MSDOS (Announce)

posted by kerravon E-mail, Ligao, Free World North, 27.06.2021, 18:00

Hi Japheth.

Sorry, I didn't notice I was responding
to someone different.

> JWasm, for example?

I forgot to answer this specific question.
jwasm uses some non-C90 functions:

C:\devel\jwasm>pdmake -f makefile.w32
rm -f *.o jwasm.exe
gccwin -S -O2 -fno-common -I. -I../pdos/pdpclib -Ih -D__WIN32__ -o main.s main.c
main.c:34:19: fcntl.h: No such file or directory
main.c:39:18: io.h: No such file or directory

I don't know what those result in if compiled
with a different C compiler that supports
them, but they probably result in something
that I haven't implemented.

However, it is my hope that HX can be ported
to this new (PDOS/386) environment, as well
as run on PDOS/86. I'm not familiar with the
internals of HX, but I would have thought that
most of the code is already 32-bit, and either
takes control of the hardware itself (which is
fine - I don't manipulate the hardware, I make
BIOS calls), or does INT 21H calls, and the
only difference here is that HX doesn't need
to (and can't) drop down to RM16 to do those
calls, it needs to stay in 32-bit mode and do
the INT 21H.

HX probably makes some INT 21H calls that I
haven't implemented, but maybe those can be
added when I find out what the scope of the
problem is. Especially for the task of
executing jwasm.

Note that I have made binutils 2.14a C90-compliant
so I provide an "aswin" which is a 32-bit
assembler that runs under both HX and PDOS/386.
I also provide "as386" which is a 32-bit
assembler that only runs under PDOS/386, but
is probably very similar to DOS/4GW.

BFN. Paul.

 

Complete thread:

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