[comp.sys.amiga] Data Structure and Linking alogrithm

11TSTARK@GALLUA.BITNET (Timothy Stark) (06/16/89)

Hello Users:

    I get my own idea about pointers. I modified my program. I tried
run it (fingers crossed). IT WORKS! I sent you this pervious posting
about struct hunktable <variable>.

             #define hunki(x) (hunk + (x))
             :
             :
             struct hunktable *hunk, *hunkp;

             hunkp = hunki(3);
             hunkp->start = 0;

It works! My compiler is Ultrix C compiler but I have Lattice C 5.02 because
it cannot handle my small 512K memory. I decided to use University's
UNIX system to accelrate developing my program. I will continue to develop
more routines to complete the super disassembler system.

      Does anyone know any alogrithm to links many hunks into single big
hunk using relocation offsets?

Please reply me ASAP. Thanks!

-- Tim Stark

Timothy Stark          Bitnet: 11tstark@gallua.bitnet People/Link: OCS130
Gallaudet University   Internet: 11tstark@gallux.gallaudet.edu GEnie: T.STARK1
P.O. Box 1453, 800 Florida Ave., N.E., Washington, DC 20002
"Gallaudet University is the only university for the deaf in the world."