This area provides links to known coding languages for the Commodore 64. This includes low-level machine languages (Assembler) up to high-level languages such as BASIC, C, Cobol, Comal, Forth, Fortran, Logo, Pascal, PL/1 or Algol.
Coding languages are instructions for the computer hardware to perform certain tasks. In one way, it could be considered the mode of behavior in which the computer operates-giving directions for doing certain tasks if certain conditions are met.
Overview[edit | edit source]
On the 8-bit Commodore computers, the built-in BASIC serves as both an OS (operating system) and a programming language:
- BASIC V1.0: PET
- BASIC V2.0: C64 (all models), SX-64, VIC-20, PET
- BASIC V2.2: C64GS
- BASIC V3.5: C16, C116, Plus/4
- BASIC V3.6: Commodore LCD (unreleased prototype)
- BASIC V4.0: PET, CBM
- BASIC V4+: CBM-II series
- BASIC V7.0: C128 (all models)
- BASIC V10.0: C65 (unreleased prototype)
You can start programming on your C64 directly by typing the BASIC commands with a line number:
10 X = 0: X$ = "*** MY FIRST PROGRAM ***" 20 POKE 53281,X: POKE 53280, X+1: PRINT: X = X + 1 30 IF X = 30 THEN PRINT TAB(8) X$ 40 IF X < 100 THEN 20 RUN
Written BASIC programs can be saved with the BASIC command SAVE, started with RUN or deleted with NEW. The whole program can be shown on screen with LIST. You can directly modify a written BASIC program through overwriting by using the editor keys: cursor keys, home, insert/del, space and a following return key.
For more information, see C64-Commands.
Enhanced BASIC[edit | edit source]
Simons' BASIC (1983)[edit | edit source]
Simons' BASIC is an extension to BASIC V2.0 for the Commodore 64, and was written by British programmer David Simons in 1983 when he was 16 years old. It was distributed by Commodore as a cartridge, and added 114 additional keywords for bitmap graphics, sprites, sound, structured programming, programming aids, input/output, and more. An upgrade was written by Simons and released by Commodore on floppy disk and tape as Simons' Basic Extension. This software is also known as Simons' Basic 2, and added another 91 commands.
Vision BASIC (2022)[edit | edit source]
Vision BASIC was created by American programmer Dennis Osborn and released in 2022 for the Commodore 64. This development tool provides over 100 new BASIC commands for bitmap graphics, sprites, characters, sound, interrupts, and more. The programming environment includes features such as a memory manager, an improved program editor, simplified disk commands, user-created commands, and complete compatibility with emulators such as VICE and THEC64. All Vision BASIC programs are compiled into extremely fast standalone machine language for execution, and assembly language can be mixed seamlessly with BASIC code to give an even further speed boost.
Links[edit | edit source]