Commodore_128_BASIC_Programming_Techniques.pdf
(
19041 KB
)
Pobierz
COVERS
COMMODORE
BASIC,
VERSION 7.0!
COMMODORE
128
BASIC
PROGRAMMING
TECHNIQUES
MARTIN HARDEE
TAB
TAB BOOKS Inc.
Blue Ridge Summit, PA 17214
This book is dedicated to my mother, who will never understand computers;
to my father, who is trying; and to my wife, Jan, who routinely puts up with four or five in the house at one time.
Commodore, Commodore 64 and Commodore 128 are trademarks of Commodore Business Machines.
Apple is a trademark of Apple Computer, Inc.
IBM is a trademark of International Business Machines.
CPM + is a trademark of Digital Research, Inc.
FIRST EDITION
FIRST PRINTING
Copyright © 1986 by TAB BOOKS Inc.
Printed in the United States,of America
Reproduction or publication of the content in any manner, without express
permissionofthepublisher, isprohibited. Noliabilityisassumedwith respectto
the use of the information herein.
Library of Congress Cataloging in Publication Data
Hardee, Martin.
Commodore 128 BASIC.
Includes index.
1. Commodore 128 (Computer)—Programming.
2. BASIC (Computer program language) I. Title.
QA76.8.C645H37 1986
005.265
86-14373
ISBN 0-8306-0432-4
ISBN 0-8306-2732-4 (pbk.)
Contents
Introduction
vii
1 A Refreshing Approach to BASIC
1
A Magician's Trade 1
A Walk Down Memory Lane 2
What Makes BASIC Different on the C-128 3
Using DO/UNTIL Instead of FOR .. . NEXT—Formatting Numbers—Inside a String
What's Ahead 5
2 What You Have to Work With
7
The Three Sides of the Computer 7
The 64 Side—The 128 Side—C-64/C-128 Compatibility—CP/M Plus
Commodore 128 Memory 9
What Memory and Power Mean to Programmers—Variable Memory—A Better Type of Memory
Graphic Sides of the Computer 11
The 40-Column Side—The 80-Column Side—Switching Between Modes
Editing Program on the Commodore 128 14
GraphicsSymbolsand Upper-and Lowercase Letters—EscapeCommands Used for Editing—How
to Makea Listing Pause—Splitting and Duplicating Program Lines—Clearingthe Screen from the
Keyboard—Changing Colors—Restoring the Screen
3 A Quick Tour of DOS Commands
23
Preparing Disks for Use 23
When to HEADER a Disk from BASIC—Entering the Header Command
Making Extra Copies 25
Seeing What's on a Disk: DIRECTORY or CATALOG 26
Plik z chomika:
Amiga2509
Inne pliki z tego folderu:
50_Outstanding_Programs_for_the_VIC-20_Second_Edition.pdf
(46148 KB)
1541_Users_Guide.pdf
(34354 KB)
1001_Things_to_do_with_your_Commodore_128.pdf
(24107 KB)
1001_Things_to_do_with_your_Commodore_64.pdf
(7837 KB)
30_Hour_Basic_Commodore_64_Edition.pdf
(24150 KB)
Inne foldery tego chomika:
Add-ons
Zgłoś jeśli
naruszono regulamin