Commodore Computer C16 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour PC/postes de travail Commodore Computer C16. Commodore Plus/4 and C16: Hardware and Advanced Basic Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 14
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Commodore Plus/4 and C16:
Hardware and Advanced Basic
Programming.
Version 1.3
by Janne Peräaho & Anders Persson
Introduction 2
Slow and Fast 2
Restore key 2
Window Command 2
Screen Codes / TED Text modes 3
Default Character Set 4
Your own Character Set 6
Escape codes 6
More special keys 6
ROM 7
How to access rom programs? 7
Kernal jump table 7
3-plus-1 8
Reading the keyboard 9
Limiting the basic memory 9
Format of basic programs in memory 10
Basic tokens 11
Basic optimization 13
AUTHORS
Janne Peräaho E-mail: [email protected]
Anders Persson http://listen.to/boray
ALL DOCUMENTS
This document is part of a document package for Plus/4, C16 and C116 users. The
documents included are:
"basic35.pdf", Janne's original Basic 3.5 manual (more or less)
"short35.pdf", a Basic Quick Guide.
"advanced.pdf", This document - The Hardware and Advanced Basic programming.
"tedmon.pdf", a short description of the built in machine language monitor.
REFERENCES
Commodore Vic-20 and C64 programmers reference manual, Talking to TED by Levente
Harsfalvi, Commodore plus/4 and c16 memory map.
1
Vue de la page 0
1 2 3 4 5 6 ... 13 14

Résumé du contenu

Page 1 - Programming

Commodore Plus/4 and C16:Hardware and Advanced BasicProgramming.Version 1.3by Janne Peräaho & Anders Persson● Introduction 2● Slow and Fast 2● Res

Page 2 - WINDOW COMMAND

these steps: 1. Calculate the total size needed for your machine language programs and/or custom character set. (SIZE) 2. Get the "top of Basi

Page 3 - SCREEN CODES (TED text modes)

EOL is an end of line mark. Its byte value is zero. EOL is used at the end of every Basic line, except the last line. EOP is an end of program mar

Page 4 - DEFAULT CHARACTER SET:

BB 187 RND BC 188 LOG BD 189 EXP BE 190 COS BF 191

Page 5

BASIC OPTIMIZATIONThe following is true for all versions of the 8 bit CBM Basic and is notparticular for Basic 3.5. (At least I think so).GOTO and GOS

Page 6 - MORE SPECIAL KEYS

COMPILERSIf you compile your program into machine language (for example using the Austrocompiler), then none of these rules are true. In fact, constan

Page 7 - KERNAL JUMP TABLE

INTRODUCTIONThe TED chip is the graphics and sound chip of these computers. For a good descriptionand a memory map of it, read this article:http://www

Page 8 - 3-PLUS-1

SCREEN CODES (TED text modes)The Screen memory starts at 3072 by default.The color/attribute memory starts at 2048 by default.Normal Text (the default

Page 9 - LIMITING THE BASIC MEMORY

DEFAULT CHARACTER SET:4

Page 11 - BASIC TOKENS

YOUR OWN CHARACTER SETFirst you have to tell that characters should be fetch from RAM. Thisis done by clearing the second bit of the TED register numb

Page 12

ROMThe C-16's ROM consists of three main parts: BASIC, TEDMON and KERNAL. BASIC is aBasic interpreter, which can run Basic programs stored in RAM

Page 13 - BASIC OPTIMIZATION

LISTN $FFB1 Sends LISTEN out serial bus or DMA disk.TALK $FFB4 Sends TALK out serial bus or DMA disk.READSS $FFB7 Returns I/O

Page 14

READING THE KEYBOARDThe easiest way to read the keyboard from Basic is to use the GET or GETKEYcommands. Here is a third way: PEEK(198). The computer

Commentaires sur ces manuels

Pas de commentaire