SIG Forth for Series 80 - Assembler source found Message #1 Posted by John on 6 May 2006, 2:20 p.m.
Hi,
Thanks to the efforts of Everett Kaiser the original SIG Forth program for the Series 80 (HP-85, HP-87) has been found. This is in Series 80 Assembler language, and contains conditional assembler statements to produce 4 diferent versions, either a binary program or ROM for either the HP-85 or HP-87. (Of course the ROM version would be suitable for either the Programable ROM Module or the PRM-85 module.)
Now the problem is however that I have tried to assemble the source and can't get it to work, so I need some brains to try and solve it and bring this code back to life!
Here's the situation. Everett e-mailed my a disk image in HPWUTIL format. I hadn't come across this before (I use LIFUTIL by default), but found HPWUTIL to work very well. You can download it from Everett's site:
http://www.kaser.com/HPWUTIL.EXE
I have copied the disk image (FORTH.ZIP) to my site, plus the source in ASCII format (gefrt1.txt and gefrt2.txt), into a new zip here:
http://www.vintagecomputers.btinternet.co.uk/hp85/assembler/HP_Series_80_Forth.zip
To use HPWUTIL you first need a floppy formated by a Series 80 machine. Then extract forth.zip to a directory on a DOS (or Windows 98 in MS-DOS mode) machine, run HPWUTIL and find the write menu item to extract the HPW files to a LIF disk. This writes GEFRT1 and GEFRT2 to the LIF disk, which are the two souce files.
I then loaded the floppy into my HP-87A (which has two 128K RAM Modules and the Assembler ROM). I went into Assembler mode and ALOADed the first source file in. In the first few lines are the conditional assembly instructions, I set it to HP-87 Binary program mode and typed:
ASSEMBLE "FORTH",1
to start the assembly. It went through, and loaded GEFRT2. All seemed to be going well, but just towards the end it stopped with a
MEM OVR 19
error, ie a memory overflow. I have no idea why. I then loaded back the GEFRT1 and changed it to produce a HP-87 ROM. This assembled OK, and left a data file on the disk. I modified an earlier program (used for 9915 EPROMs) to load in the data file, and found it was 33 records long, each record was a string of 125 characters except the last string (around 12 characters). This is just over 4000 bytes, so seems a bit short. I copied this to an EPROM, the file for this is in the above zip file (suitable file convertors are format83 and hex-bin at http://www.bookcase.com/library/software/msdos.util.convert.decode.html).
I burnt this to EPROM, loaded it into a Programmable ROM Module, plugged that into my HP-87. I turned the machine on, got the cursor, typed FORTH then the machine crashed - the screen folded and then it reset, so not good.
I tried pasting the source into Olivier's HP-87 emulator:
http://www2.akso.de/files/series_80/Emulator/
but it would load paste in, so I think I need a binary disk image of the source code floppy before trying this again. Also the emulator does not allow new artibary ROMs to be loaded, so I'll drop him an e-mail.
So the key request is, please can anyone with an HP-87 and experience of the Assembler please advise or try and run this code for yourself.
Hopefully this problem can be solved and Forth can once again be run on the Series 80, its been 'lost' for many years so it would be great to bring it back to life.
Thanks & regards,
John
|