Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
libz

17.10.2025, 23:37
 

DOS for 64 bits? (Users)

Hi all,

Maybe because I'm older now, I realize that focus is important. As is a distraction-free setup, as is speed of execution, as is simplicity.

DOS has all of this.
But everything I read about DOS is about the past.
16bit, 32bit, little RAM...

I don't know how to program in C or assembly, so I cannot help.
But could help in testing or in propaganda.

Would there be space for a DOS (like) for the present and for the future, that could use all the 64bit CPU, GBs (or even TBs) of RAM, with direct access to the hardware, that could beat all Windows and Linux in speed, simplicity and focus for the user?

kerravon

E-mail

Ligao, Free World North,
18.10.2025, 10:34

@ libz
 

DOS for 64 bits?

> Hi all,
>
> Maybe because I'm older now, I realize that focus is important. As is a
> distraction-free setup, as is speed of execution, as is simplicity.
>
> DOS has all of this.
> But everything I read about DOS is about the past.
> 16bit, 32bit, little RAM...
>
> I don't know how to program in C or assembly, so I cannot help.
> But could help in testing or in propaganda.
>
> Would there be space for a DOS (like) for the present and for the future,
> that could use all the 64bit CPU, GBs (or even TBs) of RAM, with direct
> access to the hardware, that could beat all Windows and Linux in speed,
> simplicity and focus for the user?

I believe UCX64 has all of that.

Available from https://pdos.org

Why do you want to directly access the hardware instead of doing
a UEFI call though? MSDOS did the same thing - a BIOS call.

Regardless, you can do either - even as an application.

But - like with MSDOS - you're officially supposed to do an INT 21H
call to access MSDOS services - but in UCX64 the INT 21H has been
replaced by a callback function instead. It probably could be done
via INT 21H though - if that served some purpose.

BFN. Paul.

kerravon

E-mail

Ligao, Free World North,
18.10.2025, 10:38

@ kerravon
 

DOS for 64 bits?

Also, technically you don't even need to use UCX64.

Just write UEFI shell programs.

The advantage of UCX64 is that it allows you to run (certain) Win64 executables.

But within that - if you want to access the hardware - go right ahead.

kerravon

E-mail

Ligao, Free World North,
18.10.2025, 11:03

@ kerravon
 

DOS for 64 bits?

> Also, technically you don't even need to use UCX64.
>
> Just write UEFI shell programs.
>
> The advantage of UCX64 is that it allows you to run (certain) Win64
> executables.

Also note that UCX64 comes with PDPCLIB, which contains
everything you need to write UEFI shell programs, if you
wish to go that route.

Or you can run those same tools on Linux or Mac - x64 or ARM64.
Or Win32 or Linux32 - ARM or x86.

I'm currently missing 32-bit MacOS support.

I have Motorola 68000 support, but it's not good enough to
produce x64 code - if you wanted to do that for fun. Same
applies to ARM32. ie you can't target x64 from ARM32 - I
don't have the required 64-bit support. But I may be able
to twist some arms to stop this requirement for 64-bit values
in the first place.

libz

22.10.2025, 22:00

@ kerravon
 

DOS for 64 bits?

Hello kerravon,

Yes, I've been at https://www.pdos.org/ before.
I've read all of it, including some other texts by you and we have some common thoughts in several themes.

But I'm not a system programmer and I'm not at a level of knowledge that I can take what I read at the website and conclude that pdos is a DOS like system where I could run x86_64 applications.
I didn't get that idea before, and I hardly get it now.
The programming I do is about business data and associated areas. No C, or assembly.

The most relevant section for this seems to be 'University Challenge x64'
So, what I miss is a tutorial where it could be shown step by step what to do to have pdos booting in a x86_64 hardware (and in other ones as well).
I'm unaware of what could be done using EFI. It seems that you've programmed pdos to run as a UEFI module, is that correct?
Can pdos run 64 bit programs and use GBs of RAM and big files?
Can pdos run all ancient MSDOS programs, like Turbo Pascal, Norton Commander, etc?

Some howtos and some videos would be of great help for me and for others like me that don't have your level of expertise in the subject.
I know, I know, it's a lot of work that I'm asking.

Thank you,
All the best.

kerravon

E-mail

Ligao, Free World North,
23.10.2025, 04:16

@ libz
 

DOS for 64 bits?

> The most relevant section for this seems to be 'University Challenge x64'
> So, what I miss is a tutorial where it could be shown step by step what to
> do to have pdos booting in a x86_64 hardware (and in other ones as well).
> I'm unaware of what could be done using EFI. It seems that you've
> programmed pdos to run as a UEFI module, is that correct?

Yes - I'm not sure "module" is the correct term, but I don't
know what the correct term is.

Modern x64 computers all use UEFI. It's very difficult to find
a BIOS now.

Do you want to run on real hardware or under Virtualbox etc?

I provide a VHD. You can use that directly in Virtualbox or
you can burn it to USB stick using Win32 Disk Imager. If
doing the latter I think you need to rename it to .img.

> Can pdos run 64 bit programs and use GBs of RAM and big files?

Theoretically it can be rebuilt to do that.

Currently it is mimicking Microsoft Windows and Microsoft
Visual C, which uses 32-bit long still - and that is what C90
gives.

So for now, no big files.

For big memory - a different issue - previously I was using
cc64 and that needed to be restricted to the lower 2 GiB.
I am now using mcc, but haven't fully migrated, so the
restriction remains.

> Can pdos run all ancient MSDOS programs, like Turbo Pascal, Norton
> Commander, etc?

It can't run any of them. You need to recompile for the x64
platform.

What did you expect when you asked for DOS to be 64-bit?

Genuine question - I'm interested in your opinion on the
very definition of "DOS". It's philosophy to me.

It will run some existing genuine Win64 x64 programs though
(mainly ones that I built).

But that is also a philosophical question - is the Win64 command
prompt "64-bit DOS" too?

> Some howtos and some videos would be of great help for me and for others
> like me that don't have your level of expertise in the subject.
> I know, I know, it's a lot of work that I'm asking.

I can guide you through it (in this forum, in text) if you start by
telling me where you want to run it. You can make a video at
the end of that process if you wish. Or a HOWTO. You offered
to do something non-programming for the "64-bit DOS", right?

kerravon

E-mail

Ligao, Free World North,
23.10.2025, 04:29

@ kerravon
 

DOS for 64 bits?

> you can burn it to USB stick using Win32 Disk Imager. If
> doing the latter I think you need to rename it to .img.

I think I remember now - the trick is to choose "all files",
otherwise "vhd" isn't visible.

It's Bochs on Android that may require you to rename the
vhd to img.

kerravon

E-mail

Ligao, Free World North,
23.10.2025, 05:59

@ kerravon
 

DOS for 64 bits?

> What did you expect when you asked for DOS to be 64-bit?

Just a bit more on the philosophy.

The traditional MSDOS interface was defined in assembler,
with calls to INT 21H, that included some calls with parameters
given in segment registers.

It's not possible to reproduce that exactly in x64. You can't
manipulate segment registers like that, and it defeats the
purpose to use the exact same 16-bit registers - you need
to upgrade to 64-bit registers.

So. Existing assembler source needs to change.

And most people - even on MSDOS - were writing in C, not
assembler, anyway.

And if existing assembler source needs to change - then what
is "acceptable" to get the "DOS" label?

Also - is there a particular reason to want that exact label?
What's the underlying objective?

And if the original source is written in C - particularly if it
conforms to the C90 standard - then yes, that "DOS program"
will work on 64-bit "DOS" too.

It will also work on any machine that is called "definitely not DOS".

So at some point, I get lost.

Being lost in terminology doesn't prevent me from getting
software to run though.

libz

27.10.2025, 12:07

@ kerravon
 

DOS for 64 bits?

Hi kerravon,

My answers are interlined in yours, below.


> > The most relevant section for this seems to be 'University Challenge
> x64'
> > So, what I miss is a tutorial where it could be shown step by step what
> to
> > do to have pdos booting in a x86_64 hardware (and in other ones as
> well).
> > I'm unaware of what could be done using EFI. It seems that you've
> > programmed pdos to run as a UEFI module, is that correct?
>
> Yes - I'm not sure "module" is the correct term, but I don't
> know what the correct term is.
>
> Modern x64 computers all use UEFI. It's very difficult to find
> a BIOS now.
>
> Do you want to run on real hardware or under Virtualbox etc?
I have several low powered thin computers that are able to run both BIOS and UEFI.
UEFI is the future so I'm fine with using it from the time being, and can use one of them to run PDOS.
So, I'm interested in running in real hardware, although can test in a virtual host before, for convenience.

> > Can pdos run 64 bit programs and use GBs of RAM and big files?
>
> Theoretically it can be rebuilt to do that.
>
> Currently it is mimicking Microsoft Windows and Microsoft
> Visual C, which uses 32-bit long still - and that is what C90
> gives.
>
> So for now, no big files.
>
> For big memory - a different issue - previously I was using
> cc64 and that needed to be restricted to the lowerpdos 2 GiB.
> I am now using mcc, but haven't fully migrated, so the
> restriction remains.
Ok, for the time being.


> > Can pdos run all ancient MSDOS programs, like Turbo Pascal, Norton
> > Commander, etc?
>
> It can't run any of them. You need to recompile for the x64
> platform.
Ok.
I'll have some work to do, then!


> What did you expect when you asked for DOS to be 64-bit?
>
> Genuine question - I'm interested in your opinion on the
> very definition of "DOS". It's philosophy to me.
Ah, ah, my definition will be short in scope to your expectations, I guess.
DOS for me is what I recall my experience has been in the past where I used MS-DOS, DR-DOS and I think 4DOS. So, something close to that.
I've read that 4DOS is public domain.
Have you compiled it to PDOS?

>
> It will run some existing genuine Win64 x64 programs though
> (mainly ones that I built).
>
> But that is also a philosophical question - is the Win64 command
> prompt "64-bit DOS" too?
In my point of view, I don't consider it a DOS as it's some indirect interaction with the hardware.


> > Some howtos and some videos would be of great help for me and for others
> > like me that don't have your level of expertise in the subject.
> > I know, I know, it's a lot of work that I'm asking.
>
> I can guide you through it (in this forum, in text) if you start by
> telling me where you want to run it. You can make a video at
> the end of that process if you wish. Or a HOWTO. You offered
> to do something non-programming for the "64-bit DOS", right?
Yes, I'll do it, at a very slow pace, but I'm interested.
So, to begin with, copy the ucx64.zip (unzipped) or the pdos.zip to the UEFI partition and boot from there, right?
Are the two ucx64 and pdos systems at the same level of development, or which one is more advanced for me to try?
Given what you said above regarding the limitations of the 64 bit version, can it be considered to be equally constrained at the 32 bit word and 2GB of RAM?

Best regards.

kerravon

E-mail

Ligao, Free World North,
27.10.2025, 13:17

@ libz
 

DOS for 64 bits?

> I have several low powered thin computers that are able to run both BIOS
> and UEFI.
> UEFI is the future so I'm fine with using it from the time being, and can
> use one of them to run PDOS.
> So, I'm interested in running in real hardware, although can test in a
> virtual host before, for convenience.

Ok.

> > > Can pdos run all ancient MSDOS programs, like Turbo Pascal, Norton
> > > Commander, etc?
> >
> > It can't run any of them. You need to recompile for the x64
> > platform.

> Ok.
> I'll have some work to do, then!

The chances of any of those things being C90-compliant are
close to zero, so it's not just a recompile that is required.

> > What did you expect when you asked for DOS to be 64-bit?
> >
> > Genuine question - I'm interested in your opinion on the
> > very definition of "DOS". It's philosophy to me.

> Ah, ah, my definition will be short in scope to your expectations, I
> guess.
> DOS for me is what I recall my experience has been in the past where I used
> MS-DOS, DR-DOS and I think 4DOS. So, something close to that.

You can get very close to the MSDOS command prompt from
the Windows 11 command prompt. You can probably even
configure the latter to be identical.

> I've read that 4DOS is public domain.

https://en.wikipedia.org/wiki/4DOS

It's copyrighted (modified MIT), not public domain, according
to that.

> Have you compiled it to PDOS?

I'm personally not willing to work on copyrighted software
unless I'm being paid full western contract rates.

I make some limited exceptions as a means to an end, and
the end is to have completely public domain software so
that I can fix anything I want, and it isn't owned by someone
else who wrote the buggy software in the first place.

> > It will run some existing genuine Win64 x64 programs though
> > (mainly ones that I built).
> >
> > But that is also a philosophical question - is the Win64 command
> > prompt "64-bit DOS" too?

> In my point of view, I don't consider it a DOS as it's some indirect
> interaction with the hardware.

How do you actually know that? First of all, the MSDOS command
prompt (command.com) doesn't directly access the hardware - it
does calls to the MSDOS OS proper (msdos.sys). And even that
doesn't access the hardware directly, it does BIOS calls.

(As far as I am aware, anyway - now that we have the MSDOS 4.0
source code we can find out for sure - but that in itself defeats
the whole purpose of finding out in the first place - if it's not
possible to detect as an end user, and you have to spend an
awful lot of effort to prove that - what difference does it make?).

You could argue that MSDOS apps can CHOOSE to access the
hardware directly if they want - well - that's largely because the
processor itself doesn't have a way of stopping you - and that's
not necessarily a good thing. Can you tell me why you think that
would be a good thing? Getting some sort of hardware demo
started quickly - even if MSDOS crashes a lot while attempting
to demo that?

If that is the "target market" - then there are still alternatives -
like creating an extension to the MSDOS API that allows you to
write "directly" to an I/O port.

Or what about if the Windows 11 command prompt operated in
ring 0 - would you be happy then? Do you need it to bypass
virtual memory too? The PDOS "Windows clones" don't use
virtual memory - so that could be what you're after - bypass
the complication of virtual memory.

That's what I was after, basically/sort of.

> > > Some howtos and some videos would be of great help for me and for
> others
> > > like me that don't have your level of expertise in the subject.
> > > I know, I know, it's a lot of work that I'm asking.
> >
> > I can guide you through it (in this forum, in text) if you start by
> > telling me where you want to run it. You can make a video at
> > the end of that process if you wish. Or a HOWTO. You offered
> > to do something non-programming for the "64-bit DOS", right?

> Yes, I'll do it, at a very slow pace, but I'm interested.
> So, to begin with, copy the ucx64.zip (unzipped) or the pdos.zip to the
> UEFI partition and boot from there, right?

Not really.

You mentioned you were interested in running on a virtual host
before putting it on a real computer.

So start with that. Which virtual host are you interested in using?
I support both Oracle Virtualbox and qemu.

In both cases, you just point it to the VHD (hard disk image)
within the zip file.

UCX64 you need to go to the extra effort of enabling UEFI (a
checkbox in Virtualbox, but qemu is a bit more complicated).

Note that on real hardware, you could indeed unzip ucx64.vhd
(not .zip) onto a "UEFI partitition". But pdos.vhd needs to be
burned as an image - you can't just unzip it.

> Are the two ucx64 and pdos systems at the same level of development, or
> which one is more advanced for me to try?

The BIOS-based PDOS/386 is the most advanced.

But the future is expected to be UCX64 for a different reason -
the public domain C compiler (mcc) now available.

> Given what you said above regarding the limitations of the 64 bit version,
> can it be considered to be equally constrained at the 32 bit word and 2GB
> of RAM?

Yes, both are equally constrained in RAM currently.

But one of the reasons I am in this "DOS Ain't Dead" forum in the first
place is because I believe the software industry went into a dead end,
and I want to start again with 640k of RAM and negotiate why we need
an increase from that.

If 2 GB is a constraint for you, you might want to rethink your life choices. :-)

Here is something someone else wrote:

https://www.quora.com/Why-did-you-leave-a-job-as-a-software-engineer/answer/Jeff-Sturm-2

His "solution" was to leave the industry.

My "solution" involves a return to MSDOS - or something similar.


EDIT: I forgot to mention - I completely rewrote pdos.org from scratch to explain what the current situation is with PDOS. Previously it was created in an adhoc manner as breakthroughs happened in a fairly random fashion.

Rugxulo

Homepage

Usono,
29.10.2025, 01:04

@ kerravon
 

DOS for 64 bits?

> > > > Can pdos run all ancient MSDOS programs, like Turbo Pascal, Norton
> > > > Commander, etc?
> > >
> > > It can't run any of them. You need to recompile for the x64
> > > platform.
>
> > Ok.
> > I'll have some work to do, then!
>
> The chances of any of those things being C90-compliant are
> close to zero, so it's not just a recompile that is required.

Turbo Pascal is not open source. Heck, it's not even redistributable. Supposedly it was mostly written in assembly. Workaround? You could try p2c (written in C) which may compile. It's easy to recompile it with DJGPP or Openatcom, for instance. I used that to port Pascal P4 (bytecode compiler and interpreter) to C (using GCC [EMX, DJGPP] or OpenWatcom). P4 is public domain but is not "Turbo" compatible, only classic Pascal (large subset). If you really want TP features (that are supported by C90) that will depend on p2c or other means (or maybe use FPC or Modula-2 or Oberon somehow). Granted, p2c is GPL but its translated output is not.

There are several file managers that mimic the Norton Commander interface written in Turbo Pascal (e.g. Connect or DOS Navigator), but I'm not sure how much of that will compile with only C90 (and no explicit subdir support). Granted, originally CP/M and even OberonOS never had subdirs, so for some things you can live without it. (I think the Oberon-based Active Oberon/AOS2 OS had subdir support.)

Dunno, not to be too simplistic, but I'm just grateful anything works.

Rugxulo

Homepage

Usono,
29.10.2025, 01:06

@ Rugxulo
 

DOS for 64 bits?

> Dunno, not to be too simplistic, but I'm just grateful anything works.

Oh, don't forget 8086tiny (written in C). Yes, it's an emulator, but maybe that would be more acceptable for some things? ecm had a bugfixed fork with proper 186 support.

marcov

29.10.2025, 10:58

@ Rugxulo
 

DOS for 64 bits?

> You could try p2c (written in C) which may compile.

I never managed anything non trivial with p2c wrt TP/FPC/Delphi code.

That is a bit unfair judgement of course, since it was originally probably meant for bootstrapping early pascal compilers and/or helping with conversion of old mini and mainframe code.

Most of the TUIs will use TP's object oriented extensions anyway, and P2C to my best knowledge can't handle them.

libz

07.11.2025, 16:47

@ kerravon
 

DOS for 64 bits?

> > I have several low powered thin computers that are able to run both BIOS
> > and UEFI.
> > UEFI is the future so I'm fine with using it from the time being, and
> can
> > use one of them to run PDOS.
> > So, I'm interested in running in real hardware, although can test in a
> > virtual host before, for convenience.
>
> Ok.
>
> > > > Can pdos run all ancient MSDOS programs, like Turbo Pascal, Norton
> > > > Commander, etc?
> > >
> > > It can't run any of them. You need to recompile for the x64
> > > platform.
>
> > Ok.
> > I'll have some work to do, then!
>
> The chances of any of those things being C90-compliant are
> close to zero, so it's not just a recompile that is required.
So, the usefulness of PDOS for an end-user is very limited.

> > I've read that 4DOS is public domain.
>
> https://en.wikipedia.org/wiki/4DOS
>
> It's copyrighted (modified MIT), not public domain, according
> to that.
I took the idea that 4DOS was public domain from https://web.crouze.com/the-return-of-4dos/ where it is said that "the old 4DOS is also still very much alive and kicking! The latest releases are in the public domain now, and have constantly been in development.".



> I make some limited exceptions as a means to an end, and
> the end is to have completely public domain software so
> that I can fix anything I want, and it isn't owned by someone
> else who wrote the buggy software in the first place.
I understand that.


> > > It will run some existing genuine Win64 x64 programs though
> > > (mainly ones that I built).
Alright.


> How do you actually know that? First of all, the MSDOS command
> prompt (command.com) doesn't directly access the hardware - it
> does calls to the MSDOS OS proper (msdos.sys). And even that
> doesn't access the hardware directly, it does BIOS calls.
>
> (As far as I am aware, anyway - now that we have the MSDOS 4.0
> source code we can find out for sure - but that in itself defeats
> the whole purpose of finding out in the first place - if it's not
> possible to detect as an end user, and you have to spend an
> awful lot of effort to prove that - what difference does it make?).
>
> You could argue that MSDOS apps can CHOOSE to access the
> hardware directly if they want - well - that's largely because the
> processor itself doesn't have a way of stopping you - and that's
> not necessarily a good thing. Can you tell me why you think that
> would be a good thing? Getting some sort of hardware demo
> started quickly - even if MSDOS crashes a lot while attempting
> to demo that?
>
> If that is the "target market" - then there are still alternatives -
> like creating an extension to the MSDOS API that allows you to
> write "directly" to an I/O port.
Sorry, I just meant the least possible indirections.
Have no knowledge to discuss these technical details.


> Or what about if the Windows 11 command prompt operated in
> ring 0 - would you be happy then? Do you need it to bypass
> virtual memory too? The PDOS "Windows clones" don't use
> virtual memory - so that could be what you're after - bypass
> the complication of virtual memory.
There are videos in Youtube explaining how undocumented Intel cpu instructions allow someone to run in ring 0.


> That's what I was after, basically/sort of.
>
> > > > Some howtos and some videos would be of great help for me and for
> > others
> > > > like me that don't have your level of expertise in the subject.
> > > > I know, I know, it's a lot of work that I'm asking.

> > > I can guide you through it (in this forum, in text) if you start by
> > > telling me where you want to run it. You can make a video at
> > > the end of that process if you wish. Or a HOWTO. You offered
> > > to do something non-programming for the "64-bit DOS", right?
If PDOS can be useful to me, I'll do it, although at a slow pace.



> > Yes, I'll do it, at a very slow pace, but I'm interested.
> > So, to begin with, copy the ucx64.zip (unzipped) or the pdos.zip to the
> > UEFI partition and boot from there, right?
>
> Not really.
>
> You mentioned you were interested in running on a virtual host
> before putting it on a real computer.
>
> So start with that. Which virtual host are you interested in using?
> I support both Oracle Virtualbox and qemu.
>
> In both cases, you just point it to the VHD (hard disk image)
> within the zip file.
I'd prefer qemu, as have not Virtualbox installed and would prefer not to waste space on it.


> UCX64 you need to go to the extra effort of enabling UEFI (a
> checkbox in Virtualbox, but qemu is a bit more complicated).
>
> Note that on real hardware, you could indeed unzip ucx64.vhd
> (not .zip) onto a "UEFI partitition". But pdos.vhd needs to be
> burned as an image - you can't just unzip it.
>
> > Are the two ucx64 and pdos systems at the same level of development, or
> > which one is more advanced for me to try?
>
> The BIOS-based PDOS/386 is the most advanced.
Alright.

>
> But the future is expected to be UCX64 for a different reason -
> the public domain C compiler (mcc) now available.
Great.


> > Given what you said above regarding the limitations of the 64 bit
> version,
> > can it be considered to be equally constrained at the 32 bit word and
> 2GB
> > of RAM?
>
> Yes, both are equally constrained in RAM currently.
>
> But one of the reasons I am in this "DOS Ain't Dead" forum in the first
> place is because I believe the software industry went into a dead end,
> and I want to start again with 640k of RAM and negotiate why we need
> an increase from that.
>
> If 2 GB is a constraint for you, you might want to rethink your life
> choices. :-)
For a focused standalone desktop computer, yes, I agree.
But it could be an alternative system for 64 bits to be able to process the very big amounts of data that we process nowadays and that were not available at the time of the legendary MS-DOS.


> Here is something someone else wrote:
>
> https://www.quora.com/Why-did-you-leave-a-job-as-a-software-engineer/answer/Jeff-Sturm-2
>
> His "solution" was to leave the industry.
> My "solution" involves a return to MSDOS - or something similar.
But to a mighty PDOS!

>
> EDIT: I forgot to mention - I completely rewrote pdos.org from scratch to
> explain what the current situation is with PDOS. Previously it was created
> in an adhoc manner as breakthroughs happened in a fairly random fashion.
I had seen it, thanks.

kerravon

E-mail

Ligao, Free World North,
08.11.2025, 00:50

@ libz
 

DOS for 64 bits?

> > > > > Can pdos run all ancient MSDOS programs, like Turbo Pascal, Norton
> > > > > Commander, etc?
> > > >
> > > > It can't run any of them. You need to recompile for the x64
> > > > platform.
> >
> > > Ok.
> > > I'll have some work to do, then!
> >
> > The chances of any of those things being C90-compliant are
> > close to zero, so it's not just a recompile that is required.

> So, the usefulness of PDOS for an end-user is very limited.

That's what kills almost everything. Like OS/2 or the Itanium.

When you tell people that there is a new platform with a new API,
and it's really fantastic, but it doesn't run your old software,
no-one is interested.

Although in both of the above examples, the old software did
in fact run. So even doing that isn't enough.

BTW, you're already in this zone yourself. Have you done a
market survey looking for how many people would like to
abandon 64-bit Windows and go to 64-bit DOS? While I
haven't done that myself, I doubt that there is any market.

There may be some circumstance where there is no choice
though. Like Microsoft shareholders demanding that a
reasonable profit is returned, and they jack up the price
10-fold, and businesses or people (perhaps in the 3rd
world - I don't know how it would play out) cannot afford
it. I would assume they would use Linux in that situation,
but they may run into a different problem that someone
who saw a commercial opportunity spent the effort to
get UCX64 working for some app, with the whole thing
closed source to protect their investment.

I don't know. I can't predict the future. I didn't expect that
the US would suddenly start a tariff war even on its
erstwhile allies. It could simply ban the export of Windows.
Anything is possible these days.

> I took the idea that 4DOS was public domain from
> https://web.crouze.com/the-return-of-4dos/ where it is said
> that "the old 4DOS is also still very much alive and kicking! The latest
> releases are in the public domain now, and have constantly been in
> development.
".

Ok, some people use the term loosely. Meaning "freely available".

> > If that is the "target market" - then there are still alternatives -
> > like creating an extension to the MSDOS API that allows you to
> > write "directly" to an I/O port.

> Sorry, I just meant the least possible indirections.

Again - even MSDOS doesn't have the least possible
indirections. command.com could have read directly
from the keyboard via an I/O port. They did not do that.
They could have though.

Also - what is the purpose of reducing indirections? They
are there for a good reason.

Speed? Your application should be bottlenecked in the
application itself, not in the OS. Specifically it should
be CPU-bound, or really, "memory-access bound".

> > Or what about if the Windows 11 command prompt operated in
> > ring 0 - would you be happy then? Do you need it to bypass
> > virtual memory too? The PDOS "Windows clones" don't use
> > virtual memory - so that could be what you're after - bypass
> > the complication of virtual memory.

> There are videos in Youtube explaining how undocumented Intel cpu
> instructions allow someone to run in ring 0.

There are (or should be) other ways of running in ring 0 if you want.
ie an admin prompt or drivers. So long as it's your computer you
should be able to do whatever you want. I've never looked into
that though.

But getting into ring 0 probably won't help you. If you want to
get memory, you still need to go to the OS to get it. It's the
only one that knows the layout. And the background tasks
will still be running too. You don't have that complication with
UCX64.

This to me is really what it's all about. Do you want a system
that you can actually understand and maintain?

I think there is a reason why when you ring xyz company to say
that something isn't working, they tell you "no-one else is
complaining, just try again later".

The systems are too complicated and there are too few people -
in fact - zero people - who can maintain it.

> > > > I can guide you through it (in this forum, in text) if you start by
> > > > telling me where you want to run it. You can make a video at
> > > > the end of that process if you wish. Or a HOWTO. You offered
> > > > to do something non-programming for the "64-bit DOS", right?

> If PDOS can be useful to me, I'll do it, although at a slow pace.

Note that PDOS is most useful when your alternative is nothing.

There was an article on the BBC recently of a Japanese company
using pen and paper to take order after a ransomware attack.

PDOS may not be the world's greatest OS, but it can sure beat
pen and paper.

I don't know the details as to why they couldn't use another
system. Or even their smartphones.

> > In both cases, you just point it to the VHD (hard disk image)
> > within the zip file.

> I'd prefer qemu, as have not Virtualbox installed and would prefer not to
> waste space on it.

So use this for PDOS/386:

qemu-system-i386 -drive file=pdos.vhd,index=0,media=disk,format=raw

And this for UCX64:

qemu-system-x86_64 \
-drive if=pflash,format=raw,file=edk2-x86_64-code.fd \
-drive file=ucx64.vhd,index=0,media=disk,format=raw \
-m 2048 \
-nographic


If you are using Windows, change "\" to "^".

And search your drive for the edk2*.fd file - it should be somewhere -
and copy it to your current directory.

> > If 2 GB is a constraint for you, you might want to rethink your life
> > choices. :-)

> For a focused standalone desktop computer, yes, I agree.
> But it could be an alternative system for 64 bits to be able to process the
> very big amounts of data that we process nowadays and that were not
> available at the time of the legendary MS-DOS.

Sure. There have been new developments recently. We now
have the ability to target UCRTBASE instead of MSVCRT.
But that has created an agreement that we will now switch
to our own PCRTBASE with 64-bit long, for both 80386 and
x64.

Plus another development is that I can now build everything
on Linux etc instead of needing Visual C. ie even targeting
Windows, I don't need real Windows. So now I believe I am
in a position to write Linux scripts to build the entire
PDOS ecosystem, starting from a Linux gcc installation.

mcc should be properly exercised at that point, and I will be
in a position to see what happens if I lift the 2 GiB constraint
on memory.

> > His "solution" was to leave the industry.
> > My "solution" involves a return to MSDOS - or something similar.

> But to a mighty PDOS!

Right.

Also, you might want to consider this to be some sort of
"backstop" or "disaster recovery". People spend a lot of
effort ensuring they have a DR system. It's not meant to
ever actually be used. Ditto nuclear missiles.

That Japanese company wasn't supposed to ever be
using pen and paper either.

BFN. Paul.

Back to index page
Thread view  Board view
22852 Postings in 2135 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum