VIC-20 Listings

Books > Commodore 64/VIC 20 BASIC


Commodore 64/VIC 20 BASIC (US)
Richard Haskell & Thomas Windeknecht
Prentice-Hall, 1983

Download all programs from this book on one disk:


C64-VIC20-BASIC.d64

13 programs

Chapter 8: Displaying the flag: Learning about FOR...NEXT

Program Author Requirements Files Info
Flag

Page 72.
Richard Haskell & Thomas Windeknecht Unexpanded flag.prg
Screenshot
Displays the American flag.

Controls:
None.

Chapter 9: Subroutines: Learning to use GOSUB and RETURN

Program Author Requirements Files Info
Jeff

Pages 78-82.
Richard Haskell & Thomas Windeknecht Unexpanded jeff.prg
Screenshot
Displays the name Jeff using 3D letters.

Controls:
None.

Chapter 10: Making bar graphs: Learning about READ...DATA

Program Author Requirements Files Info
Population

Pages 86-89.
Richard Haskell & Thomas Windeknecht Unexpanded population.prg
Screenshot
Displays population statistics on a horizontal bar chart.

Controls:
None.
Economy

Pages 92-95.
Richard Haskell & Thomas Windeknecht Unexpanded economy.prg
Screenshot
Displays economic statistics on a vertical bar chart.

Controls:
None.

Chapter 11: Learning to GET what you want: An alternative to INPUT

Program Author Requirements Files Info
Interactive Drawing

Pages 97-102.
Richard Haskell & Thomas Windeknecht Unexpanded interact-draw.prg
Screenshot
Simple art program, make your own lo-res pictures.

Controls:
W (up), X (down), A (left), D (right), Q,E,Z,C (diagonal), G (select character).
Fighter Plane

Pages 102-105.
Richard Haskell & Thomas Windeknecht Unexpanded fighter-plane.prg
Screenshot
Displays a fighter plane that you can move around the screen.

Controls:
W (up), X (down), A (left), D (right), L (fire left phaser), R (fire right phaser).

Chapter 14: Learning to PEEK and POKE

Program Author Requirements Files Info
Cards

Pages 137-139.
Richard Haskell & Thomas Windeknecht Unexpanded cards.prg
Screenshot
Displays three playing cards: Jack, Queen & King.

Controls:
None.
Making Scales

Pages 139-141.
Richard Haskell & Thomas Windeknecht Unexpanded making-scales.prg
Screenshot
Plays a musical scale.

Controls:
Enter the voice (0-3) and duration.
Produce Clicks

Page 141.
Richard Haskell & Thomas Windeknecht Unexpanded produce-clicks.prg
Screenshot
Makes a series of clicking/beeping sounds.

Controls:
Enter the pitch (128-255), separation (seconds) and number of clicks.
Phaser Noise

Pages 141-142.
Richard Haskell & Thomas Windeknecht Unexpanded phaser-noise.prg
Screenshot
Plays a phaser sound effect.

Controls:
Enter the number of cycles (e.g. 10), starting pitch (e.g. 200), ending pitch (e.g. 130) and pitch increment (e.g. -6).
Siren Sound

Page 142.
Richard Haskell & Thomas Windeknecht Unexpanded siren-sound.prg
Screenshot
Plays a siren sound effect. The suggested values sound like an old-fashioned ambulance.

Controls:
Enter the number of cycles (e.g. 5), starting pitch (e.g. 130), ending pitch (e.g. 180), pitch increment (e.g. 0.3) and holding time (e.g. 1).

Chapter 15: Learning to put it all together

Program Author Requirements Files Info
Hangman

Pages 155-162.
Richard Haskell & Thomas Windeknecht Unexpanded hangman.prg
Screenshot
Hangman game. You must guess the hidden word before you are hanged.

Controls:
Type your guess for each letter.
VIC Organ

Pages 166-172.
Richard Haskell & Thomas Windeknecht Unexpanded vic-organ.prg
Screenshot
Music program, play tunes on the computer.

Controls:
A-J (play note), 1-3 (select octave).

With thanks to DLH's Commodore Archive and Internet Archive for making this book available in PDF format.

VIC-20 Listings <http://www.vic20listings.freeolamail.com/>
Copyright (C) R.M. Smedley 2023, All Rights Reserved.
This page was last updated 25-Mar-2023.