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?
Revisiting: Poking a value into address 4100 (NoV-32/HP-41)
|
04-30-2008, 05:43 PM
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?
04-30-2008, 08:30 PM
Looking at CPU reg C:
You will use the nibs 6543210 of C, nibs [6:3] are always used as For more details, please take a look into the SDK41 manual. Here's a code snippet which may be of help.
R= 6 That's it;-) HTH Raymond
04-30-2008, 08:53 PM
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
|
« Next Oldest | Next Newest »
|