The following warnings occurred:
Warning [2] Undefined array key 50112 - 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 50146 - 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 50148 - 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 50148 - 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 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





HP41 Bank Switching question



#2

Thanks for the contributors for all the information about bankswitching, that has been very helpful. There is one more thing that I need to understand for correct implementation in my MLDL2000:

- I assume that the Enabled Bank setting in a ROM is forgotten after power down (Deep Sleep) and that Bank 1 of all modules is enabled when turning the HP41 on.

- What happens to the current bank in Standby mode? Is it remembered? If yes, how important is it? In the MLDL2000 I will probably switch the CPLD off when in Standby (use the PWO line to control the 3.3V regulator) to save power and the current bank is stored in a register in the CPLD.

Thanks,

Meindert


#3

Hi Meindert,

Here's what I've got to learn about Bank-switching (not too much, indeed):

You probably know already, but I'd like to remark that Bank-switching has nothing to do with CPU, they're NOP's. Thus, the only device involved in BS operations is the ROM PAC itself, it MUST produce it's own ENBANK (1-4) OP code, it must decode it, verify that this specific code points to the address page(s)** where this PAC is placed at, and perform the necessary hardware switching.

** When a Bank-Switch OP code is found, and its target page is determined (say for example H'9000) the port's companion page (say H'8000) is also switched.

Now to your question:

Is the Bank-Switching reset to BANK 1 on STAND-BY or SLEEP?

Not exactly, enabled bank is not affected by SLEEP/STAND BY transitions... but there's not need of such reset. In fact, looking at the HP *official* BS scheme as for the ADV PAC (other schemes exist i.e. RAM-Box and HEPAX) I've always found that it turns back to Bank 1 after Bank 2 operation completion:

Example...

Bank 1................Bank 2

Code...

.

.

Code

BS2 Code ->...... Code

........................ Code...

Code......... <-BS1 Code

Code..

.

.

End

So you'll find Bank 1 enabled at such ROM PAC's whenever in Sleep or Stand-by.

Other schemes are manufacturer dependant and may (they do indeed) react in a different way. The RAM-Box referred above is a good example of unbalanced Switching scheme, and this *suggest* (haven't got a *real* RAM-Box to apply my probes to... :-(... and verify this, but the code is pretty straight forward and CAT 2 behavior -read below- is determinant) that the enabled bank 1 or 2 will also remain enabled while in Sleep/Stand-by. So, after performing a "PG10" command you'll see "RAMBOX b" on "CAT 2", even if you turn your 41 off and back on.

I have no info regarding HEPAX BS but apparently it follows the HP "standard" expanding it to 4 banks.

That means that you must implement different scheme behaviors depending on the the module(s) you're gonna replycate...

Please take what stated above as "to the best of my knowledge". I've collected this info as empirical observation on the modules behavior, during Clonix developement process.

A more "documented" advice will be of a great help to all of us :-)

Cheers from the Canaries and...

Meindert, keep the MLDL2000 wheel turning!!

Diego.


#4

Thansk Diego, as always your comments are helpful. My problem is that I can add hardware for powering down the CPLD even in Standby, but if it does not work, a redesign is required. I have done some tests yesterday controlling CPLD power with the PWO line, but need to do more testing.

Meindert


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP 50g switching two keys in the user keyboard Sean Freeman 9 3,872 12-05-2013, 11:44 AM
Last Post: Mark Puscas
  41 SOLVE & INTEG Bank-switched Implementation. Ángel Martin 0 890 06-21-2013, 11:31 AM
Last Post: Ángel Martin
  Need help - HP 48SX bank switching 1MB card JJB299 1 1,094 11-07-2012, 07:34 AM
Last Post: Raymond Del Tondo
  Power_CL: updated CLUTLS module - bank-switched (!) Ángel Martin 7 2,326 06-03-2012, 04:23 PM
Last Post: Ángel Martin
  HP-33s Battery Switching--What's the gag? Matt Agajanian 0 836 03-03-2012, 07:09 AM
Last Post: Matt Agajanian
  CEO of Royal Bank of Scotland uses an HP Nigel Bamber 9 1,969 11-06-2009, 12:40 AM
Last Post: Walter B
  NoV-64: FOCAL access to switching RAM blocks Geir Isene 0 782 11-22-2008, 11:12 AM
Last Post: Geir Isene
  HP41 navigation module question Muhammad Ahmad 19 4,138 07-12-2008, 04:49 PM
Last Post: Dan Grelinger
  HP41 Question Vincze 2 1,063 08-10-2007, 07:43 PM
Last Post: Dave Colver
  Switching 32SII to ALG axel 3 1,096 05-03-2005, 08:12 PM
Last Post: Ed Look

Forum Jump: