Discussion:
NE (new executable)
(too old to reply)
Paul Edwards
2023-11-20 13:29:07 UTC
Permalink
(possible double-or-more-post - google groups
stopped working and I have switched to using
eternal september using pdpnntp under PDOS/386)

I think we previously touched on NE executables,
but it wasn't a priority for me to continue at the time.

I also previously discussed limitations I saw on MZ
that would prevent my 16-bit executables suddenly
getting access to 16 MiB (80286) or even 256 MiB
(PM16 on 80386) or 512 MiB (PM32 with D-bit) or
4 GiB (theoretical maximum).

The solution appears to be to use the NE format.

So probably when PDOS/286 exists one day, I will
probably create a flavor of PDOS/86 that uses the
exact same NE executables.

And maybe I will distribute PDOS with 16-bit, 32-bit
and 64-bit versions of all executables, and the loader
detects which system it is on and loads either PDOS/86,
PDOS/286, PDOS/386 or PDOS/x64.

I have committed changes to PDOS to demonstrate a
simple NE executable working. It's crude and only for
demo purposes.

The executable I tested does a printf and then opens a
file and writes to it. When run on Windows 2000 the
executable is treated as a Win16 and the printf goes
nowhere but the file open happens successfully.

On PDOS/86 you get the printf too.

When the program terminates, PDOS/86 freezes
because of current limitations.

Only the NE format was changed - it's still unchanged
8086 code. Doing INT 21H etc. ie this is a DOS program.

So 16-bit DOS programs more-or-less already have access
to more than 640k/1MB.

But the writes to stdout are lost instead of appearing on the
console that launched the application. For no reason I can
see. So an intercept for INT 21H would need to be put in place
to get those writes sent to the console (if you want to use
32-bit Windows instead of 16-bit PDOS/x86).

Not sure what the requirements of the intercept would be,
and whether an existing TSR like ANSIPLUS might do the
trick, and solve the problem of ANSI output at the same time.

I have committed code changes to PDOS, but they aren't
active by default.

BFN. Paul.


P.S. I have since also got support for __AHINCR
(the non-existent kernel.dll will get a 0x1000
offset as required for RM16).
George Neuner
2023-11-20 15:17:36 UTC
Permalink
On Mon, 20 Nov 2023 13:29:07 -0000 (UTC), Paul Edwards
Post by Paul Edwards
(possible double-or-more-post - google groups
stopped working and I have switched to using
eternal september using pdpnntp under PDOS/386)
Google has suspended posting into a lot of Usenet groups due to a
recent heavy spam flood. [Not that spam is a recent development, but
of late it has been much worse than usual.]

For the time being you can read Usenet groups at Google, but not post.
rugxulo
2023-11-22 08:48:45 UTC
Permalink
Hi, glad to hear from you again.
Post by Paul Edwards
I think we previously touched on NE executables,
but it wasn't a priority for me to continue at the time.
I also previously discussed limitations I saw on MZ
that would prevent my 16-bit executables suddenly
getting access to 16 MiB (80286) or even 256 MiB
(PM16 on 80386) or 512 MiB (PM32 with D-bit) or
4 GiB (theoretical maximum).
Didn't the 16-bit pmode stuff from Borland Pascal use NE?

Anyways, EMX (a.out) and DJGPP (COFF) have no problems with 100+ MB of RAM.
Or did you mean a pure 16-bit MZ .EXE was limited by default?
(In other words, MZ by itself doesn't stop anyone, but I guess we're splitting hairs.)
Post by Paul Edwards
The solution appears to be to use the NE format.
So probably when PDOS/286 exists one day, I will
probably create a flavor of PDOS/86 that uses the
exact same NE executables.
I hear it's a complicated format (e.g. resources).
Post by Paul Edwards
The executable I tested does a printf and then opens a
file and writes to it. When run on Windows 2000 the
executable is treated as a Win16 and the printf goes
nowhere but the file open happens successfully.
Wasn't Win2k the last to support OS/2 1.x textmode apps?
Try using OpenWatcom to build one.
Post by Paul Edwards
On PDOS/86 you get the printf too.
Surely you're aware of OS/2 family/bound apps too, right?
The 1996 DOS + OS/2 build of mawk is one example.
Post by Paul Edwards
Only the NE format was changed - it's still unchanged
8086 code. Doing INT 21H etc. ie this is a DOS program.
So 16-bit DOS programs more-or-less already have access
to more than 640k/1MB.
They already could with EMS or XMS. Jim Leonard (Trixter)'s 8088
had 2 MB of real EMS (not emulated).

The HX extender's HXDEV16 should have some OS/2 emulation.
So hdpmi16 and NE and DOSCALLS or whatever. (I don't know much.)
Again, OpenWatcom is your friend.

P.S. I'm rereading some old posts on BTTR from you about NE, but I don't
recall the details. Either way, I'm far from an expert. Good luck!
Ozempic Family
2023-11-28 21:23:58 UTC
Permalink
What are DMT vape pens?
DMT is a powerful psychedelic compound that can produce intense and rapid changes in perception, thought, and mood.
DMT vape pens are specialized vaporizers that allow inhaling the substance quickly and efficiently.
The vapes used for DMT contain a small heating element and a cartridge with DMT powder. The DMT vapor is inhaled through a mouthpiece when the cartridge is heated.
Where to buy dmt vapes
https://psychedelicstree.com
https://psychedelicstree.com/dmt-vapes-and-catriges/
https://psychedelicstree.com/dmt-vapes-and-catriges/
https://psychedelicstree.com/dmt-vapes-and-catriges/
https://psychedelicstree.com/dmt-vapes-and-catriges/

What is in DMT vapes?
DMT vapes contain DMT, a naturally occurring psychedelic compound found in certain species of plants and animals in the Amazon rainforest.
We usually refer to DMT as the psychoactive compound in ayahauca but there are other variations.
5meo dmt teod or 5-Methoxy-N, N-dimethyltryptamine, is a variation of DMT. The compound can be extracted from the yopo tree and Colorado River toad’s venom – hence the name.
BUY DMT VAPES AND CATRIGES NOW; https://psychedelicstree.com/dmt-vapes-and-catriges/
As opposed to the standard experience, which is more visual, 5-MeO-DMT can produce more shattering and transcendent hallucinations.[4]
It’s also worth noting that DMT is a serotonergic drug, which affects the production of the neurotransmitter serotonin.[2] Serotonin is essential for regulating mood and appetite, which explains the the feelings of euphoria and relaxation felt when using DMT.
Loading...