VOGONS


First post, by SuperIlu

User metadata
Rank Newbie
Rank
Newbie

Hi,

my pet project DOjS went V1.0 today.
It is a Javascript runtime for MS-DOS with integrated editor, 2D/3D drawing, sound, midi, joystick, etc support.
It supports 3dfx Voodoo cards for 3D rendering.

Please see the project page on GitHub for binaries, source code and more details.
Some features:

  • 8/16/24 and 32 bit 2D graphics. On >=24bit display modes alpha channel transparency is available.
  • Keyboard input
  • Mouse input
  • Joystick/Joyport input
  • File IO
  • MIDI output
  • WAV output
  • Audio input/sampling
  • Allegro 3D rendering (software)
  • 3dfx/Glide3 3D rendering output (hardware)
  • p5js compatibility
  • direct io-port access

Cheers
Ilu

http://twitter.com/dec_hl - Four 8086 have 64bit as well!

Reply 1 of 5, by xjas

User metadata
Rank l33t
Rank
l33t

Woah, that's really cool. I might keep this in mind for my next game jam.
Is it possible to compile standalone binaries from Javascript programs with this? I know that's not really what JS is "for", but it'd be neat to be able to do. 😀

Nice work though!

twitch.tv/oldskooljay - playing the obscure, forgotten & weird - most Tuesdays & Thursdays @ 6:30 PM PDT. Bonus streams elsewhen!

Reply 2 of 5, by SuperIlu

User metadata
Rank Newbie
Rank
Newbie

Hi xjas,

no, sorry, the scripts are not compiled but interpreted.
But you can create a BAT file which invokes DOjS with the right parameters to run a given script without showing the editor.

cheers Ilu

http://twitter.com/dec_hl - Four 8086 have 64bit as well!

Reply 3 of 5, by SuperIlu

User metadata
Rank Newbie
Rank
Newbie

I release V1.1.0 yesterday.

  • Improved MIDI support
  • Added COM port access
  • Added LPT port access

Grab the binaries while they are still hot...
https://github.com/SuperIlu/DOjS

http://twitter.com/dec_hl - Four 8086 have 64bit as well!

Reply 4 of 5, by Jo22

User metadata
Rank l33t
Rank
l33t

Thank you! 🙂👍

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 5 of 5, by SuperIlu

User metadata
Rank Newbie
Rank
Newbie

New release of DOjS on https://github.com/SuperIlu/DOjS/releases

Version 1.2.0 (Watt is that?)

  • Added TCP/IP support through WATT32.
  • Fixed bug where text mode was not restored after exiting DOjS
  • Added File.GetSize(), File.WriteBytes() and File.ReadBytes()
  • Added fixnewlines target to Makefile.
  • Updated syntax highlighting file.
  • Switched JSDoc documentation to better-docs
  • Improved editor
    • Quoted strings are now GREEN
    • The cursor positioning at the end of line is more usable.
    • 50-line mode can now be selected on the command line
    • Fixed CTRL-L/Go to line
  • Fixed bugs in p5js compatibility layer
    • endShape() polygon drawing
    • lerpColor()
  • Cleaned up startup messages in logfile.
  • Re-added PNG loading/writing

http://twitter.com/dec_hl - Four 8086 have 64bit as well!