- 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.
->PC BiosROM checksum tool, ->CharSwapper, ->EasySeriT32, ->Model T Binary to BASIC DATA, ->Super DO2BA
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).
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).
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).
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 main index
--EOF--