Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.cbm » RE: VIC/C64 music conversion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
RE: VIC/C64 music conversion [message #80458] Mon, 03 June 2013 23:33
wanttaja is currently offline  wanttaja
Messages: 78
Registered: May 2013
Karma: 0
Member
Message-ID: <242@ssc-vax.UUCP>
Date: Wed, 5-Dec-84 13:17:54 EST
Article-I.D.: ssc-vax.242
Posted: Wed Dec  5 13:17:54 1984
Date-Received: Thu, 6-Dec-84 06:01:12 EST
Distribution: net
Organization: Boeing Aerospace Co., Seattle, WA
Lines: 43

>  In December issue of RUN magazine on page 164 is an article and
>  some listings of programs to play Christmas carols.  These are written
>  for the VIC-20.  What must I change to get these programs to run on
>  the C-64?

Your Computer :-).

Actually, one of the nice things about the VIC was the ease of making music.
The C-64 sounds better, but is more difficult to work with.  These are the
steps I would use:

1.  Go through the VIC program, and, using the table in the VIC manual,      
determine the note being played.

2.  Using the C-64 manual, determine the proper two pokes for the equivalent
note.

3.  Using the VIC program, replace the frequency values in the data statement
with the equivalent two pokes for the '64, changing, for example, the "READ A:
POKE 36874,A" type statements with, for example, "READ A:READ B:POKE 54272,A:
POKE 54273,B".

4.  Whereever a VIC voice is poked with a value less than 128 (i.e., turning off
that voice) turn off the C-64 voice by clearing the 0 bit in the voice select
location (54276, etc).  Whenever the voice starts up again, the proper waveform
must first be selected.

5.  At the start of the program, set values for the ASDR... try some sample
values, then adjust to taste.

6.  Of course, don't forget to set the master volume...

Simple as 3.14157, eh?  Now, instead of doing this, run out to your nearest
user group and beg a copy of the Christmas program Commodore was handing out
two years ago... good sound and graphics, if you don't mind a short Commodore
commercial at the end (...ONLY $595).

					    Ron Wanttaja
					    (ssc-vax!wanttaja)

"I can't say much about our profession, but         
 compared with respectibility, it is comparatively honest."
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Review: M/W-350 interface w. ADMATE DP-100 printer
Next Topic: Atari emulator for the Commodore 64
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 08:53:22 EDT 2024

Total time taken to generate the page: 0.01134 seconds