Post Reply 
Forth
01-20-2018, 09:19 PM
Post: #1
Forth
hi,
I'm thinking to get Forth Assembler module for my HP 71b (I saw one in the bay but it was very expensive for me: also more than the calc value...) to try Forth language programming instead of its Basic.
I wonder if there are other Forth related stuff/modules/rom/programs also for other calculators (41C, 50g, Prime for example).
Thank you.

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2018, 09:47 PM
Post: #2
RE: Forth
http://sense.net/~egan/forth41/forth41_v3n45_p29.pdf

http://www.hpmuseum.org/cgi-sys/cgiwrap/...ead=140512 and http://www.hpmuseum.org/forum/thread-1065.html are a couple of HP Museum forum topics on Forth for the 41; and linked there are: http://www.hpmuseum.org/forum/attachment.php?aid=516 and http://www.hpmuseum.org/forum/attachment.php?aid=515 beautifully done, very clear .pdf M-code guide (in two 70-page parts, lower page and upper page, respectively) to HP-41 Forth, done in Apr 2014, more excellent work by Ángel Martin!

These are from the HP-41 links on my links page, linked below.

The HP-71 is where I got into Forth, with HP's Forth/Assembler module. It's a rather poor Forth; but being Forth, you can of course get under the hood and extend and improve it.

http://WilsonMinesCo.com (Lots of HP-41 links at the bottom of the links page, http://wilsonminesco.com/links.html )
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2018, 09:49 PM (This post was last modified: 01-20-2018 10:40 PM by salvomic.)
Post: #3
RE: Forth
(01-20-2018 09:47 PM)Garth Wilson Wrote:  http://sense.net/~egan/forth41/forth41_v3n45_p29.pdf

...

These are from the HP-41 links on my links page, linked below.

The HP-71 is where I got into Forth, with HP's Forth/Assembler module. It's a rather poor Forth; but being Forth, you can of course get under the hood and extend and improve it.

hi Garth, thank you! (your page is a mine of information, very impressive)
I'm seeing those links.

EDIT: these two seems to be not existent:
Code:
http://www.hpmuseum.org/forum/attachment.php?aid=516 and http://www.hpmuseum.org/forum/attachment.php?aid=515

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2018, 10:56 PM
Post: #4
RE: Forth
Thanks for telling me. I'm working on getting new, valid links, and I'll correct the links page. The whole site probably has a thousand links, and once in a while one will go dead without my knowing. I do check links now and then, but I never do a whole sweep and check all of them.

http://WilsonMinesCo.com (Lots of HP-41 links at the bottom of the links page, http://wilsonminesco.com/links.html )
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2018, 11:10 PM
Post: #5
RE: Forth
(01-20-2018 10:56 PM)Garth Wilson Wrote:  Thanks for telling me. I'm working on getting new, valid links, and I'll correct the links page. The whole site probably has a thousand links, and once in a while one will go dead without my knowing. I do check links now and then, but I never do a whole sweep and check all of them.

Well!
I bookmarked your web page and in the next day I'll have a lot of links to run Smile
Reading also your links I'm thinking that my little HP calc's collections miss mostly an important item: a 41CL... I'd like to try one (I've only a 41CX)...

However, about Forth, I'll read firstly the links in your page.

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2018, 11:32 PM
Post: #6
RE: Forth
(01-20-2018 09:19 PM)salvomic Wrote:  I'm thinking to get Forth Assembler module for my HP 71b (I saw one in the bay but it was very expensive for me: also more than the calc value...) to try Forth language programming instead of its Basic.

Cost you nothing to test 71b FORTH ROM with EMU71. May help to decide if worth investment.
Find all posts by this user
Quote this message in a reply
01-20-2018, 11:41 PM
Post: #7
RE: Forth
(01-20-2018 11:32 PM)Egan Ford Wrote:  Cost you nothing to test 71b FORTH ROM with EMU71. May help to decide if worth investment.

Definitely you are right. Now I haven't EMU71, I'll try it soon.
Is it only for Windows or there is also a version for Mac OS X?

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 12:34 AM
Post: #8
RE: Forth
Is the FRAM module for the 71 able to accommodate the Forth module ROM images?

http://WilsonMinesCo.com (Lots of HP-41 links at the bottom of the links page, http://wilsonminesco.com/links.html )
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 12:51 AM
Post: #9
RE: Forth
(01-21-2018 12:34 AM)Garth Wilson Wrote:  Is the FRAM module for the 71 able to accommodate the Forth module ROM images?

Yes. Since FRAM can emulate any/all of the 71B memory map, it's easy to install both the 16KB relocatable ROM as well as the 32KB ROM fixed at 0xE0000. Images of both are readily available. Initially, it's a bit trickier to set up than a normal plug-in (relocatable) ROM, but still not hard. Same story for the 41 Emulator ROM.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
01-21-2018, 08:15 AM (This post was last modified: 01-21-2018 09:26 AM by salvomic.)
Post: #10
RE: Forth
(01-21-2018 12:51 AM)rprosperi Wrote:  
(01-21-2018 12:34 AM)Garth Wilson Wrote:  Is the FRAM module for the 71 able to accommodate the Forth module ROM images?

Yes. Since FRAM can emulate any/all of the 71B memory map, it's easy to install both the 16KB relocatable ROM as well as the 32KB ROM fixed at 0xE0000. Images of both are readily available. Initially, it's a bit trickier to set up than a normal plug-in (relocatable) ROM, but still not hard. Same story for the 41 Emulator ROM.

please, could you help me to get Emu71 working?
Can I use this program? but of course I can't find ROM there...
I'm using Windows 10 inside my Mac OS X 10.13, the main program runs (the interface looks a bit "obsolete", yes), but then I cannot go on without those files...

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 01:05 PM
Post: #11
RE: Forth
(01-21-2018 08:15 AM)salvomic Wrote:  
(01-21-2018 12:51 AM)rprosperi Wrote:  Yes. Since FRAM can emulate any/all of the 71B memory map, it's easy to install both the 16KB relocatable ROM as well as the 32KB ROM fixed at 0xE0000. Images of both are readily available. Initially, it's a bit trickier to set up than a normal plug-in (relocatable) ROM, but still not hard. Same story for the 41 Emulator ROM.

please, could you help me to get Emu71 working?
Can I use this program? but of course I can't find ROM there...
I'm using Windows 10 inside my Mac OS X 10.13, the main program runs (the interface looks a bit "obsolete", yes), but then I cannot go on without those files...

Salvo
Salvo,
Have a look into the HP-71 Compendium and you will find the ROM you are searching for.
Sylvain
Find all posts by this user
Quote this message in a reply
01-21-2018, 01:34 PM
Post: #12
RE: Forth
(01-21-2018 01:05 PM)Sylvain Cote Wrote:  Salvo,
Have a look into the HP-71 Compendium and you will find the ROM you are searching for.
Sylvain

hi Sylvain, thanks a lot!
It works now with the ROM correspondent to my real HP-71b ver 1BBBB!
In a while I'll try to install the Forth assembler ROM.
In the mean time I'm reading your Compendium, very appreciated.

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 03:27 PM (This post was last modified: 01-21-2018 03:27 PM by Sylvain Cote.)
Post: #13
RE: Forth
Hello Salvo,
Be aware that the links in the PDF no longer works since DropBox change their sharing rules.
I have moved all the files to my web site and updated the article web pages version, I still have to update the PDF version, sorry about that.
Sylvain
Find all posts by this user
Quote this message in a reply
01-21-2018, 04:03 PM
Post: #14
RE: Forth
(01-21-2018 03:27 PM)Sylvain Cote Wrote:  Hello Salvo,
Be aware that the links in the PDF no longer works since DropBox change their sharing rules.
I have moved all the files to my web site and updated the article web pages version, I still have to update the PDF version, sorry about that.
Sylvain

thanks for advice!
I'm reading the rest for now. I'll read the PDF when you update them...

I've set Emu71 with Math and Forth (1A) as you described, all ok.
With "FORTH" I can access to the module and it works, but when I want return to the Basic, I input "BASIC" but I get an error: "BASIC not recognised"... I can only reset to revert to Basic.
In this youtube video they use "BASIC" to revert (but that is Forth 2A).

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 04:24 PM
Post: #15
RE: Forth
(01-21-2018 04:03 PM)salvomic Wrote:  With "FORTH" I can access to the module and it works, but when I want return to the Basic, I input "BASIC" but I get an error: "BASIC not recognised"... I can only reset to revert to Basic.
In this youtube video they use "BASIC" to revert (but that is Forth 2A).

Correct. The 41 Translator (FORTH 2A) has the FORTH word "BASIC", but the FORTH/Assembler (FORTH 1A) doesn't.

I suggest you go ahead and read Sylvain's Compendium, either the html or pdf version as the contents are the same, it's just the links that need to be updated.

You may also find it useful and fun to configure HP-IL in Emu71, then ILPer or pyILPER can be used for virtual peripherals like a printer, mass mem, plotter, etc.

Dave
Find all posts by this user
Quote this message in a reply
01-21-2018, 04:31 PM
Post: #16
RE: Forth
(01-21-2018 04:24 PM)Dave Frederickson Wrote:  Correct. The 41 Translator (FORTH 2A) has the FORTH word "BASIC", but the FORTH/Assembler (FORTH 1A) doesn't.

I suggest you go ahead and read Sylvain's Compendium, either the html or pdf version as the contents are the same, it's just the links that need to be updated.

You may also find it useful and fun to configure HP-IL in Emu71, then ILPer or pyILPER can be used for virtual peripherals like a printer, mass mem, plotter, etc.

Dave

hi Dave,
yes, I've already installed HP-IL as suggested in the Compendium (I've the HP-IL also in the real HP71b)...

So, for Forth 1A, isn't a way to revert to Basic without reset?
Forth assembler maybe it is "simple" but it works, enough well.

I'm still reading the Compendium, there are a lot of fun to read...

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 04:53 PM (This post was last modified: 01-21-2018 04:59 PM by Dave Frederickson.)
Post: #17
RE: Forth
(01-21-2018 04:31 PM)salvomic Wrote:  
(01-21-2018 04:24 PM)Dave Frederickson Wrote:  Correct. The 41 Translator (FORTH 2A) has the FORTH word "BASIC", but the FORTH/Assembler (FORTH 1A) doesn't.

I suggest you go ahead and read Sylvain's Compendium, either the html or pdf version as the contents are the same, it's just the links that need to be updated.

You may also find it useful and fun to configure HP-IL in Emu71, then ILPer or pyILPER can be used for virtual peripherals like a printer, mass mem, plotter, etc.

Dave

hi Dave,
yes, I've already installed HP-IL as suggested in the Compendium (I've the HP-IL also in the real HP71b)...

So, for Forth 1A, isn't a way to revert to Basic without reset?
Forth assembler maybe it is "simple" but it works, enough well.

I'm still reading the Compendium, there are a lot of fun to read...

Salvo

Use BYE with 1A.

So you have an HP-IL module for your 71B. The next thing is the PIL-Box, Jean-Francois Garnier's HP-IL to USB converter. This will allow you to connect your physical 71B to the ILPer virtual peripherals or the 71 emulators to physical peripherals.

http://www.jeffcalc.hp41.eu/hpil/index.html

This is also the means to access the MoHPC and OLDP LIF archives with your physical 71B.

Alternatively, you can configure Emu71 with the 41 Translator ROM.
Find all posts by this user
Quote this message in a reply
01-21-2018, 05:02 PM
Post: #18
RE: Forth
(01-21-2018 04:53 PM)Dave Frederickson Wrote:  Use BYE with 1A.
it works, thanks Smile
(01-21-2018 04:53 PM)Dave Frederickson Wrote:  So you have an HP-IL module for your 71B. The next thing is the PIL-Box, Jean-Francois Garnier's HP-IL to USB converter. This will allow you to connect your physical 71B to the ILPer virtual peripherals or the 71 emulators to physical peripherals.

http://www.jeffcalc.hp41.eu/hpil/index.html

This is also the means to access the MoHPC and OLDP LIF archives with your physical 71B.
yes, I'm reading already for PIL-box!
Very interesting.
(01-21-2018 04:53 PM)Dave Frederickson Wrote:  Alternatively, you can configure Emu71 with the 41 Translator ROM.

ok. First of all I'll try better Forth Assembler...

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 08:51 PM
Post: #19
RE: Forth
(01-20-2018 10:56 PM)Garth Wilson Wrote:  Thanks for telling me. I'm working on getting new, valid links, and I'll correct the links page. The whole site probably has a thousand links, and once in a while one will go dead without my knowing. I do check links now and then, but I never do a whole sweep and check all of them.

Today I posted a set of files, zipped, from Ángel Martin, at http://wilsonminesco.com/calcs/forth41_Compendium.zip, linked on my links page.

http://WilsonMinesCo.com (Lots of HP-41 links at the bottom of the links page, http://wilsonminesco.com/links.html )
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2018, 09:22 PM
Post: #20
RE: Forth
(01-21-2018 08:51 PM)Garth Wilson Wrote:  Today I posted a set of files, zipped, from Ángel Martin, at http://wilsonminesco.com/calcs/forth41_Compendium.zip, linked on my links page.

thanks a lot!

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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