The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

Emu41
Message #1 Posted by Richard L. Taylor on 30 May 2011, 5:40 p.m.

Hi, I am having trouble using the Emu41 calculator emulator for the PC.

I am running the Emu41 on my Mac G4 using Virtual PC 4.0 In a Dos window. I am also running the ILPer HP-il file transfer program, using the PIL-Box hardware setup on the same Mac G4 - Virtual PC 4.0 configuration.

The PIL-Box works great. I am transfering programs and data between my Mac G4 and my HP41cx under the windows98 OS.

What I am trying to do is to create an ASCII data file called Emu41in.dat that contains one column of numbers that is stored in the Emu41 folder.

Then, have this short program in the Emu41 read the numbers into the Emu41's registers.

01*LBL "IMPORT" 02 AUTOIO 03 "DOSLINK" 04 FINDID 05 SELECT 06 CLRDEV 07 0 08*LBL 01 09 INA 10 ALENG 11 X=0? 12 GTO 02 13 AVIEW 14 RDN 15 ANUM 16 STO IND Y 17 RDN 18 1 19 + 20 GTO 01 21*LBL 02 22 END

Then, have the Emu41 save the registers to an Lif format file in the Emu41 folder.

Then, read the Lif file with my HP41cx using the PIL-Box.

The trouble I am having is that I can't make the Emu41 turn the left hand display on to see the numbers in the X,Y,Z,T registers and the CAT the program listings.

One more thing is that in Virtual PC, the F1 TO F15 function keys don't work right in the Emu41 program. I am still having trouble typing the Emu41 commands right from the CMD line prompt. The manual is not helpful enough.

Is there any one who is working with this Emu41 program that would be able to give me some help. Thanks in advance.

Rich T

      
Re: Emu41
Message #2 Posted by Thomas Klemm on 30 May 2011, 6:03 p.m.,
in response to message #1 by Richard L. Taylor

Hint: Use pre-tags for code.

[pre]
01*LBL "IMPORT"
02 AUTOIO
03 "DOSLINK"
04 FINDID
05 SELECT
06 CLRDEV
07 0
08*LBL 01
09 INA
10 ALENG
11 X=0?
12 GTO 02
13 AVIEW
14 RDN
15 ANUM
16 STO IND Y
17 RDN
18 1
19 +
20 GTO 01
21*LBL 02
22 END
[/pre]

Kind regards
Thomas

            
Re: Emu41
Message #3 Posted by Richard L. Taylor on 30 May 2011, 8:27 p.m.,
in response to message #2 by Thomas Klemm

What are pre-tags? RT

                  
Re: Emu41
Message #4 Posted by Howard Owen on 31 May 2011, 2:22 a.m.,
in response to message #3 by Richard L. Taylor

The [pre] and [/pre] tags he uses as shown.

Details: http://www.hpmuseum.org/artfmt.htm

      
Re: Emu41
Message #5 Posted by J-F Garnier on 31 May 2011, 1:12 p.m.,
in response to message #1 by Richard L. Taylor

>> The trouble I am having is that I can't make the Emu41 turn the left hand display on to see the numbers in the X,Y,Z,T registers and the CAT the program listings.

With the default Emu41.ini configuration that uses HP82143 printer emulation, the normal way is to use the F9 key to switch through the OFF-MANUAL-NORMAL-TRACE printer modes.

If you can't access the F9 key, a workaround is to use the HP-IL printer emulation. To do so, just change this line in Emu41.ini:

6  4 prter1e.bin
to
6  4 prter2e.bin
Now, you can control the printer modes with the flags 15 and 16.

Maybe Mac users can help regarding how to access the function keys?

J-F

            
Re: Emu41
Message #6 Posted by Richard L. Taylor on 31 May 2011, 6:42 p.m.,
in response to message #5 by J-F Garnier

J-F, I did what you said to change the 6 4 prter1e.bin to 6 4 prter2e.bin. then I SF 15 and did a CAT 0 and a CAT 2 The SF and CAT worked from the CMD line, but i didn't see anything come up on the screen that was not there before the commands were sent. It is sure strange that the PIL-Box works great but not the Emu41. I guess I should give up on trying to run your EMU41 on my Virtual PC.

RT


[ Return to Index | Top of Index ]

Go back to the main exhibit hall