On Thursday 20 October 2011, Glen Slick wrote:
On Wed, Oct 19, 2011 at 10:12 PM, Lyle Bickley
<lbickley at bickleywest.com> wrote:
I've been assembling from source code most of
the HP diagnostics for the HP2100 and HP1000 systems. To do so, I used Eric Smith's
original "asm21" - and found that a number of diagnostics didn't assemble
correctly. I updated it - and subsequently Terry Newton joined the project and made more
updates. Between us, over the course of several months, we've managed to debug asm21
to the place where we have not found any more errors in several additional months of use.
Do you have copies of the machine readable source for the diagnostics?
I have seen the scanned hardcopy listings of the source but don't
think I've noticed copies of the original machine readable source on
the net. Did this come from the collection of software Al and the
museum acquired from HP, or from some other source?
bitsavers.org has a treasure trove of HP source code available at:
http://bitsavers.org/bits/HP/tapes/
There's a certain amount of work one has to do in order to create a clean source file
and binary:
1) Find the software/diagnostics you want in the text catalogs
2) Typically, a single piece of software will be spread over a number of source segments
3) Strip the source segments of high order bits and zero characters (Might want to use
cvhp.c code I wrote below)
4) Concatenate the "striped" segments into a single text file (easy under
Linux)
5) Assemble same using "asm21" or SIMH running BCS or RTS (or a "real"
HP 21xx).
cvhp.c source
-------------
#include <stdio.h>
main()
{
int c;
while ((c = getchar()) != EOF) {
if (c) putchar(c & 0x7f);
}
}
One of these days I'll finally get around to running the diagnostics
on my 2113E and 2117F.
Go for it ;-)
Cheers,
Lyle
--
Lyle Bickley, AF6WS
Bickley Consulting West Inc.
http://bickleywest.com
"Black holes are where God is dividing by zero"