On Tue, Mar 15, 2016 at 9:55 AM, Kurt McCullum <[email protected]> wrote:
> As many of you know, I've been searching for the RAM versions of Sardine > for quite some time. Bob P. located the 200 version but the 100 and NEC > versions are still unaccounted for. Looking at Gary's 8201.net site > brought me to the BINCON utility. This aids in converting a model 100 CO > file to one that will run on an NEC. This is done by using a cross > reference table to create a new CO file with the proper machine language > locations in ROM. > > This got me thinking. Would it be possible to create a cross reference > table that would work in reverse. Say a 200 CO file to NEC or a 200 to 100? > I realize the there is far more to the conversion such as starting memory > locations but I wanted to float the idea out to see if it seems plausible. > I believe the data for such a table exists on Bitchin100. > > I think an automatic utility is unlikely to work because computer science (halting problem) But a good recursive disassembler plus a mapping table of entry points is what you need. I am not sure there is a one to one mapping though (some ROM code exists on one platform on not the other, or the API / changed registers is different, etc.) so in some cases custom code would still need to be written. The fact that the code was originally cross platform is also a point in your favor. Maybe they use a subset of features of both ROMs -- John.
