J. David Bryan wrote:
I use the HP 10391B Inverse Assembler Development
Package with my 64620
state analyzer. The .R file produced by the IA is nearly compatible with
the 64000. To use it, though, I had to write a program to:
1. strip off that 20-byte header, and
2. alter the NAME record to conform to the 64000 relocatable format
Yeah, I noticed that there was "something" different about the file. I
can get the checksum for the NAME record to match up perfectly, then
there's a DOUBLE record after that. The checksum for that NEVER matches
up and I can't find the criteria for making it do so. My code just hits
the 128-word limit and bails out :-/
The IAL assembler produces a variable-length
field containing the full pathname (drive, directories, filename, and
extension) to the source file. We convert the latter by using the
base filename, which will be eight characters or less, as the IAL
assembler is a DOS program, as the filename. We set the user ID to
"IAL" and the disc number to zero. All other portions of the Name
Record are valid and are copied into the 64000 version, and a new
checksum is calculated.
I'll have a look at that -- for now, all my IAL files have been
assembled in C:\IA, so the filenames are quite short ("C:\IA\I8085.S" as
an example; 13 characters plus the null).
I don't suppose you have some code (or even snippets of code) that you
could share?
Thanks,
--
Phil.
classiccmp at philpem.me.uk
http://www.philpem.me.uk/