Discovered to my delight that iDOS is back on the App Store[1]. Immediately got Windows 3.11 and MSVC++ 1.52 up and running, and will definitely experiment with DOjS now. Much more fun than getting iSH up to scratch for a real development environment, honestly.
I jumped through the same hoops on my Steam Deck (although you can use DOSBox-X there which is slightly more capable) but the iPad has become by far my favourite DOS gaming experience. With Stage Manager, you can have Norton Commander in iDOS running side by side with Midnight Commander in iSH, on a tablet with all day battery life. Anything for a weird life.
This is great work! I've been interested in having a ready to go dev environment for DOS where you just do straight INT 10H development like back in the day. Is it possible to compile work here to an actual x86 DOS executable that could run on DOS without this environment?
No, sadly you can't.
But there is a packaging mechanism where you can put all scripts and assets into a ZIP file and you only need to ship the DOJS.EXE and the ZIP.
You should be able to use COPY /B DOJS.EXE + PACKAGE.ZIP DOJSPACK.EXE to end up with a single .EXE file that still contains the packaged data when read as a ZIP file. The .ZIP format is specifically designed so that this will work.
This seems really neat. However, I'm on a Mac M1 with a stock install of DosBox-X and it seems like all the examples run incredibly slow even when I crank up the cycles to emulate a Pentium 100mHz (~60_000 cycles).
What would be nice is an example JS file called something like "bench-p100.js" along with an expected framerate range you should be seeing assuming running on various Pentium 100mHz systems (DosBox, DosBox-X, bare metal, etc).
> If you run it on real hardware, you need at least an 80386 with 4MB. I recommend a Pentium class machine (>= 100MHz) with at least 32MB RAM.
This is nostalgic (¬‿¬)
I recall my very first computer was an Intel Pentium I with 16MB of RAM and around 2.5GB of HDD. Nowadays, even the cheapest smartphone would outperform, by far, those machines.
My first¹ computer was a 386DX with 1MB of RAM (which I quickly upgraded to 13MB as with 1MB, LaTeX compiled documents at 1 page per minute, but that was the plan all along—just trying to avoid the high cost of RAM from the computer vendor).
⸻
1. Technically, my first computer was a 64K Spectravideo that I got as payment for writing some demo programs for the Chicago distributor of that system, but as it was pretty quickly orphaned, it’s easy to forget about.
Last time I tried I couldn't get this working with DOSBox. Can someone who knows this stuff well comment on whether this represents an extension of DOSbox capabilities or if I've just missed what DOSbox can already do?
This is a framework for building things that run on DOS (yes, that means running JavaScript on DOS). If what you’re running DOS on has a working parallel port, DOjS can use it.
One of these days, I'll write a TypeScript reinterpretation of an early version of the Macintosh Toolbox, and a little sandboxed web environment for its software to cosplay in
Not exactly what you're looking for, but there's Shell in a Box (see https://github.com/shellinabox/shellinabox), that can create a terminal on a web page, and expose an actual terminal application running on a server.
1: https://apps.apple.com/us/app/idos-3/id1580768213