News for hackers. Stuff that matters.
Re:DOjS is a JavaScript programming environment for systems ... by pjmlp on Monday February 20, 2023 @02:26AM (#34865885)
> DOS based Windows (like 95, 98, ME)

Those Windows versions were a proper OS as well, MS-DOS run inside a virtual DOS box or rebooting into it.

https://devblogs.microsoft.com/oldnewthing/20071224-00/?p=24...

Re:DOjS is a JavaScript programming environment for systems ... by KRAKRISMOTT on Monday February 20, 2023 @02:41AM (#34865966)
Does Windows 10 still come with DOS compatibility?
Re:DOjS is a JavaScript programming environment for systems ... by Dalewyn on Monday February 20, 2023 @04:02AM (#34866395)
Windows NT has absolutely nothing to do with MS-DOS.[1]

This was a rather sore point back in the days of Windows NT 3.1 and NT 4.0, when a lot of software was still written for DOS and simply couldn't execute on NT.

All 32-bit versions of Windows NT up through Windows 10 have NTVDM (NT Virtual DOS Machine), which as the name suggests is a virtual machine which virtualized DOS.[2]

However, this "compatibility" afforded by NTVDM still failed in most practical situations because most DOS programs were written with the assumption of direct hardware access being available. NTVDM's purpose was instead to facilitate running 16-bit software originally written for the likes of Windows 3.1 and early days of Windows 9x.

All 64-bit versions of Windows NT do not incorporate NTVDM due to hardware limitations and consequently cannot execute any 16-bit programs, including software for DOS.

[1]: https://en.wikipedia.org/wiki/Windows_NT

[2]: https://en.wikipedia.org/wiki/Virtual_DOS_machine#Windows_NT...

Re:DOjS is a JavaScript programming environment for systems ... by anthk on Monday February 20, 2023 @04:42AM (#34866619)
If you want a boost for DOS' compatibility under Windows XP, borrow the NTVDM DLL from ReactOS to perfectly play, for instance, Monkey Island.
Re:DOjS is a JavaScript programming environment for systems ... by haunter on Monday February 20, 2023 @04:48AM (#34866655)
At that point just use any of the DOSBox variants. DOSBox Pure made for libretro is the best imo (as far as gaming is your concern) https://github.com/schellingb/dosbox-pure

Or just use ScummVM if Monkey Island (and alike) is your only goal https://www.scummvm.org/

Re:DOjS is a JavaScript programming environment for systems ... by fps_doug on Monday February 20, 2023 @05:54AM (#34867015)
I still like the idea of having it tightly integrated with the OS. Just double-click the EXE and it works.
Re:DOjS is a JavaScript programming environment for systems ... by stuaxo on Monday February 20, 2023 @07:28AM (#34867474)
Yep, I'd like soemthing like that for all emulatable systems.

Windows from such a systems could be seamless, and where possible access to the local fileystem + cut / copy /paste too.

Re:DOjS is a JavaScript programming environment for systems ... by justsomehnguy on Tuesday February 21, 2023 @01:35PM (#34884891)
Amusingly enough back in the day this is what it was with 16-bit, OS/2 and UNIX binaries
Re:DOjS is a JavaScript programming environment for systems ... by anthk on Monday February 20, 2023 @07:24AM (#34867450)
Monkey Island was just an example. OFC I know ScummVM (now it supports even some Macromedia Director based software). But lots of legacy software for DOS/Win 3.1 (these infamous "Multimedia CD's) could be preserved thanks to that.
Re:DOjS is a JavaScript programming environment for systems ... by stuaxo on Monday February 20, 2023 @06:22AM (#34867119)
Someone has recomliled NTVDM for 64 bit, based on the leaker Windows sources.

This works because NTVDM has emulatipn, based on SoftPC built into it - NTVDM was available on non PC NT versions.

Re:DOjS is a JavaScript programming environment for systems ... by HeckFeck on Monday February 20, 2023 @06:05AM (#34867061)
From my reading of that piece, Win9x had its own kernel that was a descendent of DOS; it was not just an application running atop DOS like Win 3x. Consequently it lacked proper memory isolation and security features compared to NT but it did at least bring preemptive multitasking.

Still longing for the source leak or dump like Apple did with LisaOS so we can have the theory confirmed, then have a play with it ourselves.

Re:DOjS is a JavaScript programming environment for systems ... by justsomehnguy on Monday February 20, 2023 @06:43AM (#34867221)
The year was 2023 but people still somehow thought what Win3.x was "an application running atop DOS".

Where the fuck did you get that idea and why do you still thinking so?

Re:DOjS is a JavaScript programming environment for systems ... by mysterydip on Monday February 20, 2023 @06:47AM (#34867247)
Like its predecessors, the Windows 3.1 series ran as a shell on top of MS-DOS

https://en.m.wikipedia.org/wiki/Windows_3.1x

Did you not boot the computer, get to a C:\> prompt, and type "win" (or have a batch file do it for you)?

Re:DOjS is a JavaScript programming environment for systems ... by justsomehnguy on Tuesday February 21, 2023 @02:58AM (#34878143)
If you need to stick and turn the ignition key for the car to work, would that mean what the car runs on the key?

I like what you and other sibling just regurgitate Wiki content. As another sibling properly notes - it run in a protected mode and had it's own drivers. It used DOS as a mere bootloader. Is your favourite Linux distro just a shell on top of GRUB?

Please, educate yourself about this part and don't just copy-paste stuff someone managed to butt in Wiki article.

Re:DOjS is a JavaScript programming environment for systems ... by itsmartapuntocm on Monday February 20, 2023 @07:25AM (#34867454)
Even Windows 3.1 was not strictly just a shell on top of DOS. It ran in protected mode with its own drivers and can spawn DOS virtual machine.
Re:DOjS is a JavaScript programming environment for systems ... by codetrotter on Monday February 20, 2023 @06:49AM (#34867252)
> Like its predecessors, the Windows 3.1 series ran as a shell on top of MS-DOS.

https://en.wikipedia.org/wiki/Windows_3.1x

Re:DOjS is a JavaScript programming environment for systems ... by justsomehnguy on Tuesday February 21, 2023 @03:08AM (#34878195)
> The online encyclopedia has been criticized for its factual reliability, principally regarding its content, presentation, and editorial processes.

https://en.wikipedia.org/wiki/Reliability_of_Wikipedia

Re:DOjS is a JavaScript programming environment for systems ... by anthk on Monday February 20, 2023 @07:25AM (#34867457)
Win 3.11 works under DOSBox.
Re:DOjS is a JavaScript programming environment for systems ... by esrauch on Monday February 20, 2023 @09:14AM (#34868240)
Regardless of if the person is correct or not, there's no never to phrasing your reply that way.
Re:DOjS is a JavaScript programming environment for systems ... by justsomehnguy on Tuesday February 21, 2023 @01:37PM (#34884913)
Thanks for speaking it out loud.

Things.. happens.