Erratum: Bach BWV 924 from Intro to Basic Part 2

Basic and Machine Language

Moderator: Moderators

Post Reply
User avatar
cryptoboy
Vic 20 Newbie
Posts: 2
Joined: Wed Mar 30, 2016 11:49 am
Location: California

Erratum: Bach BWV 924 from Intro to Basic Part 2

Post by cryptoboy »

The data tape from Colin's Introduction to Basic Part 2 includes a program that plays Bach's Prelude in C (from his "Little Preludes").

(The program on the tape is not reprinted in the book, but the book discusses (starting on p279) the method for creating the BASIC note data.)

I found that it contains three subtle note errors (I'm kinda OCD about Bach). Here's the fixes:

Change an @ to an A
1060 DATA"AH0>@F"
1060 DATA"AH0>AF"

Change a Y to an X
1100 DATA "QYTRQYTQOYRQOXROMYQOMVQMLVOMLTOL"
1100 DATA "QYTRQYTQOYRQOXROMXQOMVQMLVOMLTOL"

Change a 3 to a 5
1160 DATA"LOLHIFHCDGJMCMFL3EHM"
1160 DATA"LOLHIFHCDGJMCMFL5EHM"

I made a youtube video so you can hear the corrected playback.
malcontent
Vic 20 Hobbyist
Posts: 129
Joined: Sun Dec 26, 2010 1:51 pm

Re: Erratum: Bach BWV 924 from Intro to Basic Part 2

Post by malcontent »

This is great. For some reason I really like listening to classical music tracks on c64 There's a lot of good SIDs, but I've not heard much from the vic. Is it A415? ;)
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: Erratum: Bach BWV 924 from Intro to Basic Part 2

Post by eslapion »

An eternity ago, I converted that specific BASIC program to play with square waves on the Commodore 64 instead of the VIC.

I'll try to put these corrections in my archives.
Be normal.
Post Reply