Documente Academic
Documente Profesional
Documente Cultură
BLITZ I 128
A BASIC Compiler
for
Commodore 128
from
Instruction Manual
by
Bob Skyles
Table of Contents
Subject
1. INTRODUCTION • 1
Restrictions • 4
Special Instructions • 5
2. OPERATION 7
Compiling 7
Single Drive • 8
Dual Drive •• 8
2 Disk Drives • 12
3. DETAILS .17
Compilation .17
6. MACHINE LANGUAGE
· · · · · · · · · · 31
ii
(blank)
iii
BLITZ I 128 INTRODUCTION
Page 1
INTRODUCTION BLITZ! 128
Page 2
BLITZ! 128 INTRODUCTION
EXTENSIONS
Overlay
DONGLE PROTECTION
Page 3
INTRODUCTION BLITZ I 128
Restr iction s
Page 4
BLITZ I 128 INTRODUCTION
Special Instructions
1. REM ** NG = NO GRAPHIC-ARRAY
If a GRAPHIC command is discovered during
the compiling process BLITZ I 128 reserves 9
Kbytes for the HI-RES screen. However
GRAPHIC 5 (80 column text) the 9 Kbyte area
is not needed. With the use of this special
instruction, the 9 Kbyte area is not
reserved. However it is only necessary to
use this special command when extremely long
programs (greater than 220 blocks) are
compiled. The instruction is need only once
in the first program when a multiple program
compiling option is chosen (sub options 2,
3, and 4).
Page 5
INTRODUCTION BLITZ I 128
Special Instructions
5. •• = EXTENSION
When BLITZ I 128 comes across an EXTENSION
command it does not recognize (Compiler
message ?SYNTAX ERROR) it will skip them if
they are proceeded by two colons (::). The
entire expression between the "::" and the
next ":" is skipped by BLITZI 128 and passed
to the BASIC interpreter during program
execution. If your program has intentional
delay loops that you do not wish changed use
the double colon to cause BLITZ I 128 to
leave them uncompiled. Note that if a BASIC
command is treated as an extension all
related commands must also be treated as
extensions. For example; FOR - NEXT or OPEN
- PRINT, INPUT, - CLOSE.
Page 6
BLITZ I 128 OPERATION
Compiling
e = english
d = deutsch
It is suggested that the "E" key be selected.
programname:?
Page 8
BLITZ I 128 OPERATION
Compile •••
please selectl
programname:?
Page 9
OPERATION BLITZ I 128
Page 10
BLITZ I 128 OPERATION
programname:?
Page 11
OPERATION BLITZ I 128
Compile •••
4. = allprograms on device 8 to
emty disk in device 9 with
OVERLAY feature
5. = singleprogram to device 9
without runtime routines
please se1ectl
Page 12
BLITZ I 128 OPERATION
Compiling option 3 and 6, 2 DISK DRIVES
Page 13
OPERATION BLITZ! 128
Page 14
BLITZ I 128 OPERATION
programname:?
Page 15
OPERATION BLITZI 128
blank
Page 16
BLITZI 128 DETAILS
Page 17
DETAILS BLITZ I 128
Run-time routines.
Data statements as found in the whole
program.
P-Code (your actual program).
Table of variables.
Page 18
BLITZ I 128 DETAILS
Sub Option 1
Page 19
DETAILS BLITZ I 128
Sub Option I
Page 20
BLITZ! 128 DETAILS
Sub Option 1
Example:
Sub Option 2
Page 21
DETAILS BLITZ I 128
Sub Option 2
Example
Sub Option 3
Page 22
BLITZ I 128 DETAILS
Sub Option 4
Sub 0Etio n 4
Examp le:
Sub 0Etion 5
Page 24
BLITZ I 128 ERROR CORRECTION
Forew ard
SYNTAX ERROR
TYPE MISMATCH ERROR
UNDEFINED STATEMENT ERROR
Page 25
ERROR CORRECTION BLITZ I 128
Foreward
Example:
9909=520
Page 26
BLITZ! 128 DIFFERENCES: BLITZ! 128 - BASIC
Capacity
Stop Key:
Continue
Integer Arithmetic
Extensions
Page 27
DIFFERENCES: BLITZ 1 128 - BASIC BLITZ 1 128
Functions
Arrays
Page 28
BLITZ! 128 DIFFERENCES: BLITZ! 128 - BASIC
FOR-NEXT
Example:
insert REM ** FI I
(this will run in BASIC)
Overhead
Page 29
DIFFERENCES: BLITZ I 128 - BASIC BLITZ I 128
blank
:.
! i 1 '
Page 30
BLITZ I 128 MACHINE LANGUAGE