Loading .MOD into PPC emulator?

Programs for HP-41

Loading .MOD into PPC emulator?

Postby DHuff » Mon Apr 20, 2009 7:33 pm

Greetings,

Thank you Mr. Furlow for such a wonderful site. I've had the ev41 emulator on my PC for several years now, and thougt I'd try it on a Pocket PC. The emulator works fine, but I'd like to load the Survey ROM program. I downloaded and extracted the Survey.MOD file, but can't seem to get it to load when copied over to the PPC--in the emulator I am clicking on FILE then "Load User Code" and default is to look for a .RAW file. When I change that to "All File" I find the Survey.MOD file and click on it. Attempting to run one of the Survey ROM programs results in "Nonexistant". I've set the SIZE as 20. Any thoughts? Thanks!

Dave Huff
Mississippi
DHuff
.
.
 
Posts: 3
Joined: Mon Apr 20, 2009 7:28 pm

Re: Loading .MOD into PPC emulator?

Postby wfurlow » Tue Apr 21, 2009 1:10 am

Unfortunately, it doesn't support loading of MOD (or even ROM) files. The advantage ROM is actually compiled into the executable as a hard coded data structure (C language). I didn't do the port to the PPC and don't have one to work with.
Thanks,
Warren
wfurlow
HP.org Owner
HP.org Owner
 
Posts: 19
Joined: Thu Nov 27, 2008 2:59 pm

Re: Loading .MOD into PPC emulator?

Postby DHuff » Tue Apr 21, 2009 1:47 am

Ok, Thanks for clearing that up for me.

Best Regards,
Dave Huff
Mississippi
DHuff
.
.
 
Posts: 3
Joined: Mon Apr 20, 2009 7:28 pm

Re: Loading .MOD into PPC emulator?

Postby dalerich » Wed Apr 22, 2009 6:22 pm

I had a similar question and did a bit of fooling around and discovered that the *.ev41 files control which ROM moduled are installed.
So what I did was to take the *.mod (module files) from V41 and convert them to *.ROM files using a utility found right here on HP41.org. It is called MODfile.zip. using this you can convert the module in question into a *.ROM file. It may produce two ROM files labeled L for lower and U for upper. This will happen if your module requires two ports

Next you open the autoload.ev41 and rename it to anything *.ev41. open this file with a text program and modify to look like the following:
*BEGIN eV41 .lod file
$PAGE 0 XNUT0
$PAGE 1 XNUT1
$PAGE 2 XNUT2
$PAGE 3 CXFUNS0
$PAGE 5 TIMER
$PAGE 5 2 CXFUNS1
*** below this line you can install any of the rom modules you converted above. I have the PPC, CCD, an Sandbox ROMs installed an working on ev41 ***
$PAGE 9 CCDL-1B
$PAGE A CCDU-2B
$PAGE B PPCL
$PAGE C PPCU
$PAGE D SANDBOXL-3D
$PAGE E SANDBOXU-3D
*** Keep eveerything below this intact dont change anything ***

The only tricky part is to load the lower rom and then in the next port load the upper ROM
Save your file and put in in the ev41 directory with the other *.ev41 files.
Start the emulator and go to FILE -> OPEN and pick your file and open.

I took the time to download the survey mod and convert it to a ROM
Here is what the relevent part of the *.ev41 file would look like:
*BEGIN eV41 .lod file
$PAGE 0 XNUT0
$PAGE 1 XNUT1
$PAGE 2 XNUT2
$PAGE 3 CXFUNS0
$PAGE 5 TIMER
$PAGE 5 2 CXFUNS1
$PAGE 9 Survey-1B

If you need any further help give me shout at da le rich 6091 at gmail. com
take out the spaces and use the correct "at"
Good luck
dalerich
.
.
 
Posts: 1
Joined: Wed Apr 22, 2009 6:00 pm

Re: Loading .MOD into PPC emulator?

Postby DHuff » Wed Apr 29, 2009 3:00 am

Thank You Dale! I'll give that a try.

Best Regards,
Dave Huff
Mississippi
DHuff
.
.
 
Posts: 3
Joined: Mon Apr 20, 2009 7:28 pm


Return to HP-41 Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron