[comp.sys.att] UNIXpc 68010 disassembler

dave@arnold.UUCP (Dave Arnold) (07/21/87)

I got 68kdisassem off of comp.sources.unix.
I thought I could just compile it, and wham!  Wrong, what a nightmare.  Not
even close.  I don't know how old this thing is, but It is going to require
alot of work to get it working on the 7300.  There is a patch for SUN computers,
but the patch is a diff -c, so I have to type the 40+ pages of changes in by
hand, then patch the patches to get it to work on the 7300 with it's shared
libraries and stuff.  Anyone already tried this?  If so, did you ever get it
to work?

Dave Arnold

UUCP:	...!seismo!uunet!arnold!davur

krohn@u1100a.UUCP (Eric Krohn) (07/21/87)

In article <129@arnold.UUCP> dave@arnold.UUCP (Dave Arnold) writes:
] I got 68kdisassem off of comp.sources.unix.
] I thought I could just compile it, and wham!  Wrong, what a nightmare.  Not
] even close.  I don't know how old this thing is, but It is going to require
] alot of work to get it working on the 7300.  

It was written for Unisoft 68000 ports of UNIX System V (although I got it
to work on v7).  Unisoft chose (at least initially) to avoid the work of
using the COFF stuff from System V and instead kept their version of the
old a.out format (that's why the disassembler worked for both v7 and Sys V).
The disassembler worked fine on my Callan Unistar (well,
it did have some minor bugs in the instruction templates that occasionally
gave incorrect instructions).  I plan to eventually port this critter to my
7300 (unless someone beats me to it).  I see two main areas of work:
1) make the disassembler use COFF; and 2) make it generate the 7300 format
assembler.  Both will take time, but should not be terribly difficult.
There will also be a couple Unisoft specific things to fix: figuring out the
default entry address, and something else which pokes in the _v structure (?)
to find some limit on process size.

-- 
--
Eric J. Krohn
krohn@ctt.ctt.bellcore.com  or  {allegra,bellcore,ihnp4,seismo}!u1100a!krohn
Bell Communications Research,	444 Hoes Ln,    Piscataway, NJ 08854