Hi all,
Since the Clonix module was released many users have tried to get their (or others') FOCAL programs converted into a .ROM image file. I still receive mail asking for such a solution.
Some detailed procedures have been described and eventually, with the appropriate hardware, several users have managed to have their own .ROM file gathering FOCAL programs of their own or available elsewhere.
Many FOCAL programs are available in .RAW format, but the process described below is usefull regardless the way you get the FOCAL program into MAIN memory.
Let's say that I'm not the one to credit about this all. I just find the pieces and put them together. Credits goes to Warren Furlow's for his V41 emulator and companion software.
The Pieces:
- V41 windows emulator. You'll find the link in this very site.
http://www.hpmuseum.org/simulate/simulate.htm
Go to "Free Simulations at other sites:", the fourth line leads you to the appropriate place.
- The .MOD file for the HEPAX module (included in V41 "MOD" directory)
- The ModFile.exe (or ModFileWin.exe) utility. Also available in V41's site.
- The .RAW files you want to include in your .ROM image. AND/OR patience enough to key in your own FOCAL program into V41... :-)
Procedure:
Dowload and install V41 (in case you haven't done yet)
Run V41 and go to edit configuration to include HEPAX.MOD.
Please note that V41 will start as 41CX. It is recommended to use 41CV instead to avoid HEPAX emulation failure. If you "really" need 41CX mode in V41 then you'll (also) "need" 82143A.MOD printer loaded, in order to push HEPAX to page #7.
If HEPAX is not loaded into an odd page it will run at first instance but will refuse to start-up after power cycling. This is not a malfunction of the V41 emulator, it's just that HEPAX has its own instructions and V41 emulates just the HP-41, not the module itself.
Once V41 is running with HEPAX:
- Load as many .RAW program files as you want/can (or type them) into main memory.
- Use HEPAX "HSAVEP" to compile the FOCAL program(s) and move it into HEPAX RAM. (See HEPAX manual for details on HSAVEP command.)
- Once you've saved a program into HEPAX RAM you can clear it from MAIN memory using CLP command.
- Repeat the steps above as needed to get your HEPAX RAM page(s) loaded with the program(s) you want. There are two RAM pages in HEPAX.MOD emulation. (8K in total)
- Once finished you may want to run HEXEDIT to modify H'8000 and/or H'9000, these are the XROM # of the .ROM(s), in order to avoid conflicts with other known XROM numbers.
- Turn OFF (close) V41.
- Execute MODfile.exe (or MODfileWin.exe) and extract .ROM files from HEPAX.MOD.
- You'll get 4 HEPAX??n.ROM files (we don't need these) and two HPX-STD-RAM1.ROM and HPX-STD-RAM2.ROM. Yes!, these are the files we've been doing it all for... ;-)) If your program(s) fits in 4K, only RAM1 file is needed.
- Rename these files at your convenience. If you're about to use them with Clonix/NoV's use 8.3 naming convention, and place them in the Clonix/Nov working directory.
That's all folks. All in a row, no extra hardware required, plain and clear.
Hope you find it useful.
Cheers from the Canary Islands
Diego.