HP Forums
Warp-core+ SHFL on 41CL: strange behaviours - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Warp-core+ SHFL on 41CL: strange behaviours (/thread-17182.html)



Warp-core+ SHFL on 41CL: strange behaviours - yann - 06-29-2021 12:45 PM

Hello everyone! I recently bought a 41CL and I am fascinated by it but I have a little problem: I have installed the Warp-core + rev. K10 MODULE, as per the manual with PLUG WARP B and I would like to use the SHFL command to speed up the operations on the stack but I notice the following strange behaviors:
- as per the manual to enter a numeric digit I have to press SHIFT but I have not found any way to enter the letters identifying the stack levels (XYZTL). Nothing happens when you press one of these letters.
-If I press RADIX I still get nothing (shouldn't I see the prompts populated with the letters of all levels?) But the display quickly turns off and on again.
-If I press '.' (dot) i can see the DATA ERROR on display (this is OK) but I can see "XYZTL" on ALPHA register!
I wrote a little program that puts "TZYXL" in the ALPHA register and executes SHFL: I should get the stack upside down, instead I get the hang of the 41CL!!!
-If I press ALPHA, the command switch from SHFL to R0R4 with the same behavior of SHFL.
On the Warp module I use also LIFO X that works great!
My 41CL is "New" as it has been carefully restored and upgraded to 41CL by The Calculator Store and the keyboard works perfectly.
Did I do something wrong, did I not understand correctly or is there a bug?
A heartfelt thank you for any idea on the matter.


RE: Warp-core+ SHFL on 41CL: strange behaviours - mfleming - 06-30-2021 12:50 AM

Hello, welcome!

To make diagnosing your problem a bit easier, you should list your whole configuration. For example, do you have Library 4 plugged into page 4? What other ROMs do you have plugged in?

The 41CL does take some time to master, but you'll get there with a bit of study!
~Mark


RE: Warp-core+ SHFL on 41CL: strange behaviours - Ángel Martin - 06-30-2021 05:13 AM

(06-29-2021 12:45 PM)yann Wrote:  Did I do something wrong, did I not understand correctly or is there a bug?

Did you plug the Library#4 in?
It's required for most of my advanced modules.

PLUG 4LIB 4


RE: Warp-core+ SHFL on 41CL: strange behaviours - yann - 06-30-2021 06:45 AM

Hi!, Thank you very much for your help.
Yes! I installed the #4 Library.
This is my installation:
Code:

PGCAT
3:-EXT FCN 3B
4:-LIB#4 R58b.
5:-TIME  3B  
6:-PRINTER 2E
7:-MASS ST 1H
8:-OSX BANK2 
9:-YFNX 4C   
A:-PWRCL EXT 
B:-WARP CORE+
C:-HEPX_PLUS 
D:-HEPAX'4H  
E:\LO        
F: NO FAT
In E and F Ports I have Hepax Files.
My 41CL is upgraded to rom_files_210517.zip.


RE: Warp-core+ SHFL on 41CL: strange behaviours - Ángel Martin - 06-30-2021 12:18 PM

ok, that's good. I believe there may be an issue with the bank-switching in port 2 with pages A and B interfering one another.

do the following change to check this theory:

swap pages B and C as follows:

B: -HEPX_ PLUS
C: -WARP_CORE+

Does this fix the problem?


RE: Warp-core+ SHFL on 41CL: strange behaviours - yann - 06-30-2021 12:29 PM

Thanks, but unfortunately it doesn't work ...


RE: Warp-core+ SHFL on 41CL: strange behaviours - Ángel Martin - 06-30-2021 12:39 PM

then there may be some version mismatch. Use the ROMS in the attached zip container, these are the current versions.


RE: Warp-core+ SHFL on 41CL: strange behaviours - yann - 06-30-2021 12:43 PM

My first responses were very slowed down by the time it took to verify my text by the site moderator.
I have already updated the 41CL to rom_files_210602.zip which is the latest version.


RE: Warp-core+ SHFL on 41CL: strange behaviours - yann - 06-30-2021 07:02 PM

I reconfigured all the 41CL with PLUG <module> <port>
because I had entered library 4 with ALPHA 804040-8120 ALPHA YPOKE
and you recommend using PLUG to install WARP.
Unfortunately, even so SHFL continues to play its "tantrums"!
Anyway, thank you very much for all the time you are dedicating to me!


RE: Warp-core+ SHFL on 41CL: strange behaviours - Sylvain Cote - 06-30-2021 07:37 PM

I am working right now (GMT-4h) but I will give it a shot tonight to see if I can reproduce your problem.
Sylvain


RE: Warp-core+ SHFL on 41CL: strange behaviours - Sylvain Cote - 07-01-2021 01:17 AM

41CL updated to June 2nd, 2021 ROMs (rom_files_210602.zip)

Configuration steps:
Code:
MMUDIS          // disable MMU
MMUCLR          // clear MMU configuration
"YFNX"          // CL Extreme ROM
PLUG1U          // page 9 = CL Extreme ROM
MMUEN           // enable MMU
"4LIB 4"        // page 4 = Library #4
PPLUG           // activate page 4
"OSX3 8"        // page 8 = OS/X
PPLUG           // activate page 8
"PWRX A"        // page A = PowerCL Extreme
PPLUG           // activate page A
"WARP B"        // page B = WARP Core
PPLUG           // activate page B
"HEP3 C"        // page C = HEPAX Plus
PPLUG           // activate page C
"HEP2 D"        // page D = HEPAX 4H
PPLUG           // activate page D
"820000-0000"   // 4K QROM at page 820 (will becomes HEPAX RAM at page E)
YMCLR           // clear QROM content
"821000-0000"   // 4K QROM at page 820 (will becomes HEPAX RAM at page F)
YMCLR           // clear QROM content
"+820 E"        // pages E = 820 & F = 821
PPLUG           // activate pages E & F
HEPINI          // Initialize HEPAX RAM
                // at the first prompt, enter 2 (for 2 pages)
                // then at the second prompt, enter E (the first HEPAX RAM page)
OFF             // power cycle off
ON              // power cycle on
HEPDIR          // you should see H:DIR EMPTY and 1304 in X (free HEPAX DATA registers)

41CL ROM's Used
Code:
ID    Content     Description               YCRC
----  ----------  ------------------------  ----------
YFNX  YFNX-4C     41CL Extreme Functs -4C   0x15C13E04
4LIB  LIBRARY4    Library-4                 0x1C539FC4
OSX3  OSXB1       Lib-4 OS/X, bnk 1         0xFFB8718B
OSX3  OSXB2       Lib-4 OS/X, bnk 2         0x1EB52F23
OSX3  OSXB3       Lib-4 OS/X, bnk 3         0xBE678A83
OSX3  OSXB4       Lib-4 OS/X, bnk 4         0xBE678A83
PWRX  PWREXT1     PowerCL Extreme, bnk 1    0xF7CDE56D
PWRX  PWREXT2     PowerCL Extreme, bnk 2    0x4DFB4E0D
PWRX  PWREXT3     PowerCL Extreme, bnk 3    0xCBBC38B9
PWRX  PWREXT4     PowerCL Extreme, bnk 4    0x399B5175
WARP  WARPB1      Warp-core, bnk 1          0x0EC1AA88
WARP  WARPB2      Warp-core, bnk 2          0x7A5F8498
WARP  WARPB3      Warp-core, bnk 3          0x76DFB742
HEP3  HPX_PLUS    HEPAX Plus                0x9EBF0A5A
HEP2  HEPX4H_1    HEPAX 4H, bnk 1           0x098EFF9E
HEP2  HEPX4H_2    HEPAX 4H, bnk 2           0x88C629B9
HEP2  HEPX4H_3    HEPAX 4H, bnk 3           0x0330CD6E
HEP2  HEPX4H_4    HEPAX 4H, bnk 4           0xDEA6DD4B

PGCAT
Code:
3:-EXT FNC 3B
4:LIB#4 R58 .
5:-TIME  3B
6:NO ROM
7:NO ROM
8:-OSX BANK2
9:-YFNX 4C
A:-PWRCL EXT
B:-WARP CORE+
C:-HEPX_PLUS
D:-HEPAX'4H
E:NO FAT
F:NO FAT

CAT" 2
Code:
-EXT FNC 3B
-CL EXT FCN
-TIME  3B
-CL TIME
-AMC"OS/X
-OSX BANK2
-YFNX 4C
-SYS FNS
-SER FNS
-MISC FNS
-PWRCL EXT
-SYS/EXT
-SI
-WARP CORE+
-STKT
-HEPX_PLUS
-HEPX_APPS
-HEPAX'4H
-HEXTRA

(06-29-2021 12:45 PM)yann Wrote:  ...I would like to use the SHFL command to speed up the operations on the stack but I notice the following strange behaviors:
- as per the manual to enter a numeric digit I have to press SHIFT but I have not found any way to enter the letters identifying the stack levels (XYZTL). Nothing happens when you press one of these letters.
-If I press RADIX I still get nothing (shouldn't I see the prompts populated with the letters of all levels?) But the display quickly turns off and on again.
-If I press '.' (dot) i can see the DATA ERROR on display (this is OK) but I can see "XYZTL" on ALPHA register!
I wrote a little program that puts "TZYXL" in the ALPHA register and executes SHFL: I should get the stack upside down, instead I get the hang of the 41CL!!!
-If I press ALPHA, the command switch from SHFL to R0R4 with the same behavior of SHFL.
On the Warp module I use also LIFO X that works great!
I have the same behavior on my side and with the latest ROM files from Monte (rom_files_210602.zip).

I am now downloading Ángel's files, I will then load these ROM into QROM, reconfigure the 41CL to use these new ROMS and redo the testing, see you later!

Sylvain


RE: Warp-core+ SHFL on 41CL: strange behaviours - Sylvain Cote - 07-01-2021 04:04 AM

I have downloaded the zip files and then uploaded the ROMs to the 41CL at these locations:
Code:
  Filename    Location     YCRC     Comment
------------  --------  ----------  ---------------------
LIBRARY4.ROM   830000   0x0C534356
WARPB1.ROM     831000   0x1AB1C614
WARPB2.ROM     832000   0x73A2E747
WARPB3.ROM     833000   0xC89E6ADD
place-holder   834000   0xD666D0E4  cleared/empty bank 4

The ROMs has been mapped and the SHFL now works, thanks Ángel.
yann, I will post the procedure of what I have done tomorrow.
I am assuming that these updated files will be included in the next rom files release from Monte.
So you can either try my tomorrow procedure or wait for Monte updated rom files.

Sylvain


RE: Warp-core+ SHFL on 41CL: strange behaviours - yann - 07-01-2021 06:29 AM

Many thanks, Sylvain, for your explanations.
I am looking forward to your procedure to reconfigure the 41CL.
With best regards.


RE: Warp-core+ SHFL on 41CL: strange behaviours - Sylvain Cote - 07-01-2021 12:29 PM

First step ...

To do the following steps you need:
Configuration steps ...

The following steps needs to be done when you need to connect/disconnect the serial cable to/from the 41CL.
Code:
[ON]                  // power off
                      // connect/disconnect serial cable to/from the 41CL and to/from the computer.
[ON]                  // power on
MMUEN                 // the MMU often disable itself when the connection/disconnection of the serial plug occur.

The following steps needs to be executed when you want to manually transfer a ROM with the serial port.
They also need to be done when the 41CL goes OFF automatically or when you get a OVERRUN message while transmitting.
Code:
[ON]                  // OVERRUN case only - power-cycling power off
[ON]                  // OVERRUN case only - power-cycling power on
50
PTURBO                // turbo 50x is needed in order to have a successfull serial port transfer
SERINI                // initialize serial port
48
PBAUD                 // setup the baud rate to 4800 baud

Transmission steps ...

We have these 4 ROMs to transfer.
Code:
Filename         YCRC     RAM Address
------------  ----------  -----------
LIBRARY4.ROM  0x0C534356       830000 
WARPB1.ROM    0x1AB1C614       831000 
WARPB2.ROM    0x73A2E747       832000 
WARPB3.ROM    0xC89E6ADD       833000 
                               834000   although there is no ROM at this address, it will be needed later

I will show the steps for LIBRARY4.ROM but you will have to repeat these steps for the other ROMs as well.

On the 41CL
Code:
"830000-0FFF"         // RAM address where LIBRARY4.ROM will be loaded
[XEQ] [ALPHA] YIMP    // YIMP command is left dangling

On the computer
Code:
java -jar clupdate-1.1.0.jar --upload LIBRARY4.ROM /dev/tty.usbserial 4800 [return]

You should get the following message
Code:
HH:MM:SS --upload    [fileName: LIBRARY4.ROM] [portName: /dev/tty.usbserial] [baudRate: 4800]
HH:MM:SS File       LIBRARY4.ROM loading ...  done [YCRC=0x0C534356 Rev:2021-06-25]
HH:MM:SS Serial     /dev/tty.usbserial opened.
HH:MM:SS Sleeping   5 seconds before starting file transfer

On the 41CL and within 5 seconds of the above message
Code:
[ALPHA]               // execute YIMP command
"830"                 // RAM address where LIBRARY4.ROM is located
YCRC                  // request a CRC to validate if we got the complete ROM, I get 0C534356, perfect match, it is valid

MMU configuration steps ...

Code:
MMUDIS          // disable MMU
MMUCLR          // clear MMU configuration
"YFNX"          // CL Extreme ROM
PLUG1U          // page 9 = CL Extreme ROM
MMUEN           // enable MMU
"-830 4"        // page 4 = Library #4 in RAM address 830
PPLUG           // activate page 4
"OSX3 8"        // page 8 = OS/X
PPLUG           // activate page 8
"PWRX A"        // page A = PowerCL Extreme
PPLUG           // activate page A
"834000-0000"   // since the PPLUG command assume 4 pages bank switching we need to erase the fourth one
YMCLR           // do the erasing
"*831 B"        // page B = WARP Core with bank switched code located at RAM addresses 831, 832, 833 & 834 
PPLUG           // activate page B
"HEP3 C"        // page C = HEPAX Plus
PPLUG           // activate page C
"HEP2 D"        // page D = HEPAX 4H
PPLUG           // activate page D
"820000-0000"   // 4K QROM at page 820 (will becomes HEPAX RAM at page E)
YMCLR           // clear QROM content
"821000-0000"   // 4K QROM at page 820 (will becomes HEPAX RAM at page F)
YMCLR           // clear QROM content
"+820 E"        // pages E = 820 & F = 821
PPLUG           // activate pages E & F
HEPINI          // Initialize HEPAX RAM
                // at the first prompt, enter 2 (for 2 pages)
                // then at the second prompt, enter E (the first HEPAX RAM page)
OFF             // power cycle off
ON              // power cycle on
HEPDIR          // you should see H:DIR EMPTY and 1304 in X (free HEPAX DATA registers)

Have fun! Cool

Sylvain


RE: Warp-core+ SHFL on 41CL: strange behaviours - yann - 07-01-2021 03:50 PM

Thanks for the instructions !!!
I followed them and now SHFL works perfectly!
Thank you so much.
With best regards.


RE: Warp-core+ SHFL on 41CL: strange behaviours - Sylvain Cote - 07-01-2021 06:39 PM

Great news! ... my pleasure. Now you are able to use the great ROM's that Ángel, Monte, Håkan, Greg, Mark and all the other geniuses have created for us.