home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 54,826 of 56,720   
   fadden to Enrico   
   Re: APW C 1.0B4 ...suggestions....anyone   
   15 Jun 21 08:05:47   
   
   From: thefadden@gmail.com   
      
   On Monday, June 14, 2021 at 1:56:57 AM UTC-7, Enrico wrote:   
   > I'm relying on CiderPress disassembler capability to look into APW's CLIB   
   because, being a library, it has no relocation information and most   
   disassemblers that I've tried won't deal with it. (do you have any suggestions   
   on that topic?)   
      
   To disassemble a IIgs load file (S16, EXE, PIF, etc), one needs to replicate   
   the system loader behavior.  To disassemble a IIgs OBJ or LIB file, one also   
   needs to replicate linker behavior.  The SourceGen OMF converter only acts   
   like a loader.   
      
   One thing you might try is to write a simple program that references every   
   function in the library, compile and link it into an EXE, and disassemble   
   that.  A simple table of function pointers ought to cause the linker to pull   
   in the functions.  Assuming    
   that works, then depending on how everything gets laid out in the binary,   
   creating it as an array of {pointer, "name"} structs might help keep things   
   straight while poking around.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca