Notices
ECU Flash

Periphery questions:

Thread Tools
 
Search this Thread
 
Old Nov 22, 2008 | 11:35 PM
  #1  
Deepnine's Avatar
Thread Starter
Evolving Member
iTrader: (4)
 
Joined: Apr 2008
Posts: 186
Likes: 0
From: Germany
Periphery rom location question

Hi,

if changing the periphery bits, only the first word will be changed (in red).

in ida pro you see a set of the same words:

Code:
ROM:00000FCA word_FCA:       .data.w h'8A89          ; DATA XREF: ROM:off_F364o
ROM:00000FCC                 .data.w h'8A89
ROM:00000FCE                 .data.w h'8A89
ROM:00000FD0                 .data.w h'8A89
ROM:00000FD2                 .data.w h'8A89
ROM:00000FD4                 .data.w h'8A89
ROM:00000FD6                 .data.w h'8A89
ROM:00000FD8                 .data.w h'8A89
what are the others for?
shouldn't we change them too?

thx Jan

Last edited by Deepnine; Nov 23, 2008 at 12:00 AM. Reason: headline
Reply
Old Nov 23, 2008 | 12:59 AM
  #2  
jcsbanks's Avatar
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
https://www.evolutionm.net/forums/sh...cus+map+switch
Reply
Old Nov 23, 2008 | 03:26 AM
  #3  
Deepnine's Avatar
Thread Starter
Evolving Member
iTrader: (4)
 
Joined: Apr 2008
Posts: 186
Likes: 0
From: Germany
but on a stock rom, only the first set is used?
Reply
Old Nov 23, 2008 | 03:43 AM
  #4  
jcsbanks's Avatar
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
Yes, only ever the first set on a stock ROM.

I abandoned this method of map switching since although it was easy, many of the maps you'd want to switch are not indexed in this way with the 8 item look up tables. By making new tables in spare areas of memory and making code changes it could be reinstated.
Reply
Old Nov 23, 2008 | 10:55 PM
  #5  
acamus's Avatar
Evolved Member
 
Joined: Mar 2008
Posts: 730
Likes: 3
From: Lattitude 48.38°, Longitude 17.58°, Altitude 146m = Slovakia, for common dude
Originally Posted by jcsbanks
Yes, only ever the first set on a stock ROM.
Partially,
it seems that if ROM:F42 is enabled, MUT3B can be used to switch indexed maps,
if ROM:F42 is disabled (stock setting), index at ROM:F40 is used (0 for stock).
Reply
Old Nov 23, 2008 | 11:13 PM
  #6  
Evoryder's Avatar
Evolved Member
iTrader: (55)
 
Joined: Apr 2004
Posts: 7,383
Likes: 10
From: ☼ Florida ☼
Sorry, I was on my way to another thread and stumbled across this one. All I saw was Chinese...
I'll close the door on my way out.
Reply
Old Nov 23, 2008 | 11:15 PM
  #7  
Deepnine's Avatar
Thread Starter
Evolving Member
iTrader: (4)
 
Joined: Apr 2008
Posts: 186
Likes: 0
From: Germany
ROM:F42 is a word.

0000 is disabled, whats enabled? 0001?
Reply
Old Nov 23, 2008 | 11:24 PM
  #8  
acamus's Avatar
Evolved Member
 
Joined: Mar 2008
Posts: 730
Likes: 3
From: Lattitude 48.38°, Longitude 17.58°, Altitude 146m = Slovakia, for common dude
Originally Posted by Deepnine
ROM:F42 is a word.

0000 is disabled, whats enabled? 0001?
Yes something non zero (boolean value).
But be aware, that more than periphery bits tables are in concern.
Reply
Old Nov 23, 2008 | 11:27 PM
  #9  
Deepnine's Avatar
Thread Starter
Evolving Member
iTrader: (4)
 
Joined: Apr 2008
Posts: 186
Likes: 0
From: Germany
thanks for the warning.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mrfred
ECU Flash
496
Sep 14, 2022 07:08 PM
n3m3sis
For Sale - Cars For Sale
2
Oct 30, 2012 09:22 AM
l2r99gst
ECU Flash
80
Sep 19, 2012 08:03 AM
mrfred
ECU Flash
66
May 7, 2009 06:24 PM




All times are GMT -7. The time now is 07:50 PM.