Emu41
#1

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

#2

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

#3

What are pre-tags?
RT

#4

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

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

#5

>> 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

#6

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



Possibly Related Threads…
Thread Author Replies Views Last Post
  EMU41; Dosbox on Linux; Excruciatingly sloooow Geir Isene 9 3,046 12-01-2013, 05:10 PM
Last Post: Geir Isene
  Emu41 Richard L. Taylor 6 2,016 06-30-2012, 01:04 PM
Last Post: Richard L. Taylor
  EMU41: A Little Late to The Party, but Loving It! Les Wright 3 1,417 05-09-2012, 03:28 PM
Last Post: Christoph Klug
  41CL & EMU41 & IL2000 interface system Christoph Klug 0 898 03-22-2012, 05:23 PM
Last Post: Christoph Klug
  SOLVED !!! (was : Running EMU41 16-Bit MS-DOS Programs on new 64-Bit Windows 7 Laptop) Antoine M. Couëtte 6 2,159 01-04-2012, 04:16 AM
Last Post: Antoine M. Couëtte
  Unable to start and run EMU41 on new 64-bit Processor Laptop running with Windows 7 Antoine M. Couëtte 6 2,054 12-18-2011, 10:23 AM
Last Post: Massimo Gnerucci (Italy)
  EMU41 Richard L. Taylor 2 1,098 06-22-2011, 05:37 AM
Last Post: Mike (Stgt)
  iDOS Lives! Get it while you can (IOW, EMU71/EMU41 on iPad/iPhone)! Egan Ford 32 7,079 01-22-2011, 11:30 PM
Last Post: Howard Owen
  ILPer/Emu41/Transferring Files Jeff Davis 5 2,234 05-02-2010, 01:10 PM
Last Post: Egan Ford
  EMU41 2.50 released as open source! Egan Ford 2 1,029 03-03-2010, 08:17 PM
Last Post: Howard Owen

Forum Jump: