Pages: [1]
Author Topic: IDA help - map referencing?  (Read 5166 times)
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« on: November 26, 2013, 06:39:14 AM »

Hi,

I'm getting my head around this and wonder how maps or 'curves' are referenced in IDA/ASM?

See below, for the function I believe is AES.  The orange parts are the function loading maps from DPP's are they?  How does that work?

The Section that move FRLFSDP to R12 is interesting, the location it references is only a 2 byte dw which is actually the first 2 byes in the 11x1 map.  How is it reading the rest of the map in-to memory?  Bit of code loading a byte or dw in looks simple enough, just need to get my head around how the map addressing works please??  I also see there's an extp command which is used to change DPP's, but not sure how it applies.




Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
prj
Hero Member
*****

Karma: +1075/-501
Offline Offline

Posts: 6072


« Reply #1 on: November 26, 2013, 05:56:07 PM »

There are functions that you need to pass certain arguments to.
Usually the segment, then the offset in that segment (this is the start of the map) and the pre-calculated axis values.
There are many different routines for different structures of maps.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #2 on: November 26, 2013, 06:04:38 PM »

There are functions that you need to pass certain arguments to.
Usually the segment, then the offset in that segment (this is the start of the map) and the pre-calculated axis values.
There are many different routines for different structures of maps.

Thanks,  yes I now get the page plus offset stuff.   I was hoping that there wasn't many other ways though.

Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #3 on: November 28, 2013, 04:29:03 PM »

Do maps always get referenced by page/offset (directly or indirectly via a register) or are there other ways?

I'm finding most of the functions and maps, but a few are playing hard to get. 
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.302 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)