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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.