Star Micronics Radix User Manual page 247

Table of Contents

Advertisement

Kaypro,
Osborne
6
Other CPlM
Computers
233
Using MBASIC
Many CPlM computers
use Microsoft
BASIC (called
MBASIC). If you have a CPIM-80 computer that uses Microsoft
BASIC the program listings given here should work with your
computer also.
MBASIC is a very close relative of the IBM-Microsoft BASIC
used in this book. The only difference is that MBASIC "inter-
prets" CHR!$(S) and substitutes a group of spaces to simulate a tab.
You can send a horizontal tab to Radix by using
CHR$(137)
instead of CHR!$(S).
Some versions of Microsoft BASIC will add a carriage return
and line feed at the end of every 80 (or sometimes 132) characters.
To print lines longer than 80 (or 132) characters (as when doing
dot graphics) you must define a wider printer width. The follow-
ing statement will prevent the computer from inserting unwanted
codes.
18 WIDTH LPRINT 255
Listing pmgmms
Microsoft BASIC uses the "L" prefix on several commands to
direct them to the printer. To list programs on the printer, just type
LLIST. To direct program output to the printer, use LPRINT in
place of PRINT.
Progmm Listings
The following programs are in Microsoft BASIC for the
Kaypro.
Download
&am&r
editing utility
18 'Program to allow editing down-load characters.
29 'for the RADIX printer.
3P '
f@ 'Initialization.
5p! DIM Z(8,12),MM(ll)
60 WIDTH 255
70 AS=33 :

Advertisement

Table of Contents
loading

Table of Contents