Here is something I have worked on the weeking.
It's some testfiles for un-crunching BASIC programs.
The txt files are the LIST output of those programs, so they are matching exactly the way the BASIC INTERPRETER does the uncrunching of each basic line of the program. (Classic99 was used with LIST "CLIP" to generate those txt files)
If you compare that to the available tools (TI99DIR, imagetool,...) you will see that all have some issues in recreating that same syntax.
Output from TI99dir of Line 4 of XBCMD1
Output from TiImageTool of Line 4 of XBCMD1
4 ACCEPT VALIDATE ("YN"):R$
while if you LIST the program in the TI99 you will see:
4 ACCEPT VALIDATE("YN"):R$
XBCMD1 contains examples for XB commands from A-P
XBCDM2 contains examples for XB commands from P-Z
XBCMD3 contains quote examples
XBCMD4 contains all characters within strings from 0 to 255. Here the txt File fails for line 100 because it interprets some control character.
The examples for XB commands are mostly taken from the XB Manual and are only extended by me if insufficient.
I will create some more testfiles and add them as Unit Tests to Web99, so in case i touch the code, I immediately see if I broke some behavior. Feel free to do the same for your projects or use the files to manually test your tool during development.
Btw: The programs can be loaded, but running them makes no sense, their purpose is to find out if your Tool decodes a TiFile into the Basic Source Code the same way the Basic Interpreter does.
Please provide feedback if you want to use it, so I can provide you with updates.
unittest.dsk 180KB 14 downloads
XBCMD1.txt 5.25KB 12 downloads
XBCMD2.txt 2.21KB 7 downloads
XBCMD3.txt 348bytes 7 downloads
XBCMD4.txt 425bytes 8 downloads
Edited by kl99, Mon Dec 7, 2015 3:34 AM.