- My other programs -

Here's a small collection of small programs I wrote, mostly command-line for Win32 and DOS.
I don't feel like making a bunch of seperate pages for these ones.

- Hardware profile Screensaver -

This "screensaver" starts another screensaver depending on the current Hardware profile.
It is easy to setup. Set it as your Screensaver in the Windows control panel and use the user friendly settings dialog of that to define which Screensaver should start under which HW-Profile.
Resource Hacker can be used to translate this program without compiling a new version.

Both ANSI and Unicode versions are available, as well as a German translation.

This runs on Windows 95/NT4 and newer.

Download the ZIP here. (source files and Win32 binaries compiled with Open Watcom).

- Rayman 1 DOS VIGNET.DAT extractor and packer -

That file contains a bunch of XORed .PCX files (for load, event, credits screens and backgrounds).
PCX files usually have a lot of zeros in their header making them easy to detect.

Download the ZIP here. (source files and DOS/Win32 binaries compiled with Open Watcom).

- Rayman Designer DAT extractor and packer -

These files contain several other XORed files stored in a archive format with names up to 8 characters. The format was easy to figure out just by looking at that with an hex editor.

Download the ZIP here. (source files and DOS/Win32 binaries compiled with Open Watcom).

- PC BiosROM checksum tool -

I wanted a simple and quick way to correct the checksum on PC ROMs or else the BIOS won't execute them.

So I spent some time searching on the net for one but after 10 minutes I figured that I'll could write my own faster than I'll could find a good one. So in the end I just did, which explains the humorous error messages.

This should work with any size, it will change the last byte of the file to make 8-bit checksum match 0x00.

Download the ZIP here. (source file and DOS/Win32 binaries compiled with Open Watcom).

- CharSwapper -

I got inspired to write this after looking at the disassembly of TRSIBM.CO for the Tandy 200 (which you can find in M100SIG/Lib-10-TANDY200).

The provided default tables are for converting special characters to ANSI and for Codepage 850 (I think).
The table consists of byte pairs and mustn't exceed 512 bytes. This program will swap found characters around in both orders, so the first match found in the table will be used.

I mostly use this to correct ÄÖÜ and ß in textfiles written on my Olivetti M10.

Download the ZIP here. (source file and DOS/Win32 binaries compiled with Open Watcom).

- EasySeriT32 -

Now this is more like a package for an simplistic Win32 Shellextension but it comes with one super tiny program that has like 32 effective lines of C code which just rediects a COM port to STDOUT but strips out CR (0x0D) and terminates at EOF (0x1A).

This adds handy functions to the Windows Explorer contextmenu for easy and simple textfile transfer from Model T Laptops over serial.

Download the ZIP here. (installation instructions, support files, source file and Win32 binary compiled with Open Watcom).

- Model T Binary to BASIC DATA -

This is used to the create the BASIC DATA statements for my HOTKEY.BA versions.

This takes a binary file with the assembled code and a logfile containing the STDOUT of the A85 cross-assembler along with the special print commands.
The logfile should contain markers on addresses to be relocated by the actual installer run on the Laptop, as well as the gaps between the REM lines.
The output will contain the DATA statements with line numbers and the REM placeholders to store the installed code at the end.

Download the ZIP here. (source file and DOS/Win32 binaries compiled with Open Watcom).

- Super DO2BA -

I wasn't impressed with the performance of all available Model T BASIC tokenizers (even the built-in one inside VirtualT).
None of them worked so flexible as the one used by the Model T BASIC internally.
What I mean with that is the way how lines out of order, duplicate ones and even empty* program lines are handled.

I wrote this to mimic the way how the Model T does it but with the processing power of an "modern PC".
The code is sure a mess but I didn't encountered any issues with my tests, except when I made the 16-bit version. It was a dumb compiler bug but managed to find a workaround by accident while debugging with printf().

This takes a ASCII textfile containing the BASIC program and optionally a keyword file in the Tandy format.
Keyword file for the Tandy (same as Olivetti M10) named KEYWORDS.bin (default name) and another one for NEC named KEYW-N82.bin are included.

*BASIC line with just the linenumber but no statements

Download the ZIP here. (source file and DOS/Win32 binaries compiled with Open Watcom).

Return to the main index

smallpgms.html © T. Sosnow.
Last updated: August 19, 2025 20:41