HP Forums

Full Version: Changing the header of a *.mod file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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

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.

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

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