Post Reply 
Genesis 41 Emulator by Laurent Spohr
08-02-2015, 11:32 AM
Post: #1
Genesis 41 Emulator by Laurent Spohr
I stumbled across an emulator that has obviously not been updated in quite a while:

http://www.laurent-spohr.com/Main/HP-41CX_Emulator.html

Does anyone know more about the fate of that project. The feature list looks quite impressive...


Thanks,


a.
Find all posts by this user
Quote this message in a reply
08-03-2015, 12:57 AM
Post: #2
RE: Genesis 41 Emulator by Laurent Spohr
I have been using it almost daily since 2013 on OS/X 10.8 than 10.9 and now 10.10.
The version I have is: v2.26 32bits OSX 1.9 Mavericks GM
The application is very well done and is very complete.
It can simulate the 41C/CV/CX, card-reader, wand, printer, IL printer & IL storage.
It has a assembler/disassembler and a ROM/RAM memory layout manager
The ROM MLM support all 16 pages with 4 banks on each page.

Complaints/features missing.
- I am not able to copy to the clipboard the virtual printer content.
- The overlay system could be improved.
- It would be very nice if it the application was supporting the PIL Box.
- Same thing for the Virtual-IL protocol.
- 32bits Carbon application (deprecated API, still run on OSX, but for how long, need a Cocoa rewrite)
- No update since December 2013

As of today, my gold standard in the Apple World for a HP-41 emulator is:
i41CX+ on IOS then followed by
Genesis-41 on OS/X.

Sylvain
Find all posts by this user
Quote this message in a reply
08-05-2015, 02:43 PM
Post: #3
RE: Genesis 41 Emulator by Laurent Spohr
(08-03-2015 12:57 AM)Sylvain Cote Wrote:  The version I have is: v2.26 32bits OSX 1.9 Mavericks GM

Hi Sylvain,

The Version on the Homepage I linked to seems to be 2.24 and it bombs on my Computer (MacOs 10.10.5b). Where did you find 2.26?

Thank you

Andreas
Find all posts by this user
Quote this message in a reply
08-05-2015, 09:31 PM
Post: #4
RE: Genesis 41 Emulator by Laurent Spohr
(08-05-2015 02:43 PM)anetzer Wrote:  Where did you find 2.26?

Hello Andreas,
I was given to me by Laurent directly because I had similar issues.
My copy is a registered paid version.
I do not have a demo copy of v2.26 so you will need to ask Laurent to give you one.
Best regards,
Sylvain
Find all posts by this user
Quote this message in a reply
11-13-2016, 06:33 PM
Post: #5
RE: Genesis 41 Emulator by Laurent Spohr
(08-05-2015 09:31 PM)Sylvain Cote Wrote:  It was given to me by Laurent directly because I had similar issues.

For any people interested,

I finally contacted Laurent. He answered promptly. If I understand him right, he has essentially moved on from the project. It seems to be in hiatus. He let me understand that he might eventually open source the code at a very uncertain future time.

I was very happy to receive a working build (currently version 2.31 for OSX 10.11 which - so far - runs nicely for me on current macOS 10.12).

Any relevant information regarding features and operation can be gathered from the website cited at the beginning of this thread.

Greetings,

anetzer
Find all posts by this user
Quote this message in a reply
06-19-2021, 11:10 AM
Post: #6
RE: Genesis 41 Emulator by Laurent Spohr
(11-13-2016 06:33 PM)anetzer Wrote:  
(08-05-2015 09:31 PM)Sylvain Cote Wrote:  It was given to me by Laurent directly because I had similar issues.

For any people interested,

I finally contacted Laurent. He answered promptly. If I understand him right, he has essentially moved on from the project. It seems to be in hiatus. He let me understand that he might eventually open source the code at a very uncertain future time.

I was very happy to receive a working build (currently version 2.31 for OSX 10.11 which - so far - runs nicely for me on current macOS 10.12).

Any relevant information regarding features and operation can be gathered from the website cited at the beginning of this thread.

Greetings,

anetzer

Hi all,

I'm reviving this very old thread as I'm looking for the lastest version of this program.
Does anyone know where I could find it, or have Laurent's current contact info??

Thank you.

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
06-19-2021, 01:49 PM (This post was last modified: 06-19-2021 01:50 PM by Sylvain Cote.)
Post: #7
RE: Genesis 41 Emulator by Laurent Spohr
As far as I know the software is no longer available nor supported.
Laurent's web site is now down. (web.archive.org 2016 version)
Last available version is: Genesis-41: v2.31, 64 bits, summer 2016.
This is the version that I have and very lucky that it is still working on Big Sur.
Find all posts by this user
Quote this message in a reply
06-19-2021, 02:37 PM
Post: #8
RE: Genesis 41 Emulator by Laurent Spohr
(06-19-2021 01:49 PM)Sylvain Cote Wrote:  As far as I know the software is no longer available nor supported.
Laurent's web site is now down. (web.archive.org 2016 version)
Last available version is: Genesis-41: v2.31, 64 bits, summer 2016.
This is the version that I have and very lucky that it is still working on Big Sur.

Thanks Sylvain,

I dropped him a line. I hope he’ll answer.

Regards

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
06-19-2021, 04:05 PM
Post: #9
RE: Genesis 41 Emulator by Laurent Spohr
version 2.2 is available as a download at Genesis-41(2.2 free)

BEST!
SlideRule
Find all posts by this user
Quote this message in a reply
06-19-2021, 05:03 PM
Post: #10
RE: Genesis 41 Emulator by Laurent Spohr
(06-19-2021 04:05 PM)SlideRule Wrote:  version 2.2 is available as a download at Genesis-41(2.2 free)

BEST!
SlideRule

Yes I know, thank you.
But this version is unfortunately not compatible with my current version of OSX (Catalina)…

But thanks anyway.

Regards

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
06-19-2021, 07:03 PM
Post: #11
RE: Genesis 41 Emulator by Laurent Spohr
(06-19-2021 01:49 PM)Sylvain Cote Wrote:  As far as I know the software is no longer available nor supported.
Laurent's web site is now down. (web.archive.org 2016 version)
Last available version is: Genesis-41: v2.31, 64 bits, summer 2016.
This is the version that I have and very lucky that it is still working on Big Sur.

Hi Sylvain,

I received an answer from Laurent.


Attached File(s) Thumbnail(s)
   

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
06-19-2021, 09:33 PM (This post was last modified: 06-19-2021 09:34 PM by Sylvain Cote.)
Post: #12
RE: Genesis 41 Emulator by Laurent Spohr
(06-19-2021 07:03 PM)Neve Wrote:  I received an answer from Laurent.
Great! you have a PM.
Find all posts by this user
Quote this message in a reply
06-20-2021, 04:35 AM
Post: #13
RE: Genesis 41 Emulator by Laurent Spohr
Source code on GitHub? That would be nice, I'd love to have an HP-41 emulator that runs natively on MacOS and doesn't require running in a VM!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-21-2021, 04:56 PM (This post was last modified: 06-21-2021 04:57 PM by Neve.)
Post: #14
RE: Genesis 41 Emulator by Laurent Spohr
Now that Sylvain and Laurent have both sent me the latest version of the program (it works great on Catalina BTW), does anyone know how to transfer programs from my physical machines (HP41-CL with serial a connection), to the Mac? I’ve never done that before, and I don’t feel like rewriting everything…
I do have an HP-IL but no Pilbox.
And that would also be great to be able to store them on the mass storage drive that can be attached to Genesis-41.

Thank you all so very much.

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
06-21-2021, 07:39 PM
Post: #15
RE: Genesis 41 Emulator by Laurent Spohr
(06-21-2021 04:56 PM)Neve Wrote:  Now that Sylvain and Laurent have both sent me the latest version of the program (it works great on Catalina BTW), does anyone know how to transfer programs from my physical machines (HP41-CL with serial a connection), to the Mac? I’ve never done that before, and I don’t feel like rewriting everything…
I do have an HP-IL but no Pilbox.
And that would also be great to be able to store them on the mass storage drive that can be attached to Genesis-41.

Thank you all so very much.

There's no direct way to copy the files w/o a PIL-Box (which you should get since they are now available again) however I'd suggest keying them into the emulator manually. Even though it may seem tedious, it's the best way to learn to use the new emulator, learn its various key-mappings and behavior, etc.

Folks like Sylvain may be able to suggest alternate ways of copying programs to the Mac, but in all likelihood, those methods are more tedious than just simply keying them in.

Good luck

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
06-21-2021, 09:36 PM
Post: #16
RE: Genesis 41 Emulator by Laurent Spohr
(06-21-2021 07:39 PM)rprosperi Wrote:  There's no direct way to copy the files w/o a PIL-Box (which you should get since they are now available again) however I'd suggest keying them into the emulator manually. Even though it may seem tedious, it's the best way to learn to use the new emulator, learn its various key-mappings and behavior, etc.

Folks like Sylvain may be able to suggest alternate ways of copying programs to the Mac, but in all likelihood, those methods are more tedious than just simply keying them in.

Good luck

That’s probably what I’ll end up doing. I wished there was another simpler way though.

I’m trying to figure out how to add more downloaded ROM images. They don’t seem to be recognized.

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
06-21-2021, 10:13 PM (This post was last modified: 06-21-2021 10:43 PM by Sylvain Cote.)
Post: #17
RE: Genesis 41 Emulator by Laurent Spohr
(06-21-2021 04:56 PM)Neve Wrote:  does anyone know how to transfer programs from my physical machines (HP41-CL with serial a connection), to the Mac? I’ve never done that before, and I don’t feel like rewriting everything…
Mmm ... let me check if there a way to do it through the serial port.

(06-21-2021 09:36 PM)Neve Wrote:  I’m trying to figure out how to add more downloaded ROM images. They don’t seem to be recognized.
Right mouse button on "Genesis-41" app icon, select "Show Package Contents", enter into "Contents", then into "Resources" and finally into "ROMS'. Copy your new/updated ROM's into that folder.

Sylvain

edit: I need to do some testing but the following should work
  1. on the 41CL either map
    1. an HEPAX module (HEPX) with 1 HEPAX RAM (HEPRAM)
      or
    2. an W&W RAMBox32 (RM32) with 1 QROM
  2. format the HEPRAM/QROM
  3. copy your programs to the HEPRAM/QROM
  4. transfert the HEPRAM/QROM to your computer with the serial port
  5. copy the HEPRAM/QROM file to the ROMS folder of Genesis-41
  6. map the HEPAX/RAMBOX32 with the HEPRAM/QROM that you have transferred
Find all posts by this user
Quote this message in a reply
06-22-2021, 12:47 AM
Post: #18
RE: Genesis 41 Emulator by Laurent Spohr
(06-21-2021 10:13 PM)Sylvain Cote Wrote:  Mmm ... let me check if there a way to do it through the serial port.

Sylvain

That would awesome, thank you!

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
06-22-2021, 12:55 AM (This post was last modified: 06-23-2021 12:19 PM by Sylvain Cote.)
Post: #19
RE: Genesis 41 Emulator by Laurent Spohr
(06-21-2021 07:39 PM)rprosperi Wrote:  Folks like Sylvain may be able to suggest alternate ways of copying programs to the Mac, but in all likelihood, those methods are more tedious than just simply keying them in.
Party pooper! LOL
It turn out that you were right, so I offer you my sincere apology for having teased you.
The procedures are more tedious if you want to copy 1 or 2 programs although it pays off if you have a bunch of programs to transfers between the 41CL and the emulator.
Still, an apology where in order here.

Here is the procedure to transfer programs from a 41CL to Genesis-41 (or any other emulator) using RAMBox32 and the serial port.
Code:
MMUDIS              // MMU Disable
MMUCLR              // MMU Clear, I always include this step in my procedures to avoid conflict with other configurations, but you can skip this line if you know what you are doing
TURBOX              // needed to see RAMBox32 messages
"YFNX"              // 41CL Extreme Function ROM ID (XROM:15)
PLUG1L              // Plug module to page 8
"RM32"              // RAMBox 32 ROM ID (XROM:31)
PLUG1U              // Plug module to page 9
"820-RAM"           // Use a 4K 10 bits RAM block to be used as QROM
PLUG2               // Plug module to page 10
"820000-0000"       // Write 0 to the entire 4K QROM space
YMCLR               // Erase QROM space
MMUEN               // MMU Enable 
2                   // QROM XROM:2 (Y register)
10                  // QROM page   (X register)
"MY-PROGS 1A"       // ROM name
INITPG              // RB32 Init Page
CAT 2               // "MY-PROGS 1A" should be displayed at some point
                    // For each program that we want to copy from main RAM into QROM
"PROG1"             //   Enter program name in ALPHA
10                  //   Specify QROM page
LDPGM               //   RB32 Copy program from main RAM into QROM
                    // For-end
CAT 2               // When "MY-PROGS 1A" is displayed, press R/S, then ENTER and you should see all your programs that you have uploaded into QROM
10                  // QROM page   (X register)
"MP1A"              // ROM Revision (here: My Programs 1A)
ENDPG               // RB32 Close the page, save the ROM revision and calculate page checksum and write it to AFFFB-AFFFF, you should see "MP-1A BROKEN" at the end, it is normal
10                  // QROM page   (X register)
PGSUM               // RB32 Calculate page checksum, write it to AFFFF and display the result, you should see "MP-1A INTACT" at the end, it is normal
                    // Plug your serial cable into your 41CL and into your computer
MMUEN               // Reactivate the MMU, plugging/unplugging the serial cable sometime deactivate the MMU
SERINI              // Initialise 41CL serial port
48                  // Communication speed 4800 baud (X register)
PBAUD               // Activate comm speed
50                  // 50x speed increase (X register)
PTURBO              // needed for data communication
"820000-0FFF"       // QROM address and number of bytes to transfer
                    // On your PC from the command line type: java -jar clupdate-1.1.0.jar --download mp1a.rom /dev/tty.usbserial 4800 [return]
YEXP                // Start the export from the 41CL
                    // Something similar as this should be displayed on your computer
                    // 20:39:54 --download  [fileName: mp1a.rom] [portName: /dev/tty.usbserial] [baudRate: 4800]
                    // 20:39:54 Serial     /dev/tty.usbserial opened.
                    // 20:39:54 Receiving  1339 2187 2187 2186 293 = 8192 bytes received
                    // 20:40:25 File       mp1a.rom saving ... done [YCRC=0xE686AD0E]
                    // 20:40:29 Serial     /dev/tty.usbserial closed.            
"820"               // QROM address
YCRC                // Calculate CRC and verify that it match the one calculated on your PC (in my case: E686AD0E)
                    // Copy the mp1a.rom to: /Applications/Genesis-41.app/Contents/Resources/ROMS/
                    // In Genesis-41 load mp1a.rom to let says page 10 and do a CAT 2 and you should see your programs

To see all the steps in one block, click on the "View a Printable Version" at the bottom of this page.

Sylvain

edit 1: the above procedure was successfully tested with a 41CL v5, macOS Big Sur (11.4) and Java 11 (OpenJDK Runtime Environment AdoptOpenJDK, build 11.0.7+10)
edit 2: cosmetic changes
edit 3: changed speed from 50x to 1x to see RAMBox32 messages, inverted the order of PGSUM and ENDPG
edit 4: added 50x speed increase before doing the ROM export (YEXP)
edit 5: apology & typos
Find all posts by this user
Quote this message in a reply
06-22-2021, 01:35 AM
Post: #20
RE: Genesis 41 Emulator by Laurent Spohr
Hi Sylvain

Thank you!

I’ll try that to, it’s 3:30 am in Paris at the moment. I’m on the latest version of Catalina.

Is there a command I can use to check what version my CL is?

Regards

Engineer & Senior IT Executive
2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX.
Find all posts by this user
Quote this message in a reply
Post Reply 




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