Post Reply 
emu71 / HP41 Translator question
11-30-2015, 03:34 AM
Post: #1
emu71 / HP41 Translator question
After adding the FRAM toolkit to emu71 I am attempting to run the HP41 Translator. I assume the first thing is to move it from mass storage to RAM. How to do this is not immediately obvious.

Here are some outputs:

>CAT ALL
NAME S TYPE LEN DATE TIME PORT
FORTHRAM FORTH 2962 11/26/15 18:14
NAME S TYPE LEN DATE TIME PORT
HPILROM LEX 16361 08/07/84 12:00 1
NAME S TYPE LEN DATE TIME PORT
MATHROM E LEX 32745 11/01/83 12:00 2
NAME S TYPE LEN DATE TIME PORT
FORTHROM P LEX 3445 02/23/84 12:00 3
NAME S TYPE LEN DATE TIME PORT
STRUTIL LEX 1856 01/15/96 21:38 5

>
\CAT :HDRIVE2
NAME S TYPE LEN DATE TIME
ROMCOPY LEX 1727 10/12/15 01:01
FRAMTK ROM 8192 10/12/15 01:01
HRDFORTH TEXT 67840 10/12/15 01:01
HRDFTH41 TEXT 67840 10/12/15 01:01
DIAG71 TEXT 135K 10/12/15 01:01
FORTHROM ROM 16384 10/12/15 01:01
TRANS41 ROM 16384 10/12/15 01:01
SHOWPORT LEX 151 10/12/15 01:01

>
>SHOWPORT
1 32768 2
2 32768 2
3 32768 2
5 32768 1
0 32768 0

Any help would be appreciated.
Find all posts by this user
Quote this message in a reply
11-30-2015, 07:24 AM
Post: #2
RE: emu71 / HP41 Translator question
Hello Dwight,

The FRAM71 Toolkit was created for the FRAM71 module.
The EMU71 already contains the FORTH/ASM as part of the package.
If you want the Translator41 I would have to create a binary version.

In the mean time if you want ti try the FORTH/ASM module, here are the steps ...

Follow these steps to load the FORTH/ASM ROM ..
a) start EMU71
b) menu / edit / port configuration
c) select an empty port (i will be using port 4 here)
d) once the port is selected, the port window at the left must be empty, if not choose another port
e) press the add button
-> at the bottom left
f) select module type : HDR
g) press filename ... button
h) select HDRFORTH.BIN then press the OPEN button
i) press the APPLY button
-> in the port windows, you should see: HDR,E0000,32K(2),"HDRFORTH.BIN"
j) press the add button
-> at the bottom left
k) select module type : ROM
l) press filename ... button
m) select FORTHROM.BIN then press the OPEN button
n) press the APPLY button
-> in the port windows, you should see a second line with: ROM,16K(1),"FORTHROM.BIN"
o) press the OK button
p) power cycle the EMU71

to test it

type: FORTH [enter]
-> you will see: HP-71 FORTH 1A
press ENTER
-> you will see: OK { 0 }
type: 5 3 + . [enter]
-> you will see: 8 OK { 0 }
type: bye [enter]
-> you should be back to BASIC mode

Have fun

Sylvain
Find all posts by this user
Quote this message in a reply
11-30-2015, 01:23 PM
Post: #3
RE: emu71 / HP41 Translator question
Forth is now working, thanks.

So TRANS41 has hard coded memory locations that prevent it from simply being dropped into RAM? As you can see, SHOWPORT is working from the toolkit.
Find all posts by this user
Quote this message in a reply
11-30-2015, 03:27 PM
Post: #4
RE: emu71 / HP41 Translator question
(11-30-2015 01:23 PM)Dwight Sturrock Wrote:  Forth is now working, thanks.

So TRANS41 has hard coded memory locations that prevent it from simply being dropped into RAM? As you can see, SHOWPORT is working from the toolkit.

Both the FORTH/ASM and TRANS41 modules have both a Hard-coded ROM (at E0000) and Soft-coded ROM (address based on which Port it is in).

Sylvain's procedure explains how to load the 2 files for each of these 2 ROMs for the FORTH/ASM module, the same procedure can be used to load the 2 analogous files for the TRANS41 modules (these files are in Dave's Toolkit I believe). So you just follow the same procedure using the 2 TRANS41 files.

Note that, just like in a real machine, you cannot load both the FORTH/ASM and TRANS41 modules at the same time, as both need to access the same HC (Hard-Coded) ROM at E0000.

HTH

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
11-30-2015, 03:33 PM
Post: #5
RE: emu71 / HP41 Translator question
(11-30-2015 03:27 PM)rprosperi Wrote:  Sylvain's procedure explains how to load the 2 files for each of these 2 ROMs for the FORTH/ASM module, the same procedure can be used to load the 2 analogous files for the TRANS41 modules (these files are in Dave's Toolkit I believe). So you just follow the same procedure using the 2 TRANS41 files.

Hello Robert,
It is, but the hardcoded translator file is in ascii format and unusable here with emu71.
I need to convert the ascii file to a binary one so Dwight can use it.
I will try to do it this week but I am currently overload with work stuff and too many projects running at the same time.
Best regards,
Sylvain
Find all posts by this user
Quote this message in a reply
11-30-2015, 03:55 PM
Post: #6
RE: emu71 / HP41 Translator question
(11-30-2015 03:33 PM)Sylvain Cote Wrote:  It is, but the hardcoded translator file is in ascii format and unusable here with emu71.
I need to convert the ascii file to a binary one so Dwight can use it.

The ASCII files are converted to binary using the Dmp2rom.exe tool, as described in the Emu71/Win manual.

Dave
Find all posts by this user
Quote this message in a reply
11-30-2015, 11:19 PM
Post: #7
RE: emu71 / HP41 Translator question
(11-30-2015 03:55 PM)Dave Frederickson Wrote:  
(11-30-2015 03:33 PM)Sylvain Cote Wrote:  It is, but the hardcoded translator file is in ascii format and unusable here with emu71.
I need to convert the ascii file to a binary one so Dwight can use it.

The ASCII files are converted to binary using the Dmp2rom.exe tool, as described in the Emu71/Win manual.

Dave

Here's a zipped copy in .bin format, which is what you need.

I'll leave it here for a while, but eventually it will be removed due to space limits here. Contact me if you need it.

Thanks Sylvain an Dave


Attached File(s)
.zip  hrdfth41.zip (Size: 23.57 KB / Downloads: 14)

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
12-01-2015, 01:23 AM
Post: #8
RE: emu71 / HP41 Translator question
Thanks everyone! I'll try this out.
Find all posts by this user
Quote this message in a reply
12-01-2015, 02:17 AM
Post: #9
RE: emu71 / HP41 Translator question
(11-30-2015 11:19 PM)rprosperi Wrote:  Here's a zipped copy in .bin format, which is what you need.

Thank you Robert & Dave,
Tested on emu71 and working perfectly!

Dwight

You will need to get the FTH41ROM.BIN file from the FRAM71 ToolKit and the HRDFTH41.BIN file from Robert.
You will have to remove the FORTH/ASM config before adding the 41 Translator, the two cannot coexist at the same time.

In the same port windows where you place the FORTH/ASM before, you should now see:
HDR,E0000,32K(2),"HRDFTH41.BIN"
ROM,16K(1),"FTH41ROM.BIN"

Best regards,

Sylvain
Find all posts by this user
Quote this message in a reply
12-01-2015, 11:25 PM
Post: #10
RE: emu71 / HP41 Translator question
(12-01-2015 02:17 AM)Sylvain Cote Wrote:  Dwight

You will need to get the FTH41ROM.BIN file from the FRAM71 ToolKit and the HRDFTH41.BIN file from Robert.

Best regards,

Sylvain

Is there a way to separate out the FTH41ROM.BIN from the toolkit only using a PC? I do have a HP-71B, but no peripherals.

I can load the toolkit into HDRIVE2 on the emu71/DOS and view the directory listing, but I have yet to figure out how to separate it out for either emu71/DOS or emu71/Windows.

Thanks in advance!
Find all posts by this user
Quote this message in a reply
12-02-2015, 01:54 AM
Post: #11
RE: emu71 / HP41 Translator question
(12-01-2015 11:25 PM)Dwight Sturrock Wrote:  Is there a way to separate out the FTH41ROM.BIN from the toolkit only using a PC?

Yes. HPDir can be used to extract or add files to LIF images, which is how I created the Toolkit image however some folks like to use ILDOSLink instead.

If you'd rather simply be "given a fish" then perhaps someone will send you then file.

For an HP-IL peripheral, I recommend the PIL-Box.

Dave
Find all posts by this user
Quote this message in a reply
12-02-2015, 02:09 AM
Post: #12
RE: emu71 / HP41 Translator question
(12-02-2015 01:54 AM)Dave Frederickson Wrote:  If you'd rather simply be "given a fish" then perhaps someone will send you then file.

Dwight,
You got mail!
Sylvain
Find all posts by this user
Quote this message in a reply
12-02-2015, 03:31 AM
Post: #13
RE: emu71 / HP41 Translator question
(12-02-2015 02:09 AM)Sylvain Cote Wrote:  
(12-02-2015 01:54 AM)Dave Frederickson Wrote:  If you'd rather simply be "given a fish" then perhaps someone will send you then file.

Dwight,
You got mail!
Sylvain

So it seems we must add fisherman to your long list of other skills....

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
12-02-2015, 03:47 AM
Post: #14
RE: emu71 / HP41 Translator question
(12-02-2015 01:54 AM)Dave Frederickson Wrote:  
(12-01-2015 11:25 PM)Dwight Sturrock Wrote:  Is there a way to separate out the FTH41ROM.BIN from the toolkit only using a PC?

Yes. HPDir can be used to extract or add files to LIF images, which is how I created the Toolkit image however some folks like to use ILDOSLink instead.

If you'd rather simply be "given a fish" then perhaps someone will send you then file.

For an HP-IL peripheral, I recommend the PIL-Box.

Dave

Yes, Dave, that was the information I was looking for. For some strange reason repeated google searches didn't find those tools.

Also, by examining the "fish" and the Toolkit with a hex editor, I was able to determine where FTH41ROM.BIN started and ended in the Toolkit. FTH41HDR.BIN appears to be in a different format, as mentioned elsewhere.

Thanks, Sylvain, Dave, Robert for all the info!
Find all posts by this user
Quote this message in a reply
12-02-2015, 04:10 AM
Post: #15
RE: emu71 / HP41 Translator question
(12-02-2015 03:47 AM)Dwight Sturrock Wrote:  Also, by examining the "fish" and the Toolkit with a hex editor, I was able to determine where FTH41ROM.BIN started and ended in the Toolkit. FTH41HDR.BIN appears to be in a different format, as mentioned elsewhere.

Correct. FTH41HDR.BIN (should be spelled FTH41HRD for HaRD) is hard-coded and resides at address E0000 and unlike the soft-configured FTH41ROM.BIN, has no file chain.

Notice that Emu71/Win offers to place hard-coded ROMs at Hard Wired Address E0000 or 00000. With the info above it's possible to extract the 71 Diag ROM dump from the FRAM71 Toolkit LIF image, convert it to binary, verify it's integrity, and load into Emu71 (as it resides at address 00000). Details on the last step can be found in the Emu71/Win manual. Have fun!

Also, Sylvain (poke) should be posting his collection of ROM images in 3 LIF images, soon. See his article: FRAM71 Configuration Example (Intermediate Level) for the download links.

Dave
Find all posts by this user
Quote this message in a reply
12-02-2015, 04:39 AM
Post: #16
RE: emu71 / HP41 Translator question
(12-02-2015 04:10 AM)Dave Frederickson Wrote:  Also, Sylvain (poke) should be posting his collection of ROM images in 3 LIF images,

Yes, I known, I known, I am late.
I have been working 70+h/week for the past three weeks.
I may be able to post it this weekend.
Sylvain
Find all posts by this user
Quote this message in a reply
12-02-2015, 06:14 AM (This post was last modified: 12-02-2015 06:16 AM by Dave Frederickson.)
Post: #17
RE: emu71 / HP41 Translator question
(12-02-2015 04:39 AM)Sylvain Cote Wrote:  
(12-02-2015 04:10 AM)Dave Frederickson Wrote:  Also, Sylvain (poke) should be posting his collection of ROM images in 3 LIF images,

I have been working 70+h/week for the past three weeks.

How you work crazy hours and are still able to contribute to the forum in the capacity you do is beyond me, plus all the stuff you do in the background. I think we should call you "Super Fisherman"!

I just wanted to plug the collection of ROM's and programs you are planning on posting for those not following the FRAM71 threads. Don't forget update image #1 with the 1AAAA ROM dump as it is no longer "missing". Smile

Dave
Find all posts by this user
Quote this message in a reply
Post Reply 




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