MCODER III - the ultimate BASIC compiler.

1. MCODER III is the only BASIC Compiler on the market that
will compile "off the shelf" BASIC programs straight into
machine code with no modifications necessary. Unlike other
compilers, MCODER III handles floating point and string
arrays along with all other BASIC commands (except: CAT
ERASE FORMAT MOVE MERGE) to turn your slow BASIC programs
into super fast machine code.

Please note: The use of MCODER III for commercial programs
is restricted. For further details please write to PSS, 452
Stoney Stanton Rd, Coventry, CV6 5DG.

2. MCODER III - Instructions.

Before reading any further, type in the following small program:

10 FOR F=1 TO 50
20 CIRCLE 128,90,F
30 NEXT F

Keeping a careful eye on your watch, run the program by
typing GOTO 10/ENTER. Finished? O.K. Now type LOAD "" CODE
and load MCODER III. When it has loaded, keep an eye on the
second hand of your watch and re-run the program by typing
GOTO 10/ENTER again. A little bit faster eh? You have just
transformed a BASIC program into machine language. You can
transform any BASIC program with MCODER III even if there
are floating point calculations in it.

3. TO USE MCODER III

Load your BASIC program into your Spectrum in the normal
way. Type LOAD "" CODE and load MCODER III. When the first
part of the compiler has loaded and is running, stop your
tape player. When PLAY appears on the screen, restart the
tape player and allow the second part of MCODER III to load
and run. After compiling, you can save the compiled program
as normal. To run the program, use GOTO XX where XX is the
first line of your program.

SPECIAL POINTS

(a) STRINGS & ARRAYS must have constant dimensions. ie. DIM
b (i,j) is illegal and would provoke an error 3. DIM a
(10,20,30) is legal. Neither can you re-dimension an
existing array.

(b) REM statements are kept at the beginning of a program.
This allows you to have some "pure" machine code routines in
1 REM for example.

(c) CAT ERASE FORMAT MOVE are non-compilable instructions.

(d) MERGE: Impossible with a compiled program.

(e) LIST LLIST: Of no interest with a compiled program.

(f) ERRORS: If an error is produced, that line can be listed
upon pressing ENTER, but to recompile you should type NEW,
re-load the BASIC program and modify it before re-loading
MCODER III and re-compiling.

(g) PLAY: When this appears on the screen, it is the signal
to restart the tape player and finish loading MCODER III.

(h) OK: Compilation is complete. Save the program before
running it.

(i) MICRODRIVES: The commands that are modified by the
presence of an Interface 1 (eg. LOAD*, SAVE* ...) will cause
a syntax error. On the other hand, you can use microdrives
to save compiled programs on condition that the microdrives
have been used (and the PROG pointer moved) before
attempting to compile; ie. simply use the command CAT 1
before starting work.

One final point; for trouble free use of MCODER III, ensure
that (a) your BASIC program doesn't use any restricted
commands, and (b) ensure the BASIC program runs as it should
before compiling.

MCODER III (c) 1985 PSS, ERE
