It lets you write ZX81 Basic files with a text editor on your PC and translate it to a P-file.
This new version has a lot of corrections and a number of surprising additions.
First of all there is no need to select lable-mode or number-mode any more. This is done automaticly.
You can write line numbers or leave it. And you can have labels as well. You can reference a label then
as its line number or as its address in memory.
The second big thing is that you can write your source Basic-program as a batch file that will
call T2P.EXE itself when startet. So write the text as batch. Just start it. It will translate and even start
EightyOne (or any other program) with the created P-file. (The simple text file mode is still available)
Just an example of such a batch file:
Code: Select all
@echo off
t2p %0
if errorlevel 1 echo &pause&goto END
start %~n0.p
:END
exit
#AUTOSTART=1
@Start:
print "demo2"
100 for x=1 to 3
print x
next x
goto @Start
Here we have a label "@Start" and later a line number "100". And some lines without any of them.
All this can be found on my site http://www.swatosch.de/zx81 with downloadable demos and documentation in German and English and a video showing how to start with T2P.EXE.
enjoy
Matthias