Re: A86: Template Calls?


[Prev][Next][Index][Thread]

Re: A86: Template Calls?




At 05:41 PM 2/20/98 -0500, you wrote:
>
>Some time ago, in response to a question about finding calls, someone
mentioned
>something about a "template call" to $28CB, followed by 3 bytes,
describing the >ASIC address and the ROM page.  Could someone please
explain what this does 
>or how (or if there is any reason) to use it?
>
Sure. If you do a call $28cb, the three bytes following are the rom page
followed by the ASIC address. The routine will then return, not to after
the call $28cb, but to where that was called from. So the usual procedure
in the rom is to call to a call $28cb instruction on ROM page 0. There's
also one that is similar, but doesn't return. I can't remember the address
for that off the top of my head, but it's right next to the one at $28cb.

--Joshua


References: