Changing the header of a *.mod file



#5

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


#6

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.


#7

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


#8

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot delete file Les Koller 4 2,116 11-07-2013, 12:17 AM
Last Post: Les Koller
  File Format: hpprgm Thomas Chrapkiewicz 6 2,739 10-30-2013, 09:32 PM
Last Post: Thomas Chrapkiewicz
  HP-Prime File extension Paul D. Fox 6 2,332 10-07-2013, 01:45 AM
Last Post: cyrille de Brébisson
  HP Prime Tip: Changing the Color of a Function Eddie W. Shore 3 1,703 10-02-2013, 04:08 PM
Last Post: Jim Horn
  About changing or deleting content after replies were made Raymond Del Tondo 1 1,162 08-26-2013, 05:01 PM
Last Post: Massimo Gnerucci (Italy)
  go71b 'lexs' or 'raws' file format? Christoph Giesselink 2 1,459 08-21-2013, 02:53 AM
Last Post: Christoph Giesselink
  How to use XnView to create .gro4 file as in OpenFire? arturfeghali 2 1,405 06-27-2013, 05:57 PM
Last Post: jerome ibanes
  41CL :TROUBLE IN FILE TRANsFER aurelio 22 6,395 06-18-2013, 03:44 PM
Last Post: aurelio
  Case mod Andrew Nikitin 0 834 06-09-2013, 04:51 PM
Last Post: Andrew Nikitin
  How to save WP34s programs to a file? Harald 9 3,246 04-26-2013, 01:44 PM
Last Post: Walter B

Forum Jump: