*** Updated to V1.5 20 May 2012 *** : Added more complete variable dumping, array content is now shown
With this tool you can:
- List the BASIC code
- View the BASIC variables
- View the system variables
- Copy a line of code
- Insert a line of code
- Make the program auto-run at a particular line
- Stop a program from auto-running
- Other great stuff**
ZX81 P-file Utility by SirMorris V1.5
Largely based on ZX81LIST (C) Jack Raats, Steenbergen 1992
Usage:
ZXTool [p-file name] ([option]...[option])
Options:
vrb : verbose. Extra information is printed.
list : produce program listing.
vars : produce variable listing.
sysvars : produce system variable listing.
noauto : stop the program from auto-running.
auto=[line] : make the program auto-run from the specified line number.
extract=[line] : extract program line to temp.q
insert : insert/overwrite program line from temp.q
If no options are specified, a listing is performed.
I use it in conjunction with my Z88DK programming. Once the C is compiled I extract the REM line to a file and then insert it into the BASIC template that I have already prepared. Set the auto-run line number and away I go! It saves loads of time.
There are a couple of things remaining to do - like displaying the values of arrayed numbers and strings in verbose mode, but it's otherwise complete.
Have a play and let me know how you get on!
Charlie
** this is actually a lie.