HP Forums
Changing the header of a *.mod file - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Changing the header of a *.mod file (/thread-93377.html)



Changing the header of a *.mod file - Les Wright - 05-27-2006

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 - Eric Smith - 05-27-2006

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 - Les Wright - 05-27-2006

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 - Meindert Kuipers - 05-29-2006

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