A85: ROM Browser


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

A85: ROM Browser




When I said just look for ret intructions I hadn't put a lot of thought
into "routine finding."  I can still be done of course.  Any non
conditional jp or ret that can't be bypassed would mean the end of a
function. Ex:

TI_MUL:
ld a,(hl)
...
jr z,Overflow
add a,24
ret
Overflow:
ret c
ld a,0
ret
*FUNCTION ENDS HERE*

My previous method seemed a little too simple.  So my current method would
be scan for absolute rets and jps, if a conditional jr or jp is
encountered, follow it only if it jumps forward, continue searching for
absolute jps and rets...
I don't think I overlooked anything this time.

I would write a program like this but I've got lots of work, and midterms
are coming up.

later,

-Humberto Yeverino Jr.

"I kick ass for the Lord."

***********************************************************
Home Page:                                               
  http://www.engr.csufresno.edu/~humberto/Home.html      

Ti Page:                                                 
  http://www.engr.csufresno.edu/~humberto/tex.html       

z80 Source Page:                                         
  http://www.engr.csufresno.edu/~humberto/z80source.html 

Official Tyrant Home Page:                              
  http://www.engr.csufresno.edu/~humberto/tyrant.html    

E-mail:                                                  
  humberto@engr.csufresno.edu                            
***********************************************************


Follow-Ups: