[net.micro.cbm] Discovering C64 'secrets'

goodenough@vogon.DEC (Jeff Goodenough, IPG Reading DEC-UK) (03/18/86)

Marco, maybe you didn't see the second posting I made of the raster interrupt
code.  I was told the first attempt was incomplete.  The instructions
surrounded by [ ] are optional, and show how to set the bitmap into
multicolour mode.  If you want the bitmap in hires mode, you leave these
instructions out.

What you really need to do is catch the first tram into town, and find a
computer store that has the Commodore 64 Programmer's Reference Guide.
This will give you a whole load of information about routines like CHROUT
and how to call them.  It also gives detailed information about programming
the display chip (bitmap, user-defined characters, sprites etc.).  I can't
stress enough how important this book is if you want to do serious
programming.

But even this book doesn't tell you everything.  Look around for a book
with a title like "C64 Whole Memory Guide", or "C64 ROM listings" which
has an annotated disassembly of the Kernel and BASIC ROM's.  This will
enable you to find routines for doing Floating Point etc.

If you mail me a short routing from ihnp4 or similar, I'll mail you the
raster interrupt code directly.

Jeff.

dimitrov@csd2.UUCP (Isaac Dimitrovsky) (03/29/86)

[]
Yes, the Programmer's Reference Guide has lots of useful information,
but I found it unclear about quite a few things. A book that I found
very useful was the C64 Memory Map, by Compute! books. They also publish
several collections of programs that you can type in. With the ref.
guide, the memory map book, and one or two of these books of programs
(buy ones with programs that do things you'd like to know how to do)
that you can type in and then look at with a disassembler, you should
be able to figure out how to do most things.

Isaac Dimitrovsky      251 Mercer Street, New York NY 10012      (212) 674-8652
allegra!cmcl2!csd2!dimitrov (l in cmcl2 is letter l not number 1)

You know the great thing about tv? If something important happens anywhere
at all in the world, no matter what time of the day or night, you can always
change the channel - Jim Ignatowski