Re: Cassette program header

From: Marko Mäkelä <msmakela_at_gmail.com>
Date: Sun, 8 Aug 2010 20:06:21 +0300
Message-ID: <20100808170621.GD3218@x60s>
On Sat, Aug 07, 2010 at 09:06:43PM -0500, MikeS wrote:
>Someone on another forum was asking how to find the start and end 
>address of a PET machine language program on a cassette and I 
>couldn't remember (if I indeed ever did know ;-) ).
>
>Can any of the gurus here point us in the right direction?

I don't know if it is the right direction for you, but cbmconvert by me 
can process high-level tape images (sometimes called *.csm or *.cas; not 
supported by VICE to my knowledge), among other formats.

Also, my c2nload utility starts with a Commodore cassette header that 
contains the loader. There is a separate loader for each platform. For 
old PETs, there is a loader that uses a BASIC program. For all other 
platforms, the loader "payload" is 2 bytes that redirects the "print" 
vector to the 192-byte cassette buffer, where the fastloader resides.  
You can see the c2nload source code for details.

Best regards,

	Marko

       Message was sent through the cbm-hackers mailing list
Received on 2010-08-08 18:00:37

Archive generated by hypermail 2.2.0.