Commodore Computer C16 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Barebones pro PC / pracovní stanice Commodore Computer C16. Commodore Plus/4 and C16: Hardware and Advanced Basic Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 14
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 0
1 2 3 4 5 6 ... 13 14

Shrnutí obsahu

Strany 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

Strany 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

Strany 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

Strany 4 - DEFAULT CHARACTER SET:

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Komentáře k této Příručce

Žádné komentáře