home.social

#djgpp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #djgpp, aggregated by home.social.

  1. I just published v0.99 of #jSH, a #JavaScript scripting environment for #MSDOS. This is the 'little' text-mode brother to #DOjS.

    - fixed `Screen` object.
    - fixed `CGets()`.
    - added missing include
    - updated zip, mbedTLS and curl

    github.com/SuperIlu/jSH

    #RetroComputing #FreeDOS #DJGPP #RetroDev #RetroDevelopment

  2. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated DOStodon binaries to latest #DOjS release v1.14.0

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing both, the DOS ( @DOSBox_Staging ) and the the win32 version (Win10).

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP

  3. I just published v0.98 of #jSH, a #JavaScript scripting environment for #MSDOS. This is the 'little' text-mode brother to #DOjS.

    - updated curl, mbedTLS and zip

    github.com/SuperIlu/jSH

    #RetroComputing
    #FreeDOS
    #DJGPP
    #RetroDev
    #RetroDevelopment

  4. Небольшое ретро-программинг приключение, или как я снова полюбил кодить

    Когда много лет руководишь командами, легко забыть, каково это - просто сесть и закодить что-то самому. Эта статья о том, как я сделал фэнтези-консоль под DOS, и снова влюбился в программирование.

    habr.com/ru/articles/933402/

    #retrogaming #retrocomputers #dos #fantasy+console #allegro #lua #djgpp #opensourсe #gamedev #retro

  5. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.14.1
    - Updated #mbedTLS to 3.6.4
    - Enabled HTTP 3xx redirections

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing both, the DOS ( @DOSBox_Staging ) and the the win32 version (Win10).

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  6. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.14.1
    - Updated #mbedTLS to 3.6.4
    - Enabled HTTP 3xx redirections

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing both, the DOS ( @DOSBox_Staging ) and the the win32 version (Win10).

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  7. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.14.1
    - Updated #mbedTLS to 3.6.4
    - Enabled HTTP 3xx redirections

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing both, the DOS ( @DOSBox_Staging ) and the the win32 version (Win10).

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  8. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.14.1
    - Updated #mbedTLS to 3.6.4
    - Enabled HTTP 3xx redirections

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing both, the DOS ( @DOSBox_Staging ) and the the win32 version (Win10).

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  9. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.14.1
    - Updated #mbedTLS to 3.6.4
    - Enabled HTTP 3xx redirections

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing both, the DOS ( @DOSBox_Staging ) and the the win32 version (Win10).

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  10. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.13.0
    - Updated #mbedTLS to 3.6.3
    - Fixed #win32 version (works on #WinXP or newer), DLLs were missing

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing the win32 version running on Win10.

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  11. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.13.0
    - Updated #mbedTLS to 3.6.3
    - Fixed #win32 version (works on #WinXP or newer), DLLs were missing

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing the win32 version running on Win10.

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  12. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.13.0
    - Updated #mbedTLS to 3.6.3
    - Fixed #win32 version (works on #WinXP or newer), DLLs were missing

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing the win32 version running on Win10.

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  13. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.13.0
    - Updated #mbedTLS to 3.6.3
    - Fixed #win32 version (works on #WinXP or newer), DLLs were missing

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing the win32 version running on Win10.

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  14. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.13.0
    - Updated #mbedTLS to 3.6.3
    - Fixed #win32 version (works on #WinXP or newer), DLLs were missing

    Grab it at github.com/SuperIlu/DOStodon

    Screenshot is showing the win32 version running on Win10.

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  15. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated README because of login-problems with Mastodon 4.3 or newer
    - Uploaded #win32 version (works on #WinXP or newer)

    Grab it at github.com/SuperIlu/DOStodon

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  16. My 2024 #GitHub #recap:

    - Two #DOjS releases and a #win32 port

    - A new release of #jSH

    - Contributed #DJGPP patches to #mbedTLS and #jasper

    - Updated my #BuildRoot GeodeLX repo

    - Updated DOSQLite (#SQLite for MS-DOS)

    - 11 Updates to #DOStodon (#MastodonClient for MS-DOS)

    - Three updates to #httpDOS (#HTTPS server for MS-DOS)

    #MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing

  17. My 2024 #GitHub #recap:

    - Two #DOjS releases and a #win32 port

    - A new release of #jSH

    - Contributed #DJGPP patches to #mbedTLS and #jasper

    - Updated my #BuildRoot GeodeLX repo

    - Updated DOSQLite (#SQLite for MS-DOS)

    - 11 Updates to #DOStodon (#MastodonClient for MS-DOS)

    - Three updates to #httpDOS (#HTTPS server for MS-DOS)

    #MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing

  18. My 2024 #GitHub #recap:

    - Two #DOjS releases and a #win32 port

    - A new release of #jSH

    - Contributed #DJGPP patches to #mbedTLS and #jasper

    - Updated my #BuildRoot GeodeLX repo

    - Updated DOSQLite (#SQLite for MS-DOS)

    - 11 Updates to #DOStodon (#MastodonClient for MS-DOS)

    - Three updates to #httpDOS (#HTTPS server for MS-DOS)

    #MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing

  19. My 2024 #GitHub #recap:

    - Two #DOjS releases and a #win32 port

    - A new release of #jSH

    - Contributed #DJGPP patches to #mbedTLS and #jasper

    - Updated my #BuildRoot GeodeLX repo

    - Updated DOSQLite (#SQLite for MS-DOS)

    - 11 Updates to #DOStodon (#MastodonClient for MS-DOS)

    - Three updates to #httpDOS (#HTTPS server for MS-DOS)

    #MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing

  20. My 2024 #GitHub #recap:

    - Two #DOjS releases and a #win32 port

    - A new release of #jSH

    - Contributed #DJGPP patches to #mbedTLS and #jasper

    - Updated my #BuildRoot GeodeLX repo

    - Updated DOSQLite (#SQLite for MS-DOS)

    - 11 Updates to #DOStodon (#MastodonClient for MS-DOS)

    - Three updates to #httpDOS (#HTTPS server for MS-DOS)

    #MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing

  21. Spending some of my #christmas #vacation #geeking around with #vintagecomputing and getting reacquainted with developing software for #msdos. Last time I did that must have been in the early #90s before I discovered #Linux.

    So far I've given the #djgpp C compiler a go, but it seems a little messy and keep throwing internal errors. #OpenWatcom v2 seems promising, but has a horrible way of doing interrupt calls. The #borland suites seems outdated, but does come with a lot of libraries that the others don't have. I don't believe it can generate protected mode executables though.

    Im actually only looking to do a couple of simple tools, and perhaps some sort of menu/launcher that can scan recursively for configuration files. For the ladder, word around the campfire is that #pdcurses is pretty good at drawing menus and other components in text mode. I'll investigate! Would be a new experience NOT starting by writing my own library for addressing the text mode screen directly.. AGAIN.. 😜

  22. 🧑‍💻Nostalgic DOS Development – Setting up the machine💾
    The modern world is far too complex. Software has become piles of APIs stacked on top of each other, running on virtual machines inside browsers. Even the CPUs themselves are too complex for anyone to understand.

    Let's ditch all that complicated nonsense and go back to a time when computers we
    Read More 👉ncot.uk/nostalgic-dos-developm
    #CProgramming #DJGPP #FreeDOS #Programming

  23. Nostalgic DOS Development – Setting up the machine

    The modern world is far too complex. Software has become piles of APIs stacked on top of each other, running on virtual machines inside browsers. Even the CPUs themselves are too complex for anyone to understand.

    Let’s ditch all that complicated nonsense and go back to a time when computers were complex enough to be useful, but simple enough individuals could still beat on the bare metal without getting lost.

    I figure that if people can get nostalgic over restoring old PCs and playing games on them, we can do the same for programming on them.

    Here’s a step by step guide on how to set up a DOS environment for programming. I’m assuming you’re smart enough to read and follow instructions, so some of the gaps will need filling in with your own imagination and research.

    Getting a DOS Environment

    I’m going to be using 86box, it is an emulation of a PC – literally everything from the motherboard, CPU and video card, and which IDE controller you have to what type of floppy drive is installed.

    86Box has its own instructions they’re easy to follow. Make sure you also install a manager so you don’t have to hand edit the 86box config file. We’re setting up a DOS PC here, getting that running is enough excitement without trying to hand craft a config file.

    Once it’s installed, you need to set up a fairly basic 486DX2/66 system with something like 16MB of RAM and a 500MB hard disk, a floppy drive and a mouse. Make sure it has a VLB or PCI graphics card. All of this is fairly period accurate, so if you don’t want to do this in an emulator you can always use a real computer.

    Installing DOS in 86Box

    It’s best to use FreeDOS, it’s available as an install image, you will probably want the version for legacy systems that comes with a bootable floppy disk image as well as a CDROM.

    Don’t bother installing all the extras for FreeDOS, we just need the OS to boot up. Edit your fdauto.bat and fdconfig.sys files to remove all the junk FreeDOS puts in them. You need a basic DOS environment with an XMS memory manager and a load of free conventional RAM.

    Here is my fdauto.bat (FreeDOS doesn’t call it autoexec.bat don’t mix them up!)

    @ECHO OFFREM Standard AutoExec Batch Fileset DJGPP=C:\DJGPP\DJGPP.ENVset DOSDRV=C:set DOSDIR=C:\FreeDOSset LANG=ENset TZ=UTCset PATH=%dosdir%\BIN;C:\DJGPP\BIN;c:\masm\bin;c:\tcif exist %dosdir%\LINKS\NUL set PATH=%path%;%dosdir%\LINKSset NLSPATH=%dosdir%\NLSset HELPPATH=%dosdir%\HELPset TEMP=%dosdir%\TEMPset TMP=%TEMP%set BLASTER=A220 I5 D1 H5 P330set DIRCMD=/P /OGN /Yset COPYCMD=/-Yset OS_NAME=FreeDOSset OS_VERSION=1.3mkeyb UKcall %dosdir%\bin\cdrom.batMEM /C /NCode language: DOS .bat (dos)

    If you live in the UK, make sure the UK keyboard mapping is enabled!

    mkeyb UKCode language: DOS .bat (dos)

    Here is my fdconfig.sys

    SET DOSDIR=C:\FreeDOS!COUNTRY=044,858,C:\FreeDOS\BIN\COUNTRY.SYS!LASTDRIVE=Z!BUFFERS=20!FILES=40DOS=HIGH,UMBDEVICE=C:\FreeDOS\BIN\JEMMEX.EXE NOEMS X=TEST NOVME NOINVLPGSHELLHIGH=C:\FreeDOS\BIN\COMMAND.COM C:\FreeDOS\BIN /E:1024 /P=C:\FDAUTO.BAT

    At this point you should have a functional DOS PC emulation running in 86Box.

    Installing Development Tools in DOS

    We’re programming in C, and we’re trying to do it without just replicating Linux in DOS. So no vi or Emacs, but we are going to use GCC through the DJGPP compiler tool chain. This is period correct, so it counts. So there.

    For an editor I settled on using something called RHIDE. It has the same look as DOS Edit and the Turbo Pascal and Turbo C++ editors from Borland. I like this style of editor, I wish it still existed.

    Installing DJGPP & RHIDE

    DJGPP can be downloaded from its website, which still exists. They have a very handy zip picker that guides you through choosing the correct files. DJGPP is one of those websites that time forgot, and is still maintained.

    Make sure you tell the zip picker you want to also install RHIDE as your editor so it tells you which zip file to download.

    Getting the files into DOS

    The zip picker will instruct you to download a set of zipfiles along with an unzip utility. Gather these all together into a folder on your host machine.

    The zip picker page also gives you instructions on how to install DJGPP and RHIDE but it doesn’t explain how to get those files into your DOS machine in the first place.

    This is a fundamental limitation with DOS and 86Box. 86Box is a pretty accurate emulation of an entire PC, it isn’t just an emulation layer simulating DOS. So there is no way to access your local machine from inside DOS. The only ways we can get data in and out of the DOS environment is via CDROM images and floppy disk images.

    To get files into our DOS system make use of the virtual CDROM feature in 86Box. First make sure you have a CDROM driver loaded. FreeDOS does this by default and it will tell you when you boot DOS.

    Note that the virtual CDROM is literally read only, you can’t copy files into it from DOS. And you can’t update the files inside it from the host without “ejecting” and reinserting the virtual CD.

    Once you have the files visible in DOS, just follow the installation instructions.

    Getting files out of DOS

    To get files out of DOS is a bit more annoying. About the only way I can easily figure out is to make floppy disk images and then mount them in your host OS.

    First create a new floppy image from within FreeDOS

    Make sure you choose 1.44MB as the size, and put .img at the end for the extension.

    Then, because it’s DOS, format the disk from within DOS

    Now use regular DOS commands to copy files onto it.

    If you then eject the disk image, you can use some sort of floppy mounting tool in your OS to get at the files. In Linux it just seems to sort of know what to do, possibly something similar on a Mac. In Windows you will need a tool like WinImage.

    #CProgramming #DJGPP #FreeDOS #Programming

  24. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Fixed a bug when viewing threads in notification screen.
    - Implemented setting for CW toots (default collapsed or visible)
    - Fixed dates
    - Fixed image viewing
    - Added help to toot editor
    - Changed some colors
    - Updated #curl to 8.9.1
    - Added ALT text for image uploads

    Grab it at github.com/SuperIlu/DOStodon

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS #accessibility #ImageDescription

  25. Ok, if it rains during our vacation I have a new rabbit hole to go down:

    #NodeJS compatibility for #DOjS (partially, not fully)!

    #Javascript #RetroComputing #MSDOS #CreativeCoding #FreeDOS #DJGPP

  26. Had some time to work on #DOjS again.
    I finally was able to make the require() function compatible with the #Nodejs equivalent.

    You can now convert existing Node.js modules to ES5 using Babel and then load them (hopefully) unmodified into DOjS using require()...

    #Javascript #RetroComputing #MSDOS #CreativeCoding #FreeDOS #DJGPP

  27. I've been having fun this weekend playing around with #freedos a bit more. And in today's adventures, I installed #djgpp BASH v4.2 as an alternative shell to command.com.

    Yes, you can have your very own Unix like shell running on top of DOS.

    I feel this is verry cool and based because it opens up the DOS computer to a richer scripting environment. If anyone had experience programming for the 16-bit dos environment, it's that batch scripts can easily push the system's boundaries working with functions and loops. If they aren't pushing boundaries, they can also be rather awkward to work with.

    Bash on DOS opens up a world of complexity and possibility that plain BAT scripts don't have. It's worth giving it a try.

  28. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.8.0
    - Updated #mbedTLS to 3.6.0
    - Added support for NOISE.SYS

    Grab it at github.com/SuperIlu/DOStodon

    If you want to try the #Linux version check out the compilation instructions linked in the README

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  29. I just released v0.0.2 of #httpDOS, a #TLS enabled #webserver for #MSDOS (source and binaries)

    github.com/SuperIlu/httpDOS

    I updated #mbedTLS from 2.28.3 to 2.28.8. This release is untested as I'm on vacation and a lazy bum 😂

    #RetroComputing #FreeDOS #DJGPP #HTTPS

  30. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updated #curl to 8.7.1
    - Updated #mbedTLS to 2.28.8
    - Updated zip to 0.3.2

    Grab it at github.com/SuperIlu/DOStodon

    If you want to try the #Linux version check out the compilation instructions linked in the README

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  31. In the 1990s I used DJGPP to run a small C-based Unix tool I wrote on a DOS machine. Later years Cygwin was more the way I would do cross-platform GCC stuff. I now have even more appreciation for what they needed to do behind the scenes to get DJGPP working. #gcc #djgpp #history #ComputerHistory #RetroComputing
    Running GNU on DOS with DJGPP
  32. I ported the plugins from #DosView to #DOjS, so the next release of #DOjS will contain #TIFF, Sun Raster and #Jpeg2000 loading/writing.

    I also switched #JPEG libraries and #JPG saving will be possible, too.

    I also added a more sophisticated way of detecting keypresses, so creating games with keyboard input will be easier.

    #Javascript #RetroComputing #MSDOS #CreativeCoding #FreeDOS #DJGPP

  33. I ported the plugins from #DosView to #DOjS, so the next release of #DOjS will contain #TIFF, Sun Raster and #Jpeg2000 loading/writing.

    I also switched #JPEG libraries and #JPG saving will be possible, too.

    I also added a more sophisticated way of detecting keypresses, so creating games with keyboard input will be easier.

    #Javascript #RetroComputing #MSDOS #CreativeCoding #FreeDOS #DJGPP

  34. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Updates to #mbedTLS and #curl

    Grab it at github.com/SuperIlu/DOStodon

    If you want to try the #Linux version check out the compilation instructions linked in the README

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS

  35. I pushed an update to #DOStodon (the #Mastodon client for MS-DOS):

    - Display votes with results in the notifications

    - Improve single choice voting dialog

    - Implemented multiple choice voting

    Grab it at github.com/SuperIlu/DOStodon

    #Javascript #RetroComputing #MSDOS #CreativeCoding #MastodonClient #FreeDOS #DJGPP #DOjS