[comp.sys.hp] HP64000 absolute .x to S-record converter wanted

bray@n.cs.uiuc.edu (Mike Bray) (02/27/91)

I'm looking for a conversion utility to convert the HP64000 absolute file
format into Motorola S-records.  I'm using HPUX 7.0 on a series 9000,
model 400.  I'm using the 64870 cross assembler for the 68000, with
the intention of downloading to the Motorola 68332 Business Card Computer.

Thanks,
Mike Bray     bray@cs.uiuc.edu    217-333-5825

rexm@hp-lsd.COS.HP.COM (Rex Mayne) (02/28/91)

>
>I'm looking for a conversion utility to convert the HP64000 absolute file
>format into Motorola S-records.  I'm using HPUX 7.0 on a series 9000,
>model 400.  I'm using the 64870 cross assembler for the 68000, with
>the intention of downloading to the Motorola 68332 Business Card Computer.
>
>Thanks,
>Mike Bray     bray@cs.uiuc.edu    217-333-5825

Good news.... your HP 64870 Cross Assembler/Linker can generate Motorola 
S-record files directly.  There are two ways to accomplish this, 

   A. Use the the "FORMAT S" or "LIST A" command in your linker command
      file.  Either or these will cause the output to be in S-Record 
      format.  
   B. Use the command line option  "-f a"  

Note that you probably want to include the "LIST NOP" command, or use the 
command line option "-f nop" to prevent symbol info from being placed in
the file.

BTW - There is also a product called the HP 64000-UX Utilities Package 
      for the HP 9000 series 300/400 that will allow you to convert 
      .X to S-record among other things. 

Rex Mayne - Hewlett-Packard North American Response Center - Atlanta
rex@hpuerca

kev@hpcpbla.HP.COM (Kevin Jones) (02/28/91)

I assume you've got most of the HP64000 utilities on your system.

Method-A
------------
If you use the "ld68k" linker to produce your executable file:

Invoke using '-fa' in the command line options.
The output generated should be in Motorola S-Record format.


Method-B
-------------
If you use the "ld68k" linker to produce your executable file:

If you use a linker command file then add a line:
"FORMAT S"
to get Motorola S-Records.


Method-C
------------
If you have an HP64000 absolute format file and just want to convert
it into Motorola S-Record format, use:

/usr/hp64000/bin/xlate -f -tmot source_file

NOTE: By default, the "ld68k" linker produces "filename.x" where
      ".x" signifies the file format is IEEE MUFOM.
      To get the "ld68k" linker to produce "filename.X" where
      ".X" significes HP Absolute format, use the "-h" option on
      the command line.


Man pages for "ld68k" and "xlate" exist.

Regards,

Kevin L Jones.


-----------------------------------------------------------------
Kevin Jones.                       | Hewlett Packard Ltd,
                                   | Computer Peripherals Bristol,
kev%hpcpbla@hplb.hpl.hp.com        | Filton Road,
                                   | Stoke Gifford,
Tel: 011 44 272 799910 (ext 22351) | Bristol.   BS12 6QZ.
                                   | ENGLAND.
-----------------------------------------------------------------

This response does not represent the official position of, or
statement by, the Hewlett-Packard Company.  The above data is
provided for informational purposes only. It is supplied
without warranty of any kind.