Coding Languages

From C64-Wiki
Jump to navigationJump to search
Site Under Construction Sign This article or section is in the process of an expansion or major restructuring and is therefore classed as a work in progress. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.


Coding and modify a BASIC program

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]

BASIC V3.5 - Start screen of Commodore Plus/4.

On the 8-bit Commodore computers, the built-in BASIC serves as both an OS (operating system) and a programming language:


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]

Start screen of Simons' BASIC.

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]

WP-W11.png Wikipedia: Computer_programming