Re: [cc65] C64 Cartridge Program

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2007-05-19 17:14:05
Hi!

On Fri, May 18, 2007 at 07:02:07AM -0400, Bill Katsak wrote:
> Here is the startup code as I am using it:

I cannot comment about the ROM calls, but at least this:

> ;	lda	$01
> ;       	pha                     ; Remember the value
[...]
> ; Save system settings and setup the stack
>
>         pla
>         sta	mmusave      	; Save the memory configuration

is an error. You're retrieving something from the stack that was never placed
there, because the pha was commented out. 

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat May 19 17:14:16 2007

This archive was generated by hypermail 2.1.8 : 2007-05-19 17:14:20 CEST