SuperIlu

Berlin, Germany, 22.01.2021, 19:12 |
V1.4.0 of DOjS released (Announce) |
TL;DR
* ZIP file access
* Loadable module support
* Raw read/write of HDD/FDD sectors
* cURL/TLS support
https://github.com/SuperIlu/DOjS/releases/tag/v1.40
Version 1.4.0 (The curly conglomerate)
[*] Replaced loadpng+libpng by alpng to reduce EXE size.
[*] Added fast integer array class IntArray
[*] Added ReadInts() and WriteInts() to File, Zip and Socket to speed up data IO.
[*] Improved type checking for parameters.
[*] Added cURL and OpenSSL support.
[*] FIXED: memory leak in editor
[*] FIXED: editor crashed when deleting selected text
[*] Added loadable module support during runtime
[*] IPX, PNG, Allegro3D, COMPort and cURL are loadable modules now
Version 1.3.0 (The ZIPpy serving)
[*] Added ZIP file access through Zip() class
[*] Added StringToBytes() and BytesToString()
[*] Added file name to stack trace for files loaded by Include() and Require()
[*] Added loading of images, fonts, samples, midi files and scripts from ZIP files
[*] JSBOOT/ can now be replaced by JSBOOT.ZIP
[*] Added autostart feature for ZIP files
[*] Added more fonts from Linux Font Project
[*] Fixed crash in context help
[*] Added ReadZIP(), Rename(), MakeDir(), RmDir() and RmFile()
[*] Internal cleanup and removed some duplicate code
[*] Fixed bug in DrawArray() and new Bitmap()
[*] Fixed memory allocation bug where CWSDPMI and MuJS started to use virtual memory because of missing GCs.
[*] Added raw disk access through RawRead() and RawWrite() (and other functions)
[*] Fixed problems with the Makefile and filenames which only happened for fresh checkouts on case sensitive file systems.
[*] Updated build instructions
[*] Fixed ReadBytes() in socket.c
[*] Renamed fxGetMemoryTMU() to fxGetMemoryTmu() --- Javascript on MS-DOS? Try DOjS https://github.com/SuperIlu/DOjS
Fediverse: @dec_hl@mastodon.social |
Japheth

Germany (South), 07.02.2021, 17:17
@ SuperIlu
|
V1.4.0 of DOjS released |
Thanks, very interesting work!
A question about an example: I didn't find out how the examples/midplay.js is supposed to be run. Just trying "dojs -r examples\midplay.js" displays:
Error: cannot open dir 'undefined'. No such file or directory (ENOENT)
The documentation gave no hint either.
tried both in dosbox and pure dos. --- MS-DOS forever! |
SuperIlu

Berlin, Germany, 08.02.2021, 21:51
@ Japheth
|
V1.4.0 of DOjS released |
If I remember right the directory for the MIDI-files is hard coded in the script. If that directory does not exist on your machine you might get that error.
Also: there should have been a stacktrace attached to that error hinting on where in the script it was raised...
does that answer help? --- Javascript on MS-DOS? Try DOjS https://github.com/SuperIlu/DOjS
Fediverse: @dec_hl@mastodon.social |