Super DO2BA v0.2

This is a Model T BASIC tokenizer that can handle ASCII files in the same way as the Model T BASIC itself.

Programs with BASIC lines that are out of order or have duplicate lines will be output as a .BA file with it's base address at 0x8001.
Empty BASIC lines are also supported.

This package comes with KEYWORDS.bin, the content of this file is lifted straight from the Tandy StdROM and it is identical with the Olivetti M10. 
That filename is used by default unless another one is specified like KEYW-N82.bin which I created from scratch for the NEC PC-8201 BASIC.

This program takes 2-3 arguments, the first one being the ASCII input file, then the .BA output file and optionally the keywords file.

I have no idea why the printf("",ptr) at line 89 fixed the weird 16-bit compiler bug which caused a wrong increment by 0x10000. 
It might be possible that this only caused by NTVDM 5.1 as I didn't verified that issue on a real DOS machine.

One last warning: It's possible to create oversized .BA files with this.


T. Sosnow. <t-sosnow@posteo.com>
Visit QWERTZ-tek at http://qwertz.w10.site/ for my other stuff
April 17, 2025
