Re: [cc65] uIP and cc65

From: Agent Friday <64subnet1gmail.com>
Date: 2010-11-08 06:43:36
On Sun, Nov 7, 2010 at 10:40 AM, Oliver Schmidt <ol.sc@web.de> wrote:
> Markus Stehr wrote:
> > Just curious, could one use that from BASIC with a bunch of POKEs and
> > SYSes, as BASIC being the C64s scripting language?
>
> When nothing else helps you have to POKE a short assembly language
> routine setting up registers etc.

Actually, on the C64 that should theoretically never be needed.
You can poke values for the .A, .X, .Y, and .P (processor status)
registers into addresses $30C..$30F, and the SYS command sets the
registers before transferring control to the ML routine.  Upon
return, the registers are also stored so that you can inspect the
returned values.

// Agent Friday
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Nov 8 06:43:43 2010

This archive was generated by hypermail 2.1.8 : 2010-11-08 06:43:45 CET