Re: LZ: Rom Calls


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

Re: LZ: Rom Calls



Brian M. Greer wrote:
> 
> How do you find the address of a function in your ROM? I dissambled my
> ROM file, but I have no idea how to extract out the functions so that I
> can use them in ZShell. It would be nice to be able to call the menu
> function from a ROM-call instead of drawing one everytime I need one.


If you now z80 assembly you should be able to understand the
disassembled 
code. The rpboelm is to find out where functions start and end. Normally
it is at any JP or RET, but you have to check that it is not part of a
data area (look in ti-rom). When you have founds the start of a function
just look at the code and find out what it does.
<pre>
-- 
_______________________________________


Dines Justesen
Email: dines@post1.com or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________
</pre>


References: