The following warnings occurred:
Warning [2] Undefined array key 53567 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53574 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53576 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53578 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53585 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53603 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53607 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53622 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53627 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53631 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53633 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53647 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53674 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53627 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53576 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53585 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 53674 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





Forth on a 41-CX



#14

Hi,
I "found" the ROM images of Forth, but nothing else on the subject.

I have a beginner's experience with Forth, just curious to gather some information on its implementation on the HP-41.

Is there a manual available somewhere?

TIA,


Giuseppe Marullo


#15

As far as I know, forth was only available for the hp-71 as
an option. All the RPM machines (including the hp-41cx) as
well as the newer RPL machines (starting with hp-28, hp-48 etc.) use a forth-like postfix and stack architecture. You
could even say that their languages were somewhat "threaded"
like forth.

Hope this helps.
Cheers.


#16

Forth was available on the HP75 on cards, also a version could be loaded into the PMS.

I think there was no other language available (apart from assembler of course). Anyone willing to differ ?

#17

I have the FORTH5.TXT file (the listing) too, but again no doc.s. I'd be interested in seeing them. I can't imagine the 41 would be very well suited for Forth, with the slowness of its text editor and all.

I have the HP Forth/assembler ROM in my HP-71, which is where I got started on the language that finally made me quit "shopping" for languages (even though that particular implementation was pretty poor). Now Forth is virtually the only high-level language I use in my workbench control and product development work.

#18

As far as I know the FORTH ROM was developed by the Toulouse chapter od PPC.

It is actually an 8k rom, which sits on addresses 4 and 5, thus it's a take-over ROM, incompatible with the time module.

I've tried it but not very thoroughly. No speed problem whatsoever to speak of... just another wonderful aplication of the 41 platform!

Best,
AM


#19

Hi all,

If you agree in sharing this image, I'll prepare a Clonix loadable version on pages 4 & 5 (according to Angel comments) and place the corresponding .HEX file at the Clonix site for anyone interested in it.

Best wishes.

Diego.

#20

> It is actually an 8k rom, which sits on addresses 4 and
> 5, thus it's a take-over ROM, incompatible with the time module.

Is that to say that you could never use it on a 41cx (which is what I have)? The time module is an integral part of the cx.


#21

From what I gather the FORTH ROM(s) were developed *before* the advent of the Time Module, and by extension the CX. As it was never a commercial product (that I know of, I might be wrong here) no updates were made after those were introduced.

So your images (Clonix-based?) won't run on a CX, but they should on a C/CV, or on Emu41, V41, etc.


#22

Hi,

You're rigth Angel (as usual... ;-) Only CV's or C's with one or more memory modules can run FORTH 41.

I've burnt the images you sent me into a Clonix module and they now run OK. (Well, at least they show "OK_" in the display, I can't say much more without a manual... BTW, Does anyone have a "shareable" copy?? :-)

You need to have at least 80 free program register (i.e. size=239 on a clean CV) for you to get FORTH working, (XEQ FORTH) otherwise you'll find "TRY AGAIN" in the display. Once FORTH is running it remains in memory even after OFF/ON cycling.

The correspondig FORTH41.HEX file (to burn directly into Clonix flash ROM via IC-PROG) will be placed on-line during the weekend.

Best regards.

Diego

Edited: 11 Mar 2004, 3:29 p.m.


#23

Ouch,
so I got the best model (CX) and because of this I could not run FORTH? Very nice. I will play with EMU41, sigh...

I know it may sound naif but...isn't possible to "relocate" a rom?


#24

Theoretically it would be possible to leave the TakeOver part of FTH41 at address 4xxx, and move the second part to a page between 8xxx and Fxxx .
But in reality it depends on how the programmers realized inter-page jumps, in other words: jumps from part 1 to part 2 and vice versa.
If they made it like the CCD module then part 2 always has to be at the next page following part 1.

There are different methods for ML code to locate and remember another specific block of code (it's address) inside the HP-41 address range, but I doubt any of these mechanics were used in the FTH41.

Raymond


#25

Raymond is absolutely right, I'd bet that the "second" page will have to be next to the first, i.e. must be #5. Still worth trying though, thanks to the wonderfull versatility that Clonix' allows!

I also remember reading something about page 5 in old HP pubs that referred to it as "part of the extension of the OS" that was later abandoned. Allegedly it was reserved to some kind of special usage... for instance, never wondered why on a CX (without CCD module) the Extended Functions sections come the *last* in CAT 2, despite being located into the *lowest* addresses??

Or was that about page #3?


#26

I've de-compiled the Forth ROM images and sorry to say the machine code calls into page 5 and back are not "page independent."

Since page independent call actually involve jumps into fixed OS ROM locations, involve stack and CPU register consideration one would probably need to re-write the entire 8K of code. I guess the CX users will just need to use an emulator.

BTW, the version of FORTH isn't bad. Using the v41 emulator (and ev41 on a Dell Axim PDA) I actually was able to write a little Forth code. Unfortunately, its been 15+ years since I coded in Forth (for Astronomical hardware)so it didn't see worth much effort other than an curiosity. Actually, 41 machine code is much more fun once you get a bit up the learning curve.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trading TI Nspire CX CAS for HP Prime Justin Sloan (Honolulu) 2 1,290 05-09-2013, 04:22 AM
Last Post: Chris Smith
  HP 41 CX Celso Cipolato 2 1,269 09-30-2012, 06:38 PM
Last Post: Thomas Klemm
  Killed my 41-CX Halfnut aj04062 7 2,588 07-10-2012, 07:47 PM
Last Post: Luiz C. Vieira (Brazil)
  Interesting TI Nspire CAS CX programming features Namir 5 1,863 04-15-2012, 04:11 PM
Last Post: Namir
  Impressive TI NSpire CX CAS Multiple Integration Namir 43 10,980 12-23-2011, 05:24 AM
Last Post: Thomas Klemm
  41-CX with 'Creeping LCD Disease' Tim C 12 3,240 11-03-2011, 01:55 PM
Last Post: Randy
  Experience (Learning) Curve Program for HP-41C/CV/CX Chris Catotti 1 1,066 09-20-2011, 01:46 PM
Last Post: Frido Bohn
  Why I like the blank overlay option for the 41C, CV, CX & CL and my 41CL final configuration Geoff Quickfall 1 1,091 06-18-2011, 03:18 AM
Last Post: Geoff Quickfall
  HP-41CV & CX Halfnuts? aj04062 1 887 05-27-2011, 01:20 PM
Last Post: Eric Smith
  Nspire CX available? David Ramsey 8 2,046 05-26-2011, 09:19 PM
Last Post: Eddie W. Shore

Forum Jump: