Re: [cc65] Autostart ROM VIC-20 or C64 template project?

From: Greg King <greg.king51verizon.net>
Date: 2013-06-30 17:50:01
From: "Jim Brain"; on Friday, June 28, 2013; at 10:42 PM -0400
>
> Asking about zpsave was not to save space; just to understand how I
> should document it; and, if all of this was needed.
> This was at the end of the .s file:
>
> .segment        "ZPSAVE"
> zpsave:
>     .res  zpspace
>
> .bss
> spsave:
>     .res  1
> mmusave:
>     .res  1
>
> It *looks* like it's used in a file called interrupt.s, written by you.
> I just wanted to better understand why the code needs it.

That stuff is needed if the program is started by a BASIC SYS statement,
and if the program can exit (back to BASIC).  It isn't needed by cartridge
ROM programs because they bypass BASIC.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Jun 30 18:50:27 2013

This archive was generated by hypermail 2.1.8 : 2013-06-30 18:50:29 CEST