Post Reply 
[emu71] - about :HDRIVE1
03-29-2015, 12:28 AM
Post: #1
[emu71] - about :HDRIVE1
I have been trying to initialize a HDRIVE1 for the emu71 v. 1.06 in order to transfer a SOFTROM of the MATHROM into a physical HP-71B. But it is not working out any well...

emu71-vice:
I have loaded the HP-IL--ROM into port 0.
MATH-ROM into port 2.

The HDRIVE1.DAT is 32 KB and in the same folder as the emu71.exe

When I run the command: INITIALIZE :HDRIVE1, 2000 I get the error message;
HP-IL ERR: Device Not Ready.

I have a HP-PIL BOX and a 32 KB RAM for my HP-71B. Have not yet cutted the cables. When I connect the PIL-BOX I get 3 blinking red LEDs.

Questions:
1. How do I format the HDRIVE for use with the emu71?
2. How shall I do in order to proceed with my task?

TIA
/Matti
Find all posts by this user
Quote this message in a reply
03-29-2015, 03:19 AM
Post: #2
RE: [emu71] - about :HDRIVE1
(03-29-2015 12:28 AM)MattiMark Wrote:  Questions:
1. How do I format the HDRIVE for use with the emu71?
2. How shall I do in order to proceed with my task?

It looks like you're following Marcus' HP-71 Math RAM article. The problem is you're using Emu71/Win and Marcus' method uses Emu71/DOS which has HP-IL devices, like HDRIVE1.

To copy the MATHROM to an IRAM:
1. Use ROMCOPY to copy the ROM to a LIF file.
2. Use ROMCOPY to copy the file from the LIF file to the IRAM.
3. POKE the first 8 nibbles of the IRAM with zeros as ROMCOPY changes them.

As far as INITIALIZING HDRIVE1, I think you have the volume label and filename confused. Also, the volume label can only be 6 characters long. There are a couple of ways to create a LIF file. Here's one:
1. Create an empty text file and name it MYLIF.dat
2. Mount MYLIF.dat in ILPer.
3. Execute INITIALIZE :2. This creates a variable-length LIF file. There's also a way to create a LIF file that's 616kB in size, exactly like a 9114 disc.

Dave
Find all posts by this user
Quote this message in a reply
03-29-2015, 08:19 AM
Post: #3
RE: [emu71] - about :HDRIVE1
(03-29-2015 03:19 AM)Dave Frederickson Wrote:  3. POKE the first 8 nibbles of the IRAM with zeros as ROMCOPY changes them.

This is not needed, and it will not work with a RAM module. If these nibbles are zero, the RAM will be used back as main memory and the port content will be lost at the next HP-71B turn-on. Actually, this is why ROMCOPY is setting these nibbles.

I'm assuming you are now too much FRAM71-oriented :-)

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
03-29-2015, 02:35 PM
Post: #4
RE: [emu71] - about :HDRIVE1
(03-29-2015 08:19 AM)J-F Garnier Wrote:  
(03-29-2015 03:19 AM)Dave Frederickson Wrote:  3. POKE the first 8 nibbles of the IRAM with zeros as ROMCOPY changes them.

This is not needed, and it will not work with a RAM module. If these nibbles are zero, the RAM will be used back as main memory and the port content will be lost at the next HP-71B turn-on. Actually, this is why ROMCOPY is setting these nibbles.

I stand corrected. Optional for FRAM71.

Quote:I'm assuming you are now too much FRAM71-oriented :-)

You make having 1040k of RAM in my 71B sound like a bad thing. Smile
Find all posts by this user
Quote this message in a reply
03-29-2015, 04:06 PM
Post: #5
RE: [emu71] - about :HDRIVE1
I still don´t get it...

I have done this:
1. Created an empty MYLIF.dat file
2. Started ILPer with MYLIF.dat as Mass Storage LIF-file.
3. The ILPer gives no output.
4. In emu-71 I try to run INITIALIZE :MYLIF, but I only get an error messange....

Any help would be much appreciated.

/Matti
Find all posts by this user
Quote this message in a reply
03-29-2015, 04:20 PM (This post was last modified: 03-29-2015 04:25 PM by Dave Frederickson.)
Post: #6
RE: [emu71] - about :HDRIVE1
(03-29-2015 04:06 PM)MattiMark Wrote:  I still don´t get it...

I have done this:
1. Created an empty MYLIF.dat file
2. Started ILPer with MYLIF.dat as Mass Storage LIF-file.
3. The ILPer gives no output.
4. In emu-71 I try to run INITIALIZE :MYLIF, but I only get an error messange....

Any help would be much appreciated.

/Matti

You're confusing the device specifier with the LIF filename. With ILPer being the only device on the loop, :1 will be a PRINTER device and :2 will be a MASSMEM device.

1. Can you assign DISPLAY IS PRINTER? This should duplicate the 71 display on the ILPer printer window.
2. Can you mount any of the LIF images in the collections?
3. With MYLIF mounted in ILPER, the correct format of the command would be INITIALIZE :2.

Dave
Find all posts by this user
Quote this message in a reply
03-29-2015, 04:35 PM
Post: #7
RE: [emu71] - about :HDRIVE1
Dave,

I cannot do any of the operations that you mentioned...

/Matti
Find all posts by this user
Quote this message in a reply
03-29-2015, 05:17 PM (This post was last modified: 03-29-2015 05:18 PM by Dave Frederickson.)
Post: #8
RE: [emu71] - about :HDRIVE1
(03-29-2015 04:35 PM)MattiMark Wrote:  Dave,

I cannot do any of the operations that you mentioned...

/Matti

You need to get the PIL-Box and ILPer working before you can proceed.

If you're running Windows:
1. Did you get the driver installed?
2. Does the PIL-Box show up as a USB Serial Port in Device Manager?
3. Ensure ILPer is configured to match the device in 2.
Find all posts by this user
Quote this message in a reply
03-29-2015, 05:57 PM
Post: #9
RE: [emu71] - about :HDRIVE1
Yes, I am running Win 7 Pro 64 bit.

A.1 The driver (CDM v2.12.00 WHQL Certified) installs without errors.
A.2 No, I cannot see any PIL-BOX in the Device Manager. (Where is it supposed to show up?)

/Matti
Find all posts by this user
Quote this message in a reply
03-29-2015, 06:18 PM
Post: #10
RE: [emu71] - about :HDRIVE1
(03-29-2015 05:57 PM)MattiMark Wrote:  Yes, I am running Win 7 Pro 64 bit.

A.1 The driver (CDM v2.12.00 WHQL Certified) installs without errors.
A.2 No, I cannot see any PIL-BOX in the Device Manager. (Where is it supposed to show up?)

/Matti

The USB-Serial Port driver shows up under Ports (COM & LPT). Mine says USB Serial Port (COM6). Configure ILPer for COM6 at 115k. Also, go to the Advanced Settings for the COM port and set the Latency Timer to 1ms.
Find all posts by this user
Quote this message in a reply
03-29-2015, 06:22 PM
Post: #11
RE: [emu71] - about :HDRIVE1
(03-29-2015 05:57 PM)MattiMark Wrote:  Yes, I am running Win 7 Pro 64 bit.

A.1 The driver (CDM v2.12.00 WHQL Certified) installs without errors.
A.2 No, I cannot see any PIL-BOX in the Device Manager. (Where is it supposed to show up?)

/Matti

Answer 2 continued: I can see an USB to serial converter using the FTDI driver. But it doesn´t indicate PIL-BOX.

When I try to run 'both' IL-PER and PIL-BOX using the same port number, I get an error: COM port not available.

Oh what a mystery.
Find all posts by this user
Quote this message in a reply
03-29-2015, 07:34 PM
Post: #12
RE: [emu71] - about :HDRIVE1
(03-29-2015 06:22 PM)MattiMark Wrote:  
(03-29-2015 05:57 PM)MattiMark Wrote:  Yes, I am running Win 7 Pro 64 bit.

A.1 The driver (CDM v2.12.00 WHQL Certified) installs without errors.
A.2 No, I cannot see any PIL-BOX in the Device Manager. (Where is it supposed to show up?)

/Matti

Answer 2 continued: I can see an USB to serial converter using the FTDI driver. But it doesn´t indicate PIL-BOX.

When I try to run 'both' IL-PER and PIL-BOX using the same port number, I get an error: COM port not available.

Oh what a mystery.

The driver won't identify the port as the PIL-Box. We need to determine if that is indeed the correct COM port. With Device Manager open and showing the USB Serial Port, if you unplug the PIL-Box does the port disappear? If so, then you've correctly identified the COM port.

Once ILPer is up and running, if you're still having problems, double-check your HP-IL cable wiring.
Find all posts by this user
Quote this message in a reply
03-30-2015, 12:40 PM
Post: #13
RE: [emu71] - about :HDRIVE1
(03-29-2015 06:22 PM)MattiMark Wrote:  Answer 2 continued: I can see an USB to serial converter using the FTDI driver. But it doesn´t indicate PIL-BOX.

When I try to run 'both' IL-PER and PIL-BOX using the same port number, I get an error: COM port not available.

Oh what a mystery.

Here are my suggestions to check the PIL-Box/ILPer operation:
1. connect the PIL-Box to the PC USB (without ILPer running) and to the HP-71B
2. do RESTORE IO on the HP-71B
3. if there is an error, then the HP-IL cables are not connected correctly
4. launch ILPer and select the right COM port in the list (it is usually the last COM port number)
5. select the 115kps speed (unless you changed the jumper in the PIL-Box),
6. Press [START]
7. if there is still a message error relative to the COM port, retry with a different COM port from the list.
8. when there is no more COM port error, enable the scope window in ILPer
9. do RESTORE IO again on the HP-71B
10. you shoud see: "IFC AAU AAD 01" in the scope windows.

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
03-30-2015, 05:34 PM
Post: #14
RE: [emu71] - about :HDRIVE1
Hi,

Items 1 trough 8 works. No. 9 does not show up anything on the ILPer...

What am I doing wrong?

Matti
Find all posts by this user
Quote this message in a reply
03-30-2015, 06:36 PM (This post was last modified: 03-30-2015 06:40 PM by Dave Frederickson.)
Post: #15
RE: [emu71] - about :HDRIVE1
(03-30-2015 05:34 PM)MattiMark Wrote:  Hi,

Items 1 trough 8 works. No. 9 does not show up anything on the ILPer...

What am I doing wrong?

Matti

Make sure you have the Scope box checked. Your should see this:

[Image: ILPer.JPG]
Find all posts by this user
Quote this message in a reply
03-30-2015, 07:10 PM
Post: #16
RE: [emu71] - about :HDRIVE1
(03-30-2015 05:34 PM)MattiMark Wrote:  Items 1 trough 8 works.

This is good news ! Everything seems ok regarding the COM port.

(03-30-2015 05:34 PM)MattiMark Wrote:  No. 9 does not show up anything on the ILPer...
(03-30-2015 06:36 PM)Dave Frederickson Wrote:  Make sure you have the Scope box checked. Your should see ...

You can do, as a final test:
PRINTER IS 1
and
PRINT PI (for instance)

This is now just a mater of using the HP-IL from the HP-71B.
The printer window is at address 1, and the mass storage at address 2.

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
03-30-2015, 07:49 PM
Post: #17
RE: [emu71] - about :HDRIVE1
(03-30-2015 07:10 PM)J-F Garnier Wrote:  
(03-30-2015 05:34 PM)MattiMark Wrote:  Items 1 trough 8 works.

This is good news ! Everything seems ok regarding the COM port.

(03-30-2015 05:34 PM)MattiMark Wrote:  No. 9 does not show up anything on the ILPer...

You can do, as a final test:
PRINTER IS 1
and
PRINT PI (for instance)

This is now just a mater of using the HP-IL from the HP-71B.
The printer window is at address 1, and the mass storage at address 2.

J-F

I can assign the PRINTER as number 1. However no output in ILPer...
As I see it I do not have any contact between emu-71 and the ILPer.

?

Matti
Find all posts by this user
Quote this message in a reply
03-30-2015, 08:02 PM
Post: #18
RE: [emu71] - about :HDRIVE1
(03-30-2015 07:49 PM)MattiMark Wrote:  
(03-30-2015 07:10 PM)J-F Garnier Wrote:  This is good news ! Everything seems ok regarding the COM port.

I can assign the PRINTER as number 1. However no output in ILPer...
As I see it I do not have any contact between emu-71 and the ILPer.

Well, my test setup above uses ILPer with a HP-71B and the PIL-Box, not emu71.

To use ILPer with emu71/win (PIL-Box not needed at this stage) is a bit different. You will have to use TCP/IP instead of COM port and learn how to setup a virtual loop with Emu71, see the pages from Christoph here.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-30-2015, 08:11 PM (This post was last modified: 03-30-2015 08:27 PM by Dave Frederickson.)
Post: #19
RE: [emu71] - about :HDRIVE1
(03-30-2015 07:49 PM)MattiMark Wrote:  As I see it I do not have any contact between emu-71 and the ILPer.

I believe your goal was to copy a physical MATH module to an IRAM in a physical 71. While Emu71/Win and Emu71/DOS are wonderful tools, per Post #2, they're not needed to copy the ROM.

Dave
Find all posts by this user
Quote this message in a reply
03-31-2015, 01:11 AM
Post: #20
RE: [emu71] - about :HDRIVE1
I solved it, with, not just a little help, from You all!

Solution of downloading SOFTMATH into the HP-71B by means of using the Emu-71.

1. Get the physical 71 to talk to the ILPer-software.
2. Change settings for the ILPer to use TCP/IP.
3. Use an appropriate drive, such as HDRIVE1 in ILPer
4. Initialize :2 that is the drive in 3 above.
5. Use Marcus von Cubes instructions found elsewhere in the documentation in the HPM. He uses emu71 and now eventually that works out also for me :-)
6. Enjoy!

Thanks again Dave and J-F!
/Matti
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)