Post Reply 
Examples of Memory MAP with 2x Clonix-D?
10-09-2022, 11:56 AM
Post: #21
RE: Examples of Memory MAP with 2x Clonix-D?
Hi Sylvain, all,

After re-reading my post, you're right: it's unclear whether or not NoV-64d + Clonix-D is a safe configuration.

Details:
It is perfectly safe to run a short process <30 sec. and/or key-punching operations.

It 'may' be safe for longer (hours) processes if your HP-41 is equipped with a 1826-0953 power supply IC; which of course most users don't know and there's no way to find out except opening the calc and checking the part nr. (not advisable for several reasons: e.g. screw post cracking).

With this scenario, I'd apply the "better safe than sorry" idiom and will avoid long running programs while NoV-64(d) + Clonix-D are both plugged.

Either case, these are very precautory limitations intended to avoid any damage to any HP-41 caused by power supply abuse and have worked pretty well along all these years.

Based on my experience, I'm convinced that these parts (both IC's) will keep on working perfectly well even when 200mA current is draining continuously but have never tested that end. (Of course battery life will drop accordingly, and that is something to account also.)

Best wishes from the Canary Islands.

Diego.

"Do not suppose, check it twice."
Find all posts by this user
Quote this message in a reply
10-10-2022, 06:01 AM (This post was last modified: 10-10-2022 06:03 AM by Ángel Martin.)
Post: #22
RE: Examples of Memory MAP with 2x Clonix-D?
(10-04-2022 11:30 PM)Sylvain Cote Wrote:  Ángel,
Is the library4 version part of the ROM image ?
If yes, how can I get it ? (fnc call, offset, address, etc)
Thanks
Sylvain

Sorry for the belated response, I wasn't following this thread (which I should have).

Not sure which ROM Inage do you mean, but the answer should be simple:
The Library#4 is an independent ROM, and it's not included in any other image (be that HEPAX 4H, SandMath, or whichever).

On the CX/OS dependency - yes, the Library#4 requires the CX/OS, and must of my (advanced) modules require the Library#4; therefore also the CX/OS. This is the safe rule to follow, notwithstanding single cases within those modules that don't make calls to the CX/OS - like those mentioned in the HEPAX-4H manual (the HEPAX-4H only uses the Library#4 for the additional stuff on top of the original HEPAX-1D, but not for all standard HEPAX functionality.

Hope this clarifies.
Cheers,
ÁM

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-10-2022, 06:07 AM
Post: #23
RE: Examples of Memory MAP with 2x Clonix-D?
(09-26-2022 11:18 PM)Diego Diaz Wrote:  A note on the Adv. Pac replication, though. While it's true that ZENROM or CMT require 16K to emulate this bankswitched module; in the Clonix/NoV's modules only 12K are used.

This is achieved by internally redirecting any access to the lower page into Bank 1, regardless of the active bank in the port. So you don't need to waste valuable memory with duplicated content.

Kudos to you for that subtle-but-great design detail !!

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-10-2022, 12:58 PM (This post was last modified: 10-10-2022 02:14 PM by Sylvain Cote.)
Post: #24
RE: Examples of Memory MAP with 2x Clonix-D?
Hello Ángel,

Thank you for the answer but I already knew that library4 was not part of the application ROM image. (ex.: SandMath, AMC OS/X+, etc.)

(10-04-2022 11:30 PM)Sylvain Cote Wrote:  Is the library4 version part of the ROM image ?

Let me rephrase my question, does the library4 have a version in it ? (in his ROM image at page 4)
If I have the Library4 ROM image by itself how do I find its version ?

The dependency is on two levels, the ROM and its version → AMC OS/X+ 5b depend of Library4 R45 or higher.

Right now Library 4 have "LIB4" in place of the version, did you put the version number in the ROM elsewhere ?
Code:
xFFB  034  4 
xFFC  002  B
xFFD  009  I
xFFE  00C  L
xFFF  044  checksum

Compared to math ROM (-MATH 1D) the version is "-M1D"
Code:
xFFB  004  D
xFFC  031  1
xFFD  00D  M
xFFE  02D  -
xFFF  0A4  checksum

Best regards,

Sylvain
Find all posts by this user
Quote this message in a reply
10-10-2022, 02:34 PM
Post: #25
RE: Examples of Memory MAP with 2x Clonix-D?
ok, now I understand your question ... and the answer is yes, there's revision number information in the ROM image, in the [SPLASH] routine to be precise, located at 0x4717. The way to "read" it requires using a (sub)function from any of the other modules that use the Library#4.

A few of them are:

"-AUX FNS" in the Formula_Eval Module
"-WARP FNS" in the WARP_Core module
"-HP-16C+" in the HP-16C Emulator module
"-ELLIPTIC"in the SandMath
etc...

It's a nice screen display, try it out, I'm sure you'll like it.

PS. THE CURRENT REVISION IS "-LIB#4-R60b".

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-10-2022, 05:56 PM (This post was last modified: 10-11-2022 02:36 AM by Sylvain Cote.)
Post: #26
RE: Examples of Memory MAP with 2x Clonix-D?
(10-10-2022 02:34 PM)Ángel Martin Wrote:  It's a nice screen display, try it out, I'm sure you'll like it.[Image: LIB4_VERSION_BUG.mov]
PS. THE CURRENT REVISION IS "-LIB#4-R60b".
It took me some time to find out how to execute a fonction of the extended FAT but I found it.

Test unit: 41CLv5 updated to the latest rom_files (rom_files_220923.zip) from Monte.

ROMS mapped: 4:4LIB | 8:WARP | F:YFNX

Executing -WARP CORE+WF# 52 (-WARP FNS) gives me:
Code:
¯ -LIB#4-R .
It seems to have a bug because I can see something being displayed after R but those characters are being erased by the last .
Nice animation thought. Wink

Edit: same bug with the HP-16C Emulator module
XEQ XROM:16:00 (-HP-16C+) gives me:
Code:
¯ -LIB#4-R .

And a video showing it → HERE
Find all posts by this user
Quote this message in a reply
10-11-2022, 06:52 AM (This post was last modified: 10-13-2022 07:53 AM by Ángel Martin.)
Post: #27
RE: Examples of Memory MAP with 2x Clonix-D?
Strange, your video doesn't show anything on my system (only a short sequence of a a black screen)..

That description hints at a version mismatch, or an old Library#4 version.

Take a look at the attached videos using XROM 16,00 and -WARP FNS to trigger the splash sequence. It's in MP4 format, compressed to meet the posting rules.

Also attached the latest LIBRARY#4 in MOD and ROM formats.

Let me know what you find out...

PS. triggering the splash screen is a bit of an Easter Egg, I agree, but the reward is worth it ;-)


Attached File(s)
.zip  LIB#4 Splash.zip (Size: 468.26 KB / Downloads: 8)

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-11-2022, 06:59 AM (This post was last modified: 10-11-2022 07:00 AM by Ángel Martin.)
Post: #28
RE: Examples of Memory MAP with 2x Clonix-D?
(10-09-2022 11:56 AM)Diego Diaz Wrote:  Based on my experience, I'm convinced that these parts (both IC's) will keep on working perfectly well even when 200mA current is draining continuously but have never tested that end. (Of course battery life will drop accordingly, and that is something to account also.)

Diego, any precautions needed in the CL case? I imagine not, but better safe than sorry.
Of course using a NVo-RAM and a Clonix-D together is not a sensical configuration with the capabilities available on the CL, but I'm wondering if plugging those modules in it will be crossing any red lines power-consumption wise.

Saludos,
ÁM

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-11-2022, 01:05 PM
Post: #29
RE: Examples of Memory MAP with 2x Clonix-D?
Hello Ángel,

(10-11-2022 06:52 AM)Ángel Martin Wrote:  Strange, your video doesn't show anything on my system (only a short sequence of a a black screen)..
I have created another one and tested it on Windows 10, the video should work now. → VIDEO

(10-11-2022 06:52 AM)Ángel Martin Wrote:  That description hints at a version mismatch, or an old Library#4 version.
Let me know what you find out...

41CL import LIBRARY4 file
Code:
MMUDIS
"81F000-0FFF"
SERINI
BAUD48
YIMP

java -jar ../clupdate-1.1.2.beta-jdk8.jar --upload LIBRARY4.ROM /dev/tty.usbserial-A10JXZFC 4800
Code:
07:27:53 --upload   [fileName: LIBRARY4.ROM] [portName: /dev/tty.usbserial-A10JXZFC] [baudRate: 4800]
07:27:53 File       LIBRARY4.ROM loading ...  done [YCRC=0xE9450F80 Rev:2022-07-17]
07:27:53 Serial     /dev/tty.usbserial-A10JXZFC opened.
07:27:53 Sleeping   5 seconds before starting file transfer
07:27:58 Sending    8192 = 8192 bytes sent
07:28:22 Sleeping   2 seconds after completing file transfer
07:28:28 Serial     /dev/tty.usbserial-A10JXZFC closed.

41CL config & test
Code:
MMUCLR
"YFNX"
PLUG4U
MMUEN
"81F"
YCRC        // E9450F80
Code:
"-81F 4"
PPLUG
"OSX3 8"
PPLUG
"16CS 9"
PPLUG
[XEQ] [ENTER] [XEQ] 16 00  // XROM:16:00 → "¯ -LIB#4-R ."

No change, same issue.

Thanks!

Sylvain
Find all posts by this user
Quote this message in a reply
10-11-2022, 01:35 PM
Post: #30
RE: Examples of Memory MAP with 2x Clonix-D?
Could not help but test it as well. Same results as Silvain when doing the easter egg with the 16C emulator, display does not show the LIB4 version. But I also have OSX3 plugged, and a CAT"0 G tells me that I have LIB4 R60 loaded.

Regards, Meindert
Find all posts by this user
Quote this message in a reply
10-11-2022, 01:39 PM (This post was last modified: 10-11-2022 01:53 PM by Sylvain Cote.)
Post: #31
RE: Examples of Memory MAP with 2x Clonix-D?
(10-11-2022 01:35 PM)MeindertKuipers Wrote:  But I also have OSX3 plugged, and a CAT"0 G tells me that I have LIB4 R60 loaded.
Same here: CAT" 0 → G → "4:-LIB#4-R60."
Find all posts by this user
Quote this message in a reply
10-11-2022, 02:13 PM (This post was last modified: 10-13-2022 07:53 AM by Ángel Martin.)
Post: #32
RE: Examples of Memory MAP with 2x Clonix-D?
how interesting, so it seems it only works on my system eh?
or i should say systems, in plural: it even works on the DM-41X, besides V41 and my real CL machines.

Did you download (and are now using) the LIB#4 attached in my previous post?
If so, next step is to use the same ROM files I have for the 16C emulator . In that way we get all flanks covered,
pls. use the attached and try again.

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-11-2022, 02:24 PM
Post: #33
RE: Examples of Memory MAP with 2x Clonix-D?
(10-11-2022 02:13 PM)Ángel Martin Wrote:  how interesting, so it seems it only works on my system eh?
or i should say systems, in plural: it even works on the DM-41X, besides V41 and my real CL machines.

Did you download (and are now using) the LIB#4 attached in my previous post?
yes, look at the steps I did above.
Find all posts by this user
Quote this message in a reply
10-11-2022, 02:26 PM
Post: #34
RE: Examples of Memory MAP with 2x Clonix-D?
(10-11-2022 02:24 PM)Sylvain Cote Wrote:  
(10-11-2022 02:13 PM)Ángel Martin Wrote:  how interesting, so it seems it only works on my system eh?
or i should say systems, in plural: it even works on the DM-41X, besides V41 and my real CL machines.

Did you download (and are now using) the LIB#4 attached in my previous post?
yes, look at the steps I did above.

Sorry our posts crossed paths. Pls. see above

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-11-2022, 02:53 PM (This post was last modified: 10-11-2022 02:56 PM by Sylvain Cote.)
Post: #35
RE: Examples of Memory MAP with 2x Clonix-D?
(10-11-2022 02:13 PM)Ángel Martin Wrote:  If so, next step is to use the same ROM files I have for the 16C emulator . In that way we get all flanks covered,
pls. use the attached and try again.
1) file downloaded
2) uploaded HP-16C_1.ROM to HP-16C_4.ROM at pages 820 to 823 and YCRC validated
3) "EMPT 9" PPLUG
4) "*820 9" PPLUG → I get XROM ERROR but the ROM are mapped
5) ok, redoing the config
Code:
MMUDIS
MMUCLR
"YFNX"
PLUG4U
MMUEN
Code:
"-81F 4"
PPLUG
"*820 9"
PPLUG  // XROM ERROR
Strange, no time to investigate further for now, I will come back later.

Edit: we are highjacking floppy thread, I propose that you start a new thread.
Find all posts by this user
Quote this message in a reply
10-11-2022, 03:03 PM
Post: #36
RE: Examples of Memory MAP with 2x Clonix-D?
(10-11-2022 02:24 PM)Sylvain Cote Wrote:  
(10-11-2022 02:13 PM)Ángel Martin Wrote:  how interesting, so it seems it only works on my system eh?
or i should say systems, in plural: it even works on the DM-41X, besides V41 and my real CL machines.

Did you download (and are now using) the LIB#4 attached in my previous post?
yes, look at the steps I did above.

LIB#4 R58b on DM41X shows a running display of '#' (IIRC) that cannot be interrupted.
I had to pull out the battery.

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
10-12-2022, 07:21 AM (This post was last modified: 10-12-2022 07:22 AM by Ángel Martin.)
Post: #37
RE: Examples of Memory MAP with 2x Clonix-D?
(10-11-2022 03:03 PM)Massimo Gnerucci Wrote:  
(10-11-2022 02:24 PM)Sylvain Cote Wrote:  yes, look at the steps I did above.

LIB#4 R58b on DM41X shows a running display of '#' (IIRC) that cannot be interrupted.
I had to pull out the battery.

Yes, there was a problem with previous revisions on V41 and DM-41X that caused the halt. ( although not so on the real machine, mind you.

This was corrected with revision R.60 though.
See the screen capture below, and pls. UPDATE your library MOD file asap - it's very easy on the DM-41x.


.bmp  20221012-08254612.bmp (Size: 12.31 KB / Downloads: 19)

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-12-2022, 07:58 AM
Post: #38
RE: Examples of Memory MAP with 2x Clonix-D?
(10-12-2022 07:21 AM)Ángel Martin Wrote:  
(10-11-2022 03:03 PM)Massimo Gnerucci Wrote:  LIB#4 R58b on DM41X shows a running display of '#' (IIRC) that cannot be interrupted.
I had to pull out the battery.

Yes, there was a problem with previous revisions on V41 and DM-41X that caused the halt. ( although not so on the real machine, mind you.

This was corrected with revision R.60 though.
See the screen capture below, and pls. UPDATE your library MOD file asap - it's very easy on the DM-41x.

Yes, just updated the second one. So many updates, too many devices... ;-)

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
10-13-2022, 07:51 AM
Post: #39
RE: Examples of Memory MAP with 2x Clonix-D?
Mystery solved - it turns out it was me who had a version mismatch, believe you me... I'll explain:

As it turns out, there's a difference in the way the [SPLASH] routine works between the FULLNUT and HALFNUT LCD drivers. Unfortunately I have no idea why this happens (which is not supposed to!), but the good news is that I figured out the code changes needed to make it work properly on each type.

In my testing I was using the HALFNUT version of the Library#4 on V41 and the DM-41X, but the CL version on the CL. Since both have the same revision number the displayed string was the same. That's why I didn't see the issue.

I have renamed the CL version to "LIBRARY4_CL.ROM", see attached and take it for a spin ON THE CL - but don't use it on Halfnut machines or emulators.

ÁM


Attached File(s)
.zip  LIBRARY4_CL.zip (Size: 10.33 KB / Downloads: 5)

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
10-13-2022, 09:05 AM (This post was last modified: 10-13-2022 10:22 AM by Sylvain Cote.)
Post: #40
RE: Examples of Memory MAP with 2x Clonix-D?
Hello Ángel,
It worked! Cool
Using the latest 41CL ROM files (rom_files_220923.zip) with the right Library4 (LIBRARY4_CL.ROM), I get:
Code:
XROM:16:00  → -LIB#4-R60 . 
WF# 52      → -LIB#4-R60 . 
CAT" 0  G   → 4:-LIB#4-R60 .
Thank you!
Sylvain
PS: do not forget to sent it to Monte.
Edit: Not so sure this is correct, see later posts.
Find all posts by this user
Quote this message in a reply
Post Reply 




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