Re: [cc65] C64 graphic formats and so on

Date view Thread view Subject view

From: Marko Mäkelä (msmakela_at_cc.hut.fi)
Date: 2002-05-28 14:31:35


On Tue, 28 May 2002, Eivind Fjeld Schjerven wrote:

> I know this may sound stupid, but anyway. Could anyone tell me how
> graphics images are loaded on a c64?

All of the built-in 64-kilobyte RAM is accessible by the video chip.  The
image data must be properly aligned, as the C64 video chip does not have
(m)any configureable address counters.

> More spesific i mean, do you have a image file along with a .prg or do
> I have to store it in some sort of array?

The program file is some sort of an array, a partial memory image of the
64k RAM.  The first two bytes specify the loading address, and the
remaining bytes are copied to the main memory, starting from that address.

> As im only used to coding demos on a PC (since 93), I never made it to
> the c64 scene, thought I would very much like to create something nice
> on it now :) Or do anyone know of a site with general information
> about these kind of issues?

You might want to use an image converter program, such as
<URL:http://www.cs.tut.fi/~albert/Dev/C64Gfx/>.

	Marko

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-05-28 14:31:43 CEST