CPCWiki forum

General Category => Applications (CPC and CPC-related) => Topic started by: ComSoft6128 on 06:39, 04 June 19

Title: Hybrid BASIC program designed to Run on the CPC and PCW?
Post by: ComSoft6128 on 06:39, 04 June 19
Two BASIC label printers.

The first program is unusual in that appears to be adapted to Run on both the CPC and PCW computers.
While Locomotive BASIC and Mallard BASIC are related I've never heard of any program that Runs under both.
So, would this program work on the PCW?

The second program is by WACCI editor Paul Dwerryhouse.
http://www.cpcwiki.eu/index.php/WACCI (http://www.cpcwiki.eu/index.php/WACCI)


The third program looked at locks the CPC so the video effectively ends when the second program is listed.

https://www.youtube.com/watch?v=uIj4lxOZ_Yg (https://www.youtube.com/watch?v=uIj4lxOZ_Yg)
Title: Re: Hybrid BASIC program designed to Run on the CPC and PCW?
Post by: AMSDOS on 11:09, 04 June 19
Quote from: ComSoft6128 on 06:39, 04 June 19
Two BASIC label printers.

The first program is unusual in that appears to be adapted to Run on both the CPC and PCW computers.
While Locomotive BASIC and Mallard BASIC are related I've never heard of any program that Runs under both.
So, would this program work on the PCW?


The company behind Locomotive BASIC "Locomotive" also wrote Mallard BASIC. Somewhere I was reading about how or why Mallard BASIC was written to become more of a Generic Form of Locomotive BASIC - Generic in that many of the additional Commands Locomotive BASIC used which came from the Firmware ROM were removed from Mallard BASIC to the point that even "CLS" was removed.


Mallard BASIC operated through CP/M 3 which meant that it was only available for CPC6128 and PCW computers.


I think in theory if a BASIC file is saved in ASCII format then yes a File is compatible as Locomotive BASIC can load and run an ASCII file, the loading times are longer when compared to a saved tokenised BASIC file as well as a little bit larger. The File I inspected is utilising different parts to deal with the Mallard BASIC and Locomotive BASIC differences, the most notable thing I noticed was the use of LPRINT which is how Mallard BASIC Prints to the Printer, the Locomotive BASIC equivalent is there as well as PRINT#8.

QuoteThe second program is by WACCI editor Paul Dwerryhouse.


All I knew about LBASE was what I've seen of it from AA59 type-ins (https://www.cpcwiki.eu/index.php/Amstrad_Action_August_1990_Type-Ins). I never typed it in probably because of the size of it or being Printer Based I guess, which was probably just as well because its one horribly large BASIC 1.1 programme which AA failed to mention, making use of CLEAR INPUT as well as CURSOR. I can simulate CLEAR INPUT easily in BASIC 1.0, but haven't dealt with CURSOR much.

Title: Re: Hybrid BASIC program designed to Run on the CPC and PCW?
Post by: ComSoft6128 on 13:44, 04 June 19

Thanks for the info AMSDOS,

It also looks American in origin as it refers to "State" and "Zip code" - not local terms around here!
Powered by SMFPacks Menu Editor Mod