I have been hitting my head on the screen trying to use Turbo Basic on the qlayw emulator. Commands are as follows:
DATA_USE WIN7_
PROG_USE WIN7_
DIR
(SHOWS DIRECTORY OF CORRECT TURBO BASIC FILES)
LOAD TEST_BAS
CHARGE
(RETURNS BAD PARAMETER)
EXEC PARSER_TASK
(RETURNS BAD PARAMETER)
The bad parameter error seems to imply the entry point for the program is being found. I cannot understand the bad parameter error as I was not sure it even needed one!
I have tried with the Minerva and the JS ROM and only the Toolkit2 ROM.
Yes, I have replaced file from a new download to ensure a matched set. I have also set the turbo basic windows disk to be win1_ and ensured boot was to a "clean" QL. I still get the bad parameter error.
The bad parameter error is from the EXEC command, which is not recognising PARSER_TASK as an executable file. You could try using the SEXEC command to re save these files as executable files. So, do something along these lines ...
COPY PARSER_TASK TO PARSER_TASK_old
lenf = FLEN(\PARSER_TASK)
base = RESPR(lenf)
LBYTES PARSER_TASK, base
SEXEC_O PARSER_TASK, base, lenf, 51200
Doing the above would re save the file with a dataspace of 50k, after which both CHARGE and EXEC PARSER_TASK should work.
gregtaylor wrote:....shall have to remember that trick.
No, you shouldn't
You should instead remember that you should never un-zip a zip file intended for the QL anywhere else but on the QL - or emulator. In this case you will never again lose a file header in transit.
Thanks to you both. Turbo is now working perfectly in qlayw. Have been enjoying doing some benchmark programs to test the performance upgrade. All I need to do now is to sit down and read the rest of the manual.