home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / useful / reviews / software / programmer / blitzbasic2 < prev    next >
Internet Message Format  |  1994-06-21  |  9KB

  1. Path: news.uh.edu!barrett
  2. From: nicholk@dcs.rhbnc.ac.uk (Nicholas J. Kingsley)
  3. Newsgroups: comp.sys.amiga.reviews
  4. Subject: REVIEW: Blitz BASIC II
  5. Followup-To: comp.sys.amiga.programmer
  6. Date: 21 Jun 1994 16:48:01 GMT
  7. Organization: The Amiga Online Review Column - ed. Daniel Barrett
  8. Lines: 231
  9. Sender: amiga-reviews@math.uh.edu (comp.sys.amiga.reviews moderator)
  10. Distribution: world
  11. Message-ID: <2u75k1$2pk@masala.cc.uh.edu>
  12. Reply-To: nicholk@dcs.rhbnc.ac.uk (Nicholas J. Kingsley)
  13. NNTP-Posting-Host: karazm.math.uh.edu
  14. Keywords: programming, BASIC, commercial
  15. Originator: barrett@karazm.math.uh.edu
  16.  
  17.  
  18. PRODUCT NAME
  19.  
  20.     Blitz BASIC II
  21.  
  22.  
  23. BRIEF DESCRIPTION
  24.  
  25.     A BASIC compiler and editor.
  26.  
  27.  
  28. AUTHOR/COMPANY INFORMATION
  29.  
  30.     Name:        Acid Software
  31.     Address:    10 St Kevins Arcade
  32.             Karangahape Road
  33.             Auckland
  34.             New Zealand
  35.  
  36.     They also have a PO Box in London, England.
  37.  
  38.  
  39. LIST PRICE
  40.  
  41.     I paid 49.95 UK pounds at First Computers.
  42.  
  43.  
  44. SPECIAL HARDWARE AND SOFTWARE REQUIREMENTS
  45.  
  46.     HARDWARE
  47.  
  48.         1 MB RAM required.
  49.  
  50.     SOFTWARE
  51.  
  52.         None.
  53.  
  54.  
  55. MACHINE USED FOR TESTING
  56.  
  57.     Amiga 600 with 2MB RAM
  58.     External disk drive
  59.  
  60.  
  61. INSTALLATION
  62.  
  63.  
  64. OVERVIEW
  65.  
  66.     Blitz Basic 2 ("BB2") comes on three compressed disks.  The first
  67. contains BB2 itself and some programs that were published in Amiga Format
  68. magazine as type-ins.  The others contain games, two of which were also in
  69. Amiga Format.  In addition, some Blitz libraries are included, although
  70. you're not told how to use them nor what they do.
  71.  
  72.     There are also several utility programs.  The first is a (bugged)
  73. program that will convert a bitmap screen, approximately 320 by 200 pixels,
  74. to either bobs or sprites.  The second allows you to set up screens and
  75. graphics for map programs.  You are also supposed to be given a program that
  76. allows you to set up windows icons and gadgets, although I haven't found it
  77. anywhere.
  78.  
  79.     BB2 consists of two parts - the editor and the compiler, discussed
  80. separately below.  The compiler is accessed from the editor using pull-down
  81. menus.
  82.  
  83. THE EDITOR
  84.  
  85.     The BB2 editor is quite basic.  Consisting of no more than 30
  86. commands, it is enough to get programs up and running.  If you don't like the
  87. editor, you could always use your favourite word processor.
  88.  
  89. The commands available include:
  90.  
  91.     NEW                Clear program from memory
  92.     LOAD & SAVE            Load tokenised programs only
  93.     DEFAULTS            Modify tab settings, colours, etc.
  94.     CUT, COPY, DELETE, FORGET    Modify blocks
  95.     SEARCH & REPLACE        Find letters/words
  96.     GOTO                Go to a line number
  97.  
  98. Most important commands include short-hand versions.
  99.  
  100.     If you select commands too quickly, the editor tends to muck up the
  101. screen.  It won't redraw the screen until you select another option or
  102. scroll the screen.
  103.  
  104.  
  105. THE COMPILER
  106.  
  107.     This is where all your basic programs are turned into (very) fast
  108. machine code, although, due to the fact that compiled code is slower than
  109. pure assembly, programs do not run as fast as professional programs
  110. (although they do come quite close).
  111.  
  112.     The compiler has two settings:  1-pass mode and 2-pass mode.
  113. One-pass mode produces much slower code than 2 pass mode, as the code is not
  114. efficient.  In addition, in 1 pass mode only, you can exit a program with
  115. CTRL-C.  This is one of the many things that Acid manage to omit in their
  116. manuals.
  117.  
  118.     The machine code itself is quite small.  The compiler manages to
  119. convert around 200K tokenised text to 64K in 2-pass mode.
  120.  
  121.  
  122. THE LANGUAGE
  123.  
  124.     The language itself is quite good.  You don't need line numbers any
  125. more, and it supports procedures and functions, though procedures are called
  126. "statements" for some reason.  AGA machines are supported with extra colours
  127. and graphics.
  128.  
  129.     All necessary commands are there - commands for string handling,
  130. mathematical calculations, displaying to screen, bitmaps, speech, samples
  131. (you can play only 128K (6 seconds) worth for each sample), sprites,
  132. windows, menus, bobs and structured programming commands (REPEAT/UNTIL,
  133. WHILE/WEND).  For some reason, they've kept the ON GOSUB/GOTO commands as
  134. well as LET.  I would have thought it was about time we got rid of both of
  135. those.
  136.  
  137.     However, extra commands and improvements to the language are
  138. available only to those people who subscribe to the BB2 magazine, which for
  139. a very bugged program (see "The Bugs") is not good at all.  This is where
  140. AMOS manages to excel (the only time it really can), as all of its updates
  141. are in the public domain.
  142.  
  143.     Collision detection is a main problem.  Although fairly accurate, it
  144. will tell you only if you've collided with something, and not which sprite
  145. or bob you've collided with.  This means you've got to slow the program down
  146. by searching for which things you've collided with, using a FOR/WHILE/REPEAT
  147. loop.
  148.  
  149.     BB2 allows you to access all AmigaDOS ROM routines.  The language
  150. handles bytes, words, long words and floating point numbers.
  151.  
  152.     The language has got a thing about using the currently activated
  153. object.  Although a fairly good idea, I do feel it would be much easier for
  154. programmers to just enter one extra parameter for where they would like
  155. their objects to be placed.
  156.  
  157.     Sprites can only be removed from memory if they've been converted
  158. from bobs (for some strange reason).
  159.  
  160.  
  161. DOCUMENTATION
  162.  
  163.     BB2 comes with 2 manuals.  One is a reference guide for most of the
  164. commands available, while the other contains the user guide for programming
  165. and some extra commands that they've added (presumably after they made the
  166. first book).
  167.  
  168.     Like the program, the manuals are full of errors and mistakes.  CLS
  169. they say can be used in Amiga mode (multi-processing mode) or Blitz mode
  170. (disables multi-processing - games mode).  Try as you might, CLS always
  171. returns an error message when used in Amiga mode.
  172.  
  173.     One command (ReMap) they've managed to get in the index of the
  174. reference manual but appears only in the user guide.
  175.  
  176.     The errors messages that they mention at the back of the reference
  177. guide are all the ones that you probably WON'T get - all the important
  178. messages are not mentioned at all, which is very bad.  One of the worst
  179. messages you can get is "ERROR :" (Yes, that is the whole error message).
  180. This normally appears if you try to use a palette before a slice has been
  181. set up.
  182.  
  183.     At the end of the reference guide is a A500/A1000 keyboard layout of
  184. all the RawStatus codes, which can be quite useful.  In addition, it also
  185. gives a technical insight into how the Copper works, and how the language
  186. handles all the technical aspects of the machine.  In addition, all NewTypes
  187. (like the standard "C" structures) are given.
  188.  
  189.  
  190. COMPARISON TO OTHER SIMILAR PRODUCTS
  191.  
  192.     AMOS and HiSoft Basic are the only ones that you should look at
  193. really.  HiSoft Basic is new, so I don't know what it's like.
  194.  
  195.     AMOS is good if you're new to programming; as unlike BB2, the
  196. language does all the hard work for you.  However, with AMOS, you have to
  197. buy a compiler as extra if you want faster programs.
  198.  
  199.     However, unlike AMOS, the amount of support given by BB2 is very
  200. small.  As stated earlier, you have to subscribe to their magazine if you
  201. want anything extra.  PD libraries currently stock only one BB2 program (and
  202. you get the code for that with the main program anyway).  However, BB2 can
  203. produce (with hard work and patience) software that is as good as, if not
  204. much better than, software written with AMOS.  See Skid Marks for a
  205. commercial game written in Blitz Basic.
  206.  
  207.  
  208. BUGS
  209.  
  210.     This is the one part that BB2 excels at.
  211.  
  212.     Bugs in the program are everywhere - the program can crash when
  213. you've loaded the program, when you've exited it, or when running it.  All of
  214. these bugs mean that you have to reset the computer and reload the program
  215. again.  When you load or exit the program, it gives a #80000003 code, and
  216. when running a program, it just crashes.
  217.  
  218.     The worst cases are when you run the program.  Even though you carry
  219. out the error reduction routine as mentioned in the user guide, the program
  220. will always crash if:
  221.  
  222.     A)  You try and open a bitmap that is too big for memory.
  223.     B)  You use some I/O command while in BLITZ mode.
  224.  
  225.  
  226. CONCLUSIONS
  227.  
  228.     The program scores marks for having the compiler built into the
  229. editor and for a very fast compiling and running speed.  However, on the
  230. minus side, the program loses points for all the e