Author Topic: Hybrid BASIC program designed to Run on the CPC and PCW?  (Read 217 times)

0 Members and 1 Guest are viewing this topic.

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.052
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1154
  • Likes Given: 2207
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


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
« Last Edit: 08:41, 04 June 19 by ComSoft6128 »

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.624
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 890
  • Likes Given: 1545
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.

Quote
The second program is by WACCI editor Paul Dwerryhouse.


All I knew about LBASE was what I've seen of it from AA59 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.

* Using some of the hardly used Amstrad compilers :D
* I use Firmware in my Assembly code :P
* Have interpreted some BASIC 1.1 programs for BASIC 1.0. :)

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.052
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1154
  • Likes Given: 2207

Thanks for the info AMSDOS,

It also looks American in origin as it refers to "State" and "Zip code" - not local terms around here!
« Last Edit: 15:46, 04 June 19 by ComSoft6128 »