Jump to content
The simFlight Network Forums

Rewriting / remapping offsets... ?


Recommended Posts

Hi folks,

following problem:

there are 2 values (2 bytes each) written by a hardware driver into two offsets. My problem is... I need the values written in different offsets (0x4890, 0x4892) but I can't set this up in those driver.

My question now is: is it possible somehow to read the values from the original offsets and write them into the desired ones?

For example, the driver writes it into 0x4200 and 0x4202 (just an example!) and I "take" the values and put it into 0x4890 and 0x4892, some kind of "remapping".

Anyway thanks a lot

and best regards

Jörg

Link to comment
Share on other sites

following problem:

there are 2 values (2 bytes each) written by a hardware driver into two offsets. My problem is... I need the values written in different offsets (0x4890, 0x4892) but I can't set this up in those driver.

My question now is: is it possible somehow to read the values from the original offsets and write them into the desired ones?

For example, the driver writes it into 0x4200 and 0x4202 (just an example!) and I "take" the values and put it into 0x4890 and 0x4892, some kind of "remapping".

Are you wanting to write a program to do this? What language? You could consider using a Lua plug-in. That'd be quite simple.

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.