ZIP BASIC Review

See all articles from CATS v3 n9
Author(s): Narti Kitiyakara
Publication: CATS Newsletter
Pub Details: CATS v3 n9 (Volume 3, Issue 9)
Date: January 1986
Pages: 14

SOFTWARE REVIEW

By Narti Kitiyakara

The Sinc Times, 10/85

Review – ZIP BASIC Compiler

Available from – Knighted Computers

707 Highland St.
Fulton, NY 13069

Price -$19.95 + $3.00 s/h

The Zip BASIC compiler will change some of your BASIC programs into machine code. I say some because the chances are that you will need to write programs especially for compiling, program requirements are:

  • no real numbers
  • single dimensional arrays only
  • one letter variable names only
  • no strings
  • no line numbers greater than 4999

and the program must be relatively small.(I’ve only run out of space because of too many variables, but the compiler takes a good share of the memory).

In spite of these limitations many useful programs can be compiled, and the speed of the compiled program is considerably greater than that of an interpreted one(generally over a hundred times faster). The instruction booklet provides subroutines for RND (an integer format), INKEY$ (returns the ASCII value of the key pressed), STICK, and BEEP functions, no of which are directly supported by the compiler.

The program takes two passes at the BASIC program, during the first pass the listing is displayed, along with any errors Zip finds. If there are no errors, the second pass compiles it to machine language, and tells you the starting address for executing the program. Zip takes its time compiling the programs, however, this is excuseable since you should only use the compiler once on any one program (having developed it with the BASIC interpreter). Is Zip worth the price? Certainly it is if you don’t mind typing in your programs again to fit Zip’s requirements, or if you need the speed of a compiled BASIC (which is still slower than hand writen machine code, but much easier to write). Or, if you just want to play with a compiler, then it might be worth while. It does have one curious characteristic though, it won’t work with HOT Z-AROS (the cartridge form of HOT Z), it just gives an out of data error, and stops. The authors do warn against using it with extra hardware installed, but it’s stange (Zip does work with both the disk drive and printer I have).

One last thing, I’m working on a FORTH disassembler/debugger, I’ve got the disassembler working, but I’m not quite sure what features to add into the debugger. So far it just acts as a single stepper, without allowing you to do anything. I’d appreciate any suggestions from any FORTH lovers among you.