CP/M on an HP-86/87XM



#2

I have a nice HP-87XM system that I was going to sell. I wanted to include the CP/M Module as well but I don't seem to be able to get the CP/M to boot.

The system has 384K of RAM, the CP/M module and I have an original CP/M disk. But, when it tries to boot, I get an error saying, "operating system not on drive A, please correct and hit any key" or something to that effect.

Drive A?

Should I have a 2nd disk? Is this a sign that my CP/M disk is bad? I have a 2nd CP/M module and it behaves the same.

Does the CP/M module have to be in a specific slot?

Is there any setup required besides just booting from the floppy?


#3

Sorry for the delay, I had to find the CP/M module first :-)

You only need one floppy, here is the directory:

[ Volume ]: HPCP/M
Name Type Bytes Recs
CP/MSYS DATA 256 1021
Autost PROG 256 5
CP/M BPGM 256 25

Autost is a Basic program:

10 PAGESIZE 24
20 PRINTER IS 705
30 FLIP
40 LOADBIN "CP/M"
50 END

File CP/MSYS is the CP/M filesystem (your DRIVE A). If you try to use the native COPY utility, you are likely to corrupt this file. You have to use the CP/M PIP command.

The floppy behaves like typical Autost floppies: if the
floppy is in the drive, the system loads Autost, runs
it and boots into CP/M, if the floppy is inserted after
the 87 boots into Basic, you can still LOAD and RUN the
Autost program and boot into CP/M. If you press [SHIFT] RESET
you get back into Basic.

Once CP/M is up, you can do a DIR and see the files that
exist inside the CP/MSYS (filesystem) image.

BTW, if you happen to have the software for the HP 82900A
terminal emulation co-processor, then this should be usable
with the CP/M module, since the actual hardware card is the
same for both systems. Unfortunately, I do not have this S/W.

**vp


#4

Sadly, I have an original disk and it still does not boot. That doesn't mean that it wasn't overwritten at some point.

My program file list matches what you have here. The autost program is slightly different but that is a file that is configured to match ones system so it makes sense that it might be different. For instance the printer is at a different location.

I suspect that my master disk may be corrupted.

Thanks,

Mike


#5

Hi, Mike;

I'm not aware of using CP/M, but I found some troubles on floppy system disks in other systems that were solved by starting with another disk drive unit. I'm not sure if you can do one of these:

- prepare another CP/M startup disk (or system disk)

- use another disk drive unit

- clean the head(s) of the existing drive unit

As I mentioned, I never used any CP/M-based system, I just thought about this and maybe it's nonsense. Anyway, maybe current drive (the one you are usiing) is able to read disk information and disk contents, but somehow it cannot read startup (system) data. I once found a multi I/O (daughter)board that was able to do enything EXCEPT prepare a hard disk as a system disk. I tried whatever you can imagine: use another I/O board, prepare another hard disk, use the same hard disk prepared in another computer, use the "bad" daughter board in other computers... That multi I/O board was not able to write startup information. It was able to read but write. And the problem was only when using that board.

There are things one must go too deep inside the system's inner secrets to explain...

Qapla' (as Ernie thought me as being Klingon's world for Success!) Please, let us know if/when you succeed.

Luiz (Brazil)

Edited: 9 Aug 2003, 3:08 p.m.

#6

OK, then I'll send you a boot floppy.

For the rest, here is a list of what I had to do to create the new diskette:

Conventions: I assume you have two floppy drives and you are booting from the lower numbered one. This will be drive A (like in MS/DOS). The second drive will be drive B.

To copy the boot floppy you have to boot with it and when you are within
the CP/M environment you have to perform the following steps

1) Format diskette and install the CP/M system files

Run the FORMAT command, select option 2 (Create CP/M system diskette),
and follow the instructions.

2) Copy user files from the master diskette

Assuming the master disk is on drive A, and the new disk on drive B,
use PIP B:=A:*.*

Warning: Unlike most systems, the PIP syntax is Destination := Source

3) Use DIR A: and DIR B: to confirm that the files have been copied.

Notes: The FORMAT command is not a standard CP/M command, it was developed by HP for the Series 80 CP/M emulator.
I do not have the HP CP/M documentation, but you can download the CP/M 2.2 OEM docs from http://www.cpm.z80.de/manuals/cpm22-m.pdf

**vp


#7

It worked!

I guess I hadn't tested the original masters as I thought I did. I tried again and it booted. Guess I won't need that floppy.

The images below show the boot screen.

Photo 1: This is what the CP/M boot screen looks like

Photo 2: This is a screen that shows results after creating a new Master CP/M disk.

Photo 3: This shows the same disk when viewed using CAT from the BASIC environment.

Now, how to get a bootable 3.5" disk

Thanks VP


Edited: 9 Aug 2003, 8:25 p.m.


#8

I have used a 9121 3.5" disk all along, so there is nothing
fundamentally wrong with CP/M and 9121 disks.

The setup I have here does not have 5.25" disks. I have
a 9121 (HP-IB device 0), a 9122 (HP-IB #4, used with the EMS ROM) and a ThinkJet printer (HP-IB #5).

CP/M has the following drive allocation:

   DRIVE           CP/M
9121 left drive A
9121 right drive B
9122 left drive E
9122 right drive F

So there is a gap in the drive numbering (C and D are missing).

My guess is that maybe CP/M does recognize all your floppies but you don't know what drive letters to use.

Try booting CP/M with both types of floppy connected and then try using drive letters till the floppy access led lights.

I have done this scan by placing a normal HP-85 floppy on the 9122 right drive (not a CP/M floppy) and executing
DIR B:, DIR C:,
DIR D:, DIR E:, etc
till the drive mechanism engaged.

**vp


#9

I had to swap my drive letters to make my 5.25 the boot drive. Then, it was a simple matter to format a 3.5" disk on drive E: and copy the system files to the 3.5" disk.

Now, I have CP/M bootable from 5.25" or 3.5" depending on the drive letter setup.

You have been a great help. There is a lot of good documentation here.

Thanks,

PS: I owe you one, or two, or three

Edited: 10 Aug 2003, 12:24 a.m.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP 86/87 - CP/M Ph.Théry 3 1,491 05-27-2013, 04:02 AM
Last Post: Olivier De Smet
  CP/M on HP-86B Stephen Pereira 10 3,574 06-27-2012, 06:02 PM
Last Post: BobVA
  HP-80 Series & CP/M Stephen Pereira 7 2,466 05-16-2012, 06:34 AM
Last Post: Juergen Keller
  OT: CP/M-68K for HP 9000 Series 200 computers Juergen Keller 5 1,734 09-22-2010, 10:09 AM
Last Post: Olivier De Smet
  HP-86 CP/M 3.5" boot image? J. Wesley 0 820 11-12-2008, 08:16 PM
Last Post: J. Wesley
  hp 86 and hp87 basic programming oswaldo 9 2,537 11-29-2006, 08:46 PM
Last Post: oswaldo
  Data Structure on a 12C/CP -- sorting, median Katie Wasserman 2 1,168 06-17-2006, 05:53 PM
Last Post: tony(nz)
  HP-86/87 Service ROMs - whip round request John 1 842 04-12-2006, 10:22 PM
Last Post: Howard Owen
  HP 12c and HP 12 cp at CES Kalevipoeg 2 1,152 01-11-2006, 10:13 AM
Last Post: Gene Wright
  HP 86A/86B/87A/87XM ROM query John 5 1,539 12-21-2005, 05:07 AM
Last Post: john

Forum Jump: