Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!uwm.edu!archimedes.math.uwm.edu!jgreco
From: jgreco@archimedes.math.uwm.edu (Joe Greco)
Newsgroups: comp.sys.cbm
Subject: Re: Running Pet/CBM Programs on a C64
Message-ID: <5710@uwm.edu>
Date: 13 Aug 90 01:11:46 GMT
References: <1990Aug12.203324.13338@ariel.unm.edu>
Sender: news@uwm.edu
Organization: University of Wisconsin, Milwaukee - Department of Mathematics
Lines: 41

In comp.sys.cbm article <1990Aug12.203324.13338@ariel.unm.edu>, jharper@nunki.unm.edu (JT) wrote:
:I'm totally confused now. I've been trying to get a program originally
:written for a 16K or 32K Commodore Pet/CBM to run on a C64. The program
:is written in Commodore BASIC and I've been able to successfully load
:and list it on a C64. The only problem is that the program contains
:some POKE's which locks up a C64. The POKE's are video and sound
:routines. The video routines are supposed to display Commodore ASCII
:characters on various places of the screen. How can I get this program
:to work on a C64? I remember reading a way in a old issue of Compute!'s
:Gazette of how to make a C64 think it was a Pet/CBM by entering a few
:POKE's. Does anybody have these? I could change the memory addresses of
:the video/sound POKE commands if I knew their equivalents on a C64 but I 
:don't. I'd appreciate any information which could help me get this program
:to work. Please respond via email if possible. Thanks in advance.

This is problematic; there is no universal quickfix.  Screen memory starts
at 32768 on a PET, and 1024 on a standard C64.  Video chip pokes will have
to be converted by hand.  Sound pokes are nearly impossible to duplicate due
to the radical difference in sound complexity.  You're better off recoding
these or removing them entirely.

By the way, you may need to POKE into color RAM as well in order to get
things to appear on the screen.  This is a problem with some Kernal
revisions.

:                                "A stitch in time takes up space.."          
:                                 The Doctor - "Delta and the Bannerman"   

Nice quote.  :-)

... Joe

-------------------------------------------------------------------------------
Joe Greco - University of Wisconsin, Milwaukee - Department of Mathematics
jgreco@archimedes.math.uwm.edu		USnail: Joe Greco
Voice: 414/321-6184				9905 W. Montana Ave.
Data:  414/321-9287 (Happy Hacker's BBS) 	West Allis, WI  53227-3329
#include 
Disclaimer: I don't speak for the Math Department, the University, or myself.