Re: A86: Re: Template Calls?
[Prev][Next][Index][Thread]
Re: A86: Re: Template Calls?
this call allows any call on any ROM page to be called and the current ROM
page saved on the stack. for example, on ROM 1.2 anyway:
call $28CB
.dw $4000
.db $09
would switch to ROM page 9, call $4000, and switch back to the previous ROM
page. the call is pretty much useless for programming purposes because the
ROM calls are all in different places anyway - we must use the calls on ROM
page D, which is automatically loaded for us. however, when disassembling,
it is vital to understand this call. otherwise you will get REALLY lost.
===
Kirk Meyer
_@ibm.net
-----Original Message-----
From: Dux Gregis <assets@eden.rutgers.edu>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Saturday, February 21, 1998 12:55 PM
Subject: Re: A86: Re: Template Calls?
Jimmy Mårdell wrote:
> At 18:17 1998-02-20 -0700, you wrote:
> >
> >At $28CB (on ROM version 1.2) is a routine which places a call to any ROM
> >page. It's format is:
> > call $28CB
> > .dw addr ;address on
> > .db page ;this page
> >However, do not use this call because it may not be the same on all ROM
> >versions. It is however essential in dissassembly etc.
>
> It's at $496F on ROM page $0D, but I'm not sure why anyone
> would use it, because you can't change the contents after
> the call... You could get the address to it, and put it in
> your own program, but that would still serve no purpose,
> since the function you call with that routine most likely
> is probably not at the same address on all ROM versions.
Could you explain exactly what this is and what it does?Btw, the call is
$29d8
on ROM 1.3.