Post Reply 
41CL CLXPMEM - YSTO, YRCL and YX<> index problem
08-29-2018, 07:10 AM
Post: #4
RE: 41CL CLXPMEM - YSTO, YRCL and YX<> index problem
(08-29-2018 04:57 AM)Ángel Martin Wrote:  
(08-28-2018 06:07 PM)Podalirius Wrote:  I chose the value 500 because is in the range of MAIN memory addresses
(192-511, Hex 0CD-1FF). Where I am wrong?

the argument 500 refers to the 500th. register within the CL-Expanded memory area, i.e. it's got nothing to do with main RAM addresses. In other words, it's an INDEX, not an address.

Without the CL board these functions are therefore meaningless, because that memory area does not exist.

For instance, using them on a standard HP-41 they properly return NONEXISTENT, as there's a memory existence check embedded into their MCODE.

Using them on emulators may yield confusing results if the emulator does not handle memory addresses properly (i.e. exactly like the original machine). For instance, V41 misinterprets the addresses over 3FF by simply wrapping the "XS" digit back to "0", so it always defaults to the 000-3FF range. If there's Extended memory that *may* match some of the emulated registers, giving you the impression that it is working - but it's really storing the values in unexpected areas.

Maybe this is also what happens with your emulator, so make sure the RAM SELECT instruction doesn't override values above 3FF in your implementation .

BTW the latest version of the CLXPMEM module , rev "2D" includes a CL-Board presence check; I added that precisely to avoid the ambiguous response of V41 that I use extensively. You get the "NO CL" error msg and the operation is not performed. If you don't see that error msg you're not using the latest revision...

Cheers,
ÁM

Hi, Thank you very much!
I use the nsimII emulator that support (in beta version) the 41CL V3.
I have upgraded this emulator with the last rom_file_180706.zip
I have installed in nsimII 41CL emulation, LIB#4, OSX3, YFNX, PWRX and XPMM,
thanks to all the helps obtained in this Forum, without any problem.
I think that real 41CL is so much better that emulator, but the emulator is actually
the only system I have to study and make experience, and also to test
before to make changes to the real 41CL (I am witing the receive of my 41CL board).
to avoid 41CL damaging.
I think that addressing of many pages is missing in a 41CL V3,
but the instruction YX<> seems to vork well, and the YSTO and YRCL do not
return any error. Without any other help, I think that only I can test this with the real 41CL.
Again, Thank you so much!!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 41CL CLXPMEM - YSTO, YRCL and YX<> index problem - Podalirius - 08-29-2018 07:10 AM



User(s) browsing this thread: 2 Guest(s)