Re: Pet basic-2 save different than C64?

From: William Levak <wlevak_at_SDF.ORG>
Date: Tue, 7 Feb 2017 15:00:45 +0000 (UTC)
Message-ID: <Pine.NEB.4.64.1702071452510.288@sdf.lonestar.org>
On Mon, 6 Feb 2017, Francesco Messineo wrote:

The PET loader is non-relocatable.  It assumes a start address of 1024.
The address in the program is actually at 1025-6, with a zero at 1024.

The C64 does not save the zero, and saves the actual address as the first 
two bytes of the program. This is incompatible with the PET.

If you want to transfer BASIC programs to the PET, use Commodore's PET 
Emulator on the C64. It will load C64 programs correctly, but will save 
them Compatible with the PET.

wlevak@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

       Message was sent through the cbm-hackers mailing list
Received on 2017-02-07 16:00:07

Archive generated by hypermail 2.2.0.