Learn FORTH on the VIC-20

Published: 02 November 2023
on channel: My Developer Thoughts
4,017
203

We'll take a quick tour of the FORTH language on the VIC-20 by writing a colorized Hello World application.
We will then port the code to the C64 version of FORTH.

The cartridge ROM and PDF Manual can be found here:
https://www.zimmers.net/anonftp/pub/c...

How to launch VIC Forth within VICE:
File then Attach Cartridge Image
Change the dropdown in the bottom right of the dialog from .CRT to .
Choose the hes-vic-forth.rom file (Single click, dont double click it)
Change the cartridge type dropdown to Generic
Then click Attach

Timeline:
0:00 Intro
0:50 Word
1:24 CR Carriage Return
1:49 Dot Quote
3:05 Error Messages
4:00 Defining Words
5:22 The Dictionary
6:52 The Stack
9:11 Emit
10:20 Constants
11:42 Memory Layout
12:14 Multiplication
13:19 The Editor
14:46 Comments
18:00 Run the program
18:21 Saving to tape
19:20 Loading from tape
20:13 Do loops
22:26 Reading the Jiffy Clock
24:20 ANDing values
25:41 Generate a random number 0-7
27:42 Working with Color RAM
29:48 Using indexes in DO loops
33:50 A colorful Hello World
34:30 Porting it to the C64
36:52 Saving to disk
37:55 Quick preview of the C64 Version
39:00 Closing


Watch video Learn FORTH on the VIC-20 online, duration hours minute second in high quality that is uploaded to the channel My Developer Thoughts 02 November 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 4,017 times and liked it 203 visitors.