BBC BASIC programming tips
MDFS::Info.Comp.BBCBasic.ProgTips Search

DropPAGE.txt  Dropping PAGE to increase BASIC memory.
ShortcutIF  Shortcutting ANDs and ORs in IF statements.
Tokens.txt
Tokenise
Tokenising BBC BASIC program code.
Format.txt Determining BBC BASIC file format.
BBCFile BBC BASIC code to read and write Acorn format BASIC data files written and read with PRINT# and INPUT#.
BBCFile.vb Visual basic code to read and write Acorn format data files written and read with PRINT# and INPUT#.
BBCFile.c 'C' code to read and write Acorn format data files written and read with PRINT# and INPUT#. NOTE - UNTESTED, PROBABLY CONTAINS ERRORS.
CRCs.htm Calculating 32-bit ZIP CRCs (ZIP CRC-32) and 16-bit CRCs (X/Y/ZMODEM, Acorn RFS/CFS).
I couldn't believe how difficult it was to track down actual code for calculation CRC-32 cyclic redundancy checks for ZIP files instead of piles of in-depth theoretical treatment, so I have put together here the code for BBC BASIC, 6502, Z80, ARM, PDP-11 and C.
Primes.txt
Primes
Comparison of various prime number algorithms.
CoProCode
AS.SRC
VList.src
*NEW* Writing machine code utilities that interact with BASIC.
AssemIF *NEW* Conditional assembly with the BASIC assembler, IF/ELSE/ENDIF.
6502 ON ERROR LOCAL
LocalErr (L)
LocalError (L)
LOCALERROR
CursorKeys
VDU
Windows ProgTips Programing tips for BBC BASIC for Windows.

Any of this code can be used in your own programs. If you use it in a commercial product, please acknowledge the source in the documentation.


Best viewed with Any Browser Valid HTML 4.0! Authored by J.G.Harston
Last update: 23-Jun-2021