The Museum of HP Calculators

HP Forum Archive 16

[ Return to Index | Top of Index ]

Changing the header of a *.mod file
Message #1 Posted by Les Wright on 27 May 2006, 5:31 p.m.

Greetings, group!

A few days ago, in the context of a little back and forth about emulators & simulators, Mr. Eric Smith, eminent developer of Nonpareil, shared with me the following little tantalizing tidbit:

Quote:
Right now the Nonpareil code only supports hard-addressed modules. If you change the header of a .mod file of a ROM to give it a fixed address, you'll be able to use it in Nonpareil.

In particular, I was keen to learn if I was possible to use the *.mod files accompanying V41 in Nonpareil for Windows. Mr. Smith's response implies that this is possible, but as a rank amateur in all this I have no idea how to make the modifications suggested, and his reply seems to assume that I should know how to do this. Alas, I do not, and regrettably my knowledge and capacities have been a little overestimated--I am really a beginner in this!

In the intervening few days the thread in question has become dormant has the Forum has been seized with newer interests, so I hope I am not too pesky in reactivating my as-yet-unanswered query in a fresh thread.

Eager, as always, for direction--

Les

      
Re: Changing the header of a *.mod file
Message #2 Posted by Eric Smith on 27 May 2006, 8:27 p.m.,
in response to message #1 by Les Wright

There's not any particularly easy way to do it. You'd have to use a hex editor on the file, and figure out the right offsets and values.

            
Re: Changing the header of a *.mod file
Message #3 Posted by Les Wright on 27 May 2006, 9:08 p.m.,
in response to message #2 by Eric Smith

Thanks. I got the impression that it was a straightforward job. Sounds eerily complicated for a rank amateur like me.

I will leave well enough alone and eagerly await the for next edition of Nonpareil to bring me even closer to my "ideal" HP41 emulator/simulator.

Les

                  
Re: Changing the header of a *.mod file
Message #4 Posted by Meindert Kuipers on 29 May 2006, 3:07 a.m.,
in response to message #3 by Les Wright

The format of the *.mod file is pretty well defined, Warren has published the header files and sources, so it should not be too dificult to hack a small tool to modify the header.

Meindert


[ Return to Index | Top of Index ]

Go back to the main exhibit hall