The Hepax Module :
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈


The HEPAX module was and is still the most challenging and interesting ROM which has been made for the 41C. Is is composed of 4 ROMs which must be loaded into Page 7 bank 1, 2, 3 & 4. It allows to store and run within a so called Hepax ROM, user code as well as micro code. Below is a typical use case.

Open the ROM Layout Manager, then

1. Load ROM HEPINI.ROM into Page C. It contains the microcode program for formatting
    the Hepax memory. Also load CCD-OSX on Page D, this is useful for listing more detailed catalogs
2. Into Page 7, load the 4 ROM’s Hepax1-1D.ROM into bank 1, Hepax2-1D.ROM into bank 2, Hepax3-1D.ROM into bank 3
    Hepax4-1D.ROM into bank 4.
3. Click Insert EEPROM on Page 8 & 9

You should now have this :























4. Open a new Printer and switch it on.
5. Formatting HEPAX memory : on the calculator, type in :








This will format 2 ROM Pages (inserted above) starting at Page 8, and give the directory of the formatted ROM. You will now see on the display H:DIR EMPTY and in x, the free registers available. On the printer a directory header with no files listed. If you see H:NO FILESYS, it means something went wrong during the formatting (no EEPROM inserted, wrong starting page, wrong number of pages given, etc.).


6. Load a user code program into the calculator RAM, via the Load User Code menu or simply by typing it in.
7. Then, on the calculator, type in :











You now have your user program loaded into the ROM pages 8 & 9. This program can now be deleted (DEL function) from RAM and reloaded into RAM to be modified if necessary (COPY function). It can be executed directly in the Hepax ROM, it is visible as a normal user program such as PRPLOT in the PRINTER ROM and it is read only. 

You can also save your two ROM’s via a “Save Config” with the option consolidate ROM’s selected, or by exporting the two pages (from the ROM Layout Manager). You can have a look as the FAT listing generated by the Hepax module with the Assembler starting at address 0x8000 and see how the FAT is organized. With the CCD-OSX ROM loaded you can also list these programs via a catalog 8 (Page 8).

In this example, micro code programs can be typed in between the end of the FAT at 0x8000 and up to 0x9FFF with the Assembler. The Hepax module keeps track of the files stored in its memory at the end of each page, so start writing micro code programs at the beginning of each page, not at the end.

I strongly recommend the read the Hepax.pdf volume 1 & 2 manuals for more details about microcode programming and how to use this fantastic module. The manuals are available here.http://www.hp41.org/shapeimage_1_link_0
 FAQ’s../Main/FAQs.html
 Download../Main/Downloads.html
 Home../Main/HP-41CX_Emulator.html
 
 
 
 
 

© LaurentSpohr Software, All Rights Reserved • E-Mail: laurent.spohr@gmail.com

This Website is best viewed with Safari 3