Revisiting: Poking a value into address 4100 (NoV-32/HP-41)
#1

Ok, revisiting a topic partly covered a few months back.

Given that I have a POKE function in the "fixed" part of a NoV-32, how do I make it write to the address 4100 to make it switch the HEPAX ram blocks?

#2

Looking at CPU reg C:

You will use the nibs 6543210 of C, nibs [6:3] are always used as

address field, and nibs [2:0] are (almost) always used as data field.

For more details, please take a look into the SDK41 manual.

Here's a code snippet which may be of help.

R= 6

LD@R 4

LD@R 1

LD@R 0

LD@R 0 (note that the active pointer will be decremented automatically after the LD)

LDI S&X hhh (where hhh is the HEX val you want to write)

WROM

That's it;-)

HTH

Raymond

#3

Hi Geir,

Although some people might think the opposite way, I'm *not* the most authoritative person to respond this question... mostly because I have no idea of the supposed behavior of that POKE function.

Assuming it does what every other POKE I've ever seen does. It will fill the given address with the given contents... right?

Ok, then simply place an H'000 into H'4100 to turn RAM block 0 (zero) on, or H'001 to turn on block 1 (one).

Anyhow, I'll have to check de NoV-32 code to confirm if this will work into a running program, or you'll need to go to "stand by" (set PWO line Low) to physically achieve the block swapping. Should this was the case, chances are that NoV-32 internal code would have to be modified to get RAM block swapped "on the fly". Yes, if we reach that point I may well be the most auhoritative person for the job... (well... er... hope so ;-))

Best wishes.

Diego



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,560 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP-41 Clonix&NoV's SW Update. (For the non-Primer's guys out there... :-) Diego Diaz 21 5,627 11-13-2013, 09:00 AM
Last Post: Ángel Martin
  RPL 32 David Hayden 4 2,030 11-11-2013, 11:34 AM
Last Post: David Hayden
  Where to the 32-bit version of User Code Utiltiy for HP-41 ? Olivier (Wa) 2 1,469 09-26-2013, 01:55 AM
Last Post: Olivier (Wa)
  Last HP emulation, 32 & 01 Olivier De Smet 0 1,014 09-07-2013, 08:27 AM
Last Post: Olivier De Smet
  New website address for Meindert Kuipers' MLDL2000? Garth Wilson 2 1,302 08-11-2013, 01:43 PM
Last Post: Meindert Kuipers
  HP41 Functions Address Table (F.A.T.) Antoine M. Couëtte 6 2,142 07-21-2013, 02:48 AM
Last Post: Antoine M. Couëtte
  HP-41CL & NoV(-64): Race condition? Geir Isene 11 3,253 05-03-2013, 01:59 PM
Last Post: Diego Diaz
  Latest Clonix/NoV's SW update. Diego Diaz 5 2,108 02-15-2013, 12:12 PM
Last Post: Ángel Martin
  [Clonix/NOV] NoV-64 backwards compatibility Doug (NYC) 0 960 01-20-2013, 11:21 AM
Last Post: Doug (NYC)

Forum Jump: