Re: 1 MB image for VIC-20

From: Ojala Pasi 'Albert' (albert_at_cs.tut.fi)
Date: 2001-02-16 09:34:10

> Instead, I'll toss away the 4 first bytes from the pucrunch -c0 header
> and replace it with a byte that specifies a "warp address".  For a game
> residing at $2000-$3fff and $a000-$bfff, this byte would be $40,
> indicating that at $4000, the destination address will warp to $a000.

As a bonus there is a certain symmetry between a wrap address and
a warp address, also in the literal sense. :-)

> I'd like to be able to uncompress non-cartridge games as well.

If they are basic games, you have to call those two basic routines
(equivalent to CLEAR, I think) to set the variable pointers right
after setting the basic end address.

-Pasi
-- 
"Narns, Humans, Centauri .. we all do what we do for the same reason:
 because it seems like a good idea at the time."
	-- G'Kar to Sakai in Babylon 5:"Mind War"
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tml.hut.fi.

Archive generated by hypermail 2.1.1.