Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.development > #18664

Re: O_TEXT

From Paul Edwards <mutazilah@gmail.com>
Newsgroups alt.os.development
Subject Re: O_TEXT
Date 2024-03-02 23:56 +0800
Organization A noiseless patient Spider
Message-ID <urvi80$1us7e$1@dont-email.me> (permalink)
References <ur0l4q$23rau$1@dont-email.me>

Show all headers | View raw


On 20/02/24 06:36, Paul Edwards wrote:

> #define _FTEXT          0x20000
> #define O_TEXT          _FTEXT

I ended up going with 0x4000 0000 so that I
could reserve 0x8000 0000 to mean "we have
run out of bits, check xyz extension variable
instead".

And it all works - I can run (certain) Linux ELF
executables on PDOS/386. Including microemacs 3.6.

Also I added OS/2 support in a similar but not
identical manner. That runs C90 apps now (ie
certain OS/2 LX executables), but fullscreen
support is still pending on a couple of things.

In all cases, I am no longer dependent on
registers or stack on entry to the executable,
which clears the way for all executables to
be called with the PDOS-generic stack "standard".

I previously mentioned that I had UC386L, a 53k
Linux executable capable of running a subset of
valid Win32 executables.

I think because I eliminated memmgr, it is still
53k, but now runs the OS/2 subset as well.

BFN. Paul.

Back to alt.os.development | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

O_TEXT Paul Edwards <mutazilah@gmail.com> - 2024-02-20 06:36 +0800
  Re: O_TEXT Paul Edwards <mutazilah@gmail.com> - 2024-03-02 23:56 +0800
    Re: O_TEXT Paul Edwards <mutazilah@gmail.com> - 2024-03-06 00:37 +0800

csiph-web