The following warnings occurred:
Warning [2] Undefined array key 62093 - 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 62102 - 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 62107 - 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 62108 - 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 62110 - 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 62113 - 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 62114 - 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 62117 - 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 62110 - 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 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 62113 - 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 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 62117 - 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 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





HP-41 emulation?



#9

Who is currently building an emulation of the HP-41? (Nelson?)
If noone is, I will do that (or we can do it together).

Hardware:
As there are nice simulations written in C/Cpp, our microcontroller should be supported by a (free) C-Compiler.
LCD: I currently don´t have any experience with LCDs, but those with a built-in controller are easy to use (according to datasheets).

Which LCD and microcontroller can be used? On the PIC, the Interpreter takes about 3000 asm-instructions, plus 1000 asm-instructions for i/o, main loop and i2c communication.

Speed: On the PIC with 4mHz, the emulation of the hp-45 has about the same speed as the original hp-45 (I think it has 380 kHz). But since the LEDs are updated every main-loop cycle, a LCD should speed up things.

Pins: 8 for the keyboard and 8 for display plus a few for RS232/USB

Ram: ?

HP41-firmware in program memory or eeprom?


My plan is to take a simulation of the HP-41** (either nonpareil or the one from "TOS"), move the interpreter part to our microcontroller, add i/o and debug debug debug.

So any suggestions for the microcontroller or LCD?


#10

Why not use the LCD display from the original (fullnut) 41.
Try to fit the emulator in the 41 case as well, so that at the
end of the day you have a replacement of the main HP41 PCB.

Since modern microcontrollers have much more extra memory
(and features) you can accommodate the entire memory map
of the 41 (main memory, extended memory, a bunch of ROMs etc) into the on-board memory.

By accommodating the original LCD, you will also be forced to
emulate the original HP-41 I/O bus, which means that your new design will be able to accommodate HP-41 peripherals (e.g the HP-IL interface), although a simple serial interface would be just fine with most HP-41 users.

Best Regards

**vp


#11

Klaus,

I've just checked the HP Journal March 1980 P25-26 and cross checked with the Schematic by Reinhard Breuer - the LCD module in the calc sits on the bus and has the drivers bonded to the PCB - so, in effect, it already is an intelligent display and it already sits on the bus. I still suspect that there would be more than enough room to hold two PICs one handling the keyboard, LCD and USB - say the 16C745/765 or another USB driver like the FT2232. This would offload the polling time required for the Kbd/LCD/IO to effectively zero on the other 'mainframe' chip and hopefully deliver the required performance ?


#12

mark murphy wrote:
> I've just checked the HP Journal March 1980 P25-26 and cross checked with the Schematic
> by Reinhard Breuer - the LCD module in the calc sits on the bus and has the drivers bonded to the PCB
Oh, yes, the LCD is just another peripheral. Brilliant design: it reduces the lines that need to connect the main PCB with the front of the calulator (I/O assembly and display). The HP hardware designers of that era knew their shit.

> I still suspect that there would be more than enough room to hold two PICs

I don't understand the fascination with the PIC, why not use an FPGA with an ARM core. That will give you all the processing power you can possibly ask for.

Also somebody (sorry I forget who) did an FPGA implementation of an HP-41 ROM pack. This means thay they have an implementatoion of the 41 I/O bus.

**vp


#13

Hi there - It was Meindert Kuipers at http://www.kuipers.to/hp41.htm who was working on the Xilinix project. The only reason for mentioning Pic was that Diego has arleady done the bus interfacing with the Pic based Clonix/NoVram project and Klaus has done the emulation with the IQSIM - seemed to me that some of the components/sw were already effectively in place. Most of us also have reasonable access to $30 Pic progammers etc versus Xilinx systems so it would keep things scalable and 'one off' costs down - perhaps something like the arm lpc2100 series would rock - do we have enough experience - Klaus? As for USB - I'll stick by that as being the most universal interface - as an aside, the camera you mention with Wifi is the Nikon D2H with the WT-1 Wireless Transmitter add-on, this ironically uses a USB2 connection between the main camera body and the WT-1 (see http://www.dpreview.com/reviews/nikond2h/ for more details). All the best Mark

#14

What batteries would buy daily in case of an FPGA design?

A dozen Lithium camera batteries?

'VPN'

#15

I did an FPGA implementation of the HP41 interfacing (and a lot more!), this is all CPLD based because of power consumption. If you use an FPGA based ARM implementation than your battery life will be very short. This is also a problem with the PIC implementation. As long as it is used as a peripheral (Module emulator) it is OK, because most of the time the module is in a low power mode.

Meindert


#16

Hello!

I only have experience with PICs, but I am curious to try new things. I also have very little experience with hardware design.
The thing I went for the PICs is that they are widely available (a standard supplier offers nearly all PICs an a few atmels).
Would it help our microcontroller-choice if I wrote the C-code first?

Klaus


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 5,554 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  Last HP emulation, 32 & 01 Olivier De Smet 0 1,014 09-07-2013, 08:27 AM
Last Post: Olivier De Smet
  HP 50G emulation for android Olivier De Smet 3 1,738 04-14-2013, 12:01 PM
Last Post: CompSystems
  New HP71B emulation (go71b) Olivier De Smet 9 3,317 06-26-2012, 10:25 AM
Last Post: Jerry Raia
  Re: Voyager 1xC emulation in the same unit? uhmgawa 4 2,094 01-24-2012, 01:09 AM
Last Post: uhmgawa
  Simulation vs Emulation Carl Utter 12 2,761 05-12-2011, 12:02 AM
Last Post: Dave Britten
  HP-41CY emulation for NoV-64 (also for Halfnuts) Diego Diaz 4 1,643 09-26-2010, 10:33 AM
Last Post: Diego Diaz
  Re: HP-41CY emulation for NoV-64. Antoine M. Couëtte 5 1,759 06-30-2010, 06:27 AM
Last Post: Winfried Maschke
  HP-41 2*X-MEM emulation for NoV-64 & Clonix-D Diego Diaz 6 1,874 05-21-2010, 06:07 PM
Last Post: Geir Isene
  HP-41CY emulation for NoV-64. Diego Diaz 14 3,396 05-15-2010, 08:18 PM
Last Post: Winfried Maschke

Forum Jump: