Re:DOjS – A DOS JavaScript Canvas with Sound
by xhrpost on Monday September 02, 2024 @10:05AM
(#41425479)
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?
[ Parent
| on HN ]
Re:DOjS – A DOS JavaScript Canvas with Sound
by SuperIlu on Monday September 02, 2024 @01:25PM
(#41427202)
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 can also (sort of) rename the EXE...
Re:DOjS – A DOS JavaScript Canvas with Sound
by zozbot234 on Monday September 02, 2024 @05:42PM
(#41429029)
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.
Re:DOjS – A DOS JavaScript Canvas with Sound
by SuperIlu on Monday September 02, 2024 @05:51PM
(#41429086)
well, the format maybe, but I have to check if my ZIP library supports that, too...
Re:DOjS – A DOS JavaScript Canvas with Sound
by zxspectrum1982 on Tuesday September 03, 2024 @06:22PM
(#41439925)
I wonder if @jart's Cosmopolitan could target web browsers