BASIC

From C64-Wiki

Jump to: navigation, search

The acronym BASIC stands for "Beginner’s All-purpose Symbolic Instruction Code", which used to be a very famous programming language from the 70s to the 90s. It was invented in 1964 by John George Kemeny and Thomas Eugene Kurtz. During the last decades various BASIC-dialects have emerged. This article informs you about BASIC for Commodore computers.

Contents

[edit] CBM-BASIC

From the series of PET/CBM 2001 to the home computers C64/128/D/DCR and VC10/20, C16/116, Plus/4, C65, Commodore used an individually developed BASIC-version termed CBM-BASIC. There are several sub-dialects of which BASIC-Version 2.0 is the most popular.

Commodore developed their BASIC under licence of Microsoft in the year 1977 for their systems. On Commodore systems BASIC is not only used as programming language, but also as operating system. BASIC is configured on a ROM-chip.

[edit] Overview BASIC-Keywords Version 2.0

BASIC version 2.0 allows 71 BASIC-Commands in C64/VC20 resp. C128/D/DCR:

ABS AND ASC ATN CHR$ CLOSE
CLR CMD CONT COS DATA DEF
DIM END EXP FN FOR FRE
GET GET# GOSUB GOTO IF INPUT
INPUT# INT LEFT$ LEN LET LIST
LOAD LOG MID$ NEW NEXT NOT
ON OPEN OR PEEK POKE POS
PRINT PRINT# READ REM RESTORE RETURN
RIGHT$ RND RUN SAVE SGN SIN
SPC( SQR STATUS (short ST) STEP STOP STR$
SYS TAB( TAN THEN TIME (short TI) TIME$ (short (TI$)
TO USR VAL VERIFY WAIT  

[edit] Complementary Overview of BASIC-Keywords Version 3.5

BASIC 3.5 is an enhanced version of Commodore BASIC version 2.0 and has been integrated in the home computers C16/116 and Plus/4:

AUTO BACKUP BOX CHAR CIRCLE COLLECT
COLOR COPY DEC DELETE DIRECTORY DLOAD
DO DRAW DS DS$ DSAVE EL
ELSE ER ERR$ EXIT GETKEY GRAPHIC
GSHAPE HEADER HELP HEX$ INSTR JOY
KEY LOCATE LOOP MONITOR PAINT PRINTUSING
PUDEF RCLR RDOT RENAME RENUMBER RESUME
RGR RLUM SCALE SCNCLR SCRATCH SOUND
SSHAPE TRAP TROFF TRON UNTIL VOL
WHILE

[edit] Complementary Overview of BASIC-Keywords Version 7.0

As a further enhancement of Commodore BASIC version 3.5, which is integrated into the C128/D/DCR, the following commands have been added in V 7.0:

  • APPEND
  • BANK
  • BEGIN
  • BEND
  • BLOAD
  • BOOT
  • BSAVE
  • BUMP
  • CATALOG
  • CHAR
  • CIRCLE
  • COLLISION
  • CONCAT
  • DCLEAR
  • DCLOSE
  • DOPEN
  • DVERIFY
  • ENVELOPE
  • FAST
  • FETCH
  • FILTER
  • GO64
  • MOVSPR
  • PEN
  • PLAY
  • POINTER
  • POT
  • RECORD
  • RREG
  • RSPCOLOR
  • RSPPOS
  • RSRPITE
  • RWINDOW
  • SLEEP
  • SLOW
  • SPRCOLOR
  • SPRDEF
  • SPRITE
  • SPRSAV
  • STASH
  • SWAP
  • TEMPO
  • TRAP
  • WIDTH
  • WINDOW
  • XOR

[edit] Links

WP-W11.png Wikipedia: BASIC


Personal tools
Help and Feedback
In other languages