<rom>
	<romid>
		<xmlid>88591715</xmlid>
		<internalidaddress>f52</internalidaddress>
		<internalidhex>88591715</internalidhex>
		<make>Mitsubishi</make>
		<market>TDM</market>
		<model>Lancer</model>
		<submodel>Evolution IX</submodel>
		<transmission>6MT</transmission>
		<year>2007</year>
		<flashmethod>mitsukernelocp</flashmethod>
		<memmodel>SH7055</memmodel>
	</romid>

	<include>TephraMOD-88590715-v7</include>
	
	<table name="SD MAP Sensor VE and Calibration" category="Speed Density Tuning" address="2ce8" type="2D" level="1" scaling="MAP VE load">
		<table name="MAP" address="2cc6" type="Y Axis" elements="8" scaling="MAP 16bit"/>
	</table>

	<table name="SD RPM VE" category="Speed Density Tuning" address="2d7c" type="2D" level="1" scaling="Percent (128)">
		<table name="RPM" address="6bfa" type="Y Axis" elements="17" scaling="RPM"/>
	</table>

	<table name="SD Set Baro Value" category="Speed Density Tuning" address="c1aa" type="1D" level="1" scaling="Baro16"/>

	<table name="SD Point to Preptable Address" category="Speed Density Programming" address="13afa" type="1D" level="1" scaling="Hex16"/>

	<table name="SD Change to mul r0,r1:sts macl,r0:shlr8 r0:nops" category="Speed Density Programming" address="13b0a" type="2D" level="1" scaling="Hex16">
		<table type="Y Axis" elements="18"/>
	</table>

	<table name="SD NOP 1" category="Speed Density Programming" address="13b00" type="1D" level="1" scaling="Hex16"/>

	<table name="SD NOP 2" category="Speed Density Programming" address="2a494" type="1D" level="1" scaling="Hex16"/>

	<table name="SD NOP 3" category="Speed Density Programming" address="2a692" type="1D" level="1" scaling="Hex16"/>

	<table name="SD MAP Calibration Input Data Table Header" category="Speed Density Programming" address="2cbc" type="2D" level="1" scaling="Hex16">
		<table name="X" type="Y Axis" elements="5"/>
	</table>

	<table name="SD MAP Calibration Input Data Table Address" category="Speed Density Programming" address="13c3e" type="1D" level="1" scaling="Hex16"/>

	<table name="SD MAP Calibration Output Data Table Header" category="Speed Density Programming" address="2ce0" type="2D" level="1" scaling="Hex16">
		<table name="X" type="Y Axis" elements="4"/>
	</table>

	<table name="SD MAP Calibration Output Data Table Address" category="Speed Density Programming" address="13c36" type="1D" level="1" scaling="Hex16"/>

	<table name="SD Change to E02 for 16 Bit Lookup" category="Speed Density Programming" address="13c3a" type="1D" level="1" scaling="Hex16"/>

	<table name="SD Disable MAF Error Main" category="Speed Density Programming" address="13972" type="1D" level="1" scaling="Hex16"/>

	<table name="SD Disable MAF Error OBD-II CEL (0x3EA0 -> 0x41DA)" category="Speed Density Programming" address="9b6a" type="1D" level="1" scaling="Hex16"/>

	<table name="SD Point Baro ADC RAM to Fixed Value" category="Speed Density Programming" address="c178" type="2D" level="1" scaling="Hex16">
		<table name="X" type="Y Axis" elements="6"/>
	</table>

	<table name="SD Convert IAT to MAT (0x03 -> 0x0E)" category="Speed Density Programming" address="c151" type="1D" level="1" scaling="Hex8"/>

	<table name="SD MAT Scaling for IAT Scaling Table" category="Speed Density Programming" address="b070" type="2D" level="1" scaling="TempScale">
		<table name="MAT Sensor ADC volts" address="b106" type="Y Axis" elements="139" scaling="Volts16"/>
	</table>

<scaling name="InjectorScaling01Mult" units="cc/min" toexpr="131*29241/x" frexpr="131*29241/x" format="%.0f" min="60" max="2500" inc="1" storagetype="uint16" endian="big"/>
  <scaling name="EthanolContent" units="%" toexpr="100*x/255" frexpr="255*x/100" format="%.0f" min="0" max="100" inc="1" storagetype="uint16" endian="big"/>
  <scaling name="InjectorCorr" units="Correction %" toexpr="x/1.28-100" frexpr="(x+100)*1.28" format="%.0f" min="-100" max="100" inc="1" storagetype="uint8" endian="big"/>
  <scaling name="EthanolSensorVoltage" units="Volts" toexpr="x*5/255" frexpr="x/5*255" format="%.2f" min="0" max="5" inc="0.01" storagetype="uint8" endian="big"/>

  <table name="Ethanol Injector Scaling" category="FreeFuel" address="49b40" type="1D" scaling="InjectorScaling01Mult"/>
  <table name="Gasoline Injector Scaling" category="FreeFuel" address="1106" type="1D" scaling="InjectorScaling01Mult"/>
  
  <table name="Ethanol Fuel Map (Tephra V7 Alternate)" category="FreeFuel" address="49b4d" type="3D" swapxy="true" scaling="AFR">
		<table name="Engine Load" address="4bb5a" type="X Axis" elements="30" scaling="Load"/>
		<table name="RPM" address="4bb0a" type="Y Axis" elements="25" scaling="RPM"/>
	</table>
	<table name="Gasoline Fuel Map (High octane)" category="FreeFuel" address="4a74d" type="3D" swapxy="true" scaling="AFR">
		<table name="Engine Load" address="4bb5a" type="X Axis" elements="30" scaling="Load"/>
		<table name="RPM" address="4bb0a" type="Y Axis" elements="25" scaling="RPM"/>
	</table>
	<table name="Common Low Octane Fuel Map" category="FreeFuel" address="4aa4d" type="3D" swapxy="true" scaling="AFR">
		<table name="Engine Load" address="4bb5a" type="X Axis" elements="30" scaling="Load"/>
		<table name="RPM" address="4bb0a" type="Y Axis" elements="25" scaling="RPM"/>
	</table>

  <table name="Ethanol Ignition Map (Tephra V7 Alternate Hi Octane)" category="FreeFuel" address="49e4d" type="3D" swapxy="true" scaling="Timing">
		<table name="Engine Load" address="4bb5a" type="X Axis" elements="30" scaling="Load"/>
		<table name="RPM" address="4bb0a" type="Y Axis" elements="25" scaling="RPM"/>
	</table>
  <table name="Gasoline Ignition Map (High octane)" category="FreeFuel" address="4ad4d" type="3D" swapxy="true" scaling="Timing">
		<table name="Engine Load" address="4bb5a" type="X Axis" elements="30" scaling="Load"/>
		<table name="RPM" address="4bb0a" type="Y Axis" elements="25" scaling="RPM"/>
	</table>
	<table name="Common Low Octane Ignition Map" category="FreeFuel" address="4b04d" type="3D" swapxy="true" scaling="Timing">
		<table name="Engine Load" address="4bb5a" type="X Axis" elements="30" scaling="Load"/>
		<table name="RPM" address="4bb0a" type="Y Axis" elements="25" scaling="RPM"/>
	</table>

  <table name="Ethanol Cranking Initial Primer Pulse (Tephra V7 Alternate)" category="FreeFuel" address="4a24c" type="2D" scaling="TimeInjCranking">
		<table name="Coolant Temperature" address="6ff8" type="Y Axis" elements="9" scaling="Temp"/>
	</table>
  <table name="Gasoline Cranking Primer Initial Pulse" category="FreeFuel" address="52b2" type="2D" scaling="TimeInjCranking">
		<table name="Coolant Temperature" address="6ff8" type="Y Axis" elements="9" scaling="Temp"/>
	</table>

  <table name="Ethanol Base Wastegate Duty" category="FreeFuel" address="4a14d" type="3D" level="2" swapxy="true" scaling="WGDuty">
		<table name="Gear" address="511c2" type="X Axis" elements="7" scaling="uint16"/>
		<table name="RPM" address="722e" type="Y Axis" elements="16" scaling="RPM"/>
	</table>
  <table name="Gasoline Base Wastegate Duty" category="FreeFuel" address="4b94d" type="3D" level="2" swapxy="true" scaling="WGDuty">
		<table name="Gear" address="511c2" type="X Axis" elements="7" scaling="uint16"/>
		<table name="RPM" address="722e" type="Y Axis" elements="16" scaling="RPM"/>
	</table>
  
	<table name="Ethanol Boost Desired Engine Load" category="FreeFuel" address="4a1cd" type="3D" level="2" swapxy="true" scaling="Load8">
		<table name="Gear" address="511c2" type="X Axis" elements="7" scaling="uint16"/>
		<table name="RPM" address="722e" type="Y Axis" elements="16" scaling="RPM"/>
	</table>
  <table name="Gasoline Boost Desired Engine Load" category="FreeFuel" address="4b9cd" type="3D" level="2" swapxy="true" scaling="Load8">
		<table name="Gear" address="511c2" type="X Axis" elements="7" scaling="uint16"/>
		<table name="RPM" address="722e" type="Y Axis" elements="16" scaling="RPM"/>
	</table>

  <table name="Ethanol Sensor Fuel/Injector/Primer Setting" category="FreeFuel" address="2b66" type="2D" scaling="Percent255">
		<table name="Sensor Output" address="2b2a" type="Y Axis" elements="2" scaling="Volts16"/>
	</table>

  <table name="Injector correction table" category="FreeFuel" address="2b8a" type="2D" scaling="InjectorCorr">
		<table name="Ethanol content" address="2ba0" type="Y Axis" elements="11" scaling="EthanolContent"/>
	</table>

  <table name="Ethanol Sensor Ignition/Boost Setting" category="FreeFuel" address="2b78" type="2D" scaling="Percent255">
		<table name="Sensor Output" address="2b4a" type="Y Axis" elements="4" scaling="Volts16"/>
	</table>

  <table name="Force enable 0=disabled/1=enabled" category="FreeFuel" address="2b00" type="1D" scaling="uint16"/>

  <table name="Force ethanol sensor voltage 0-5V" category="FreeFuel" address="2b03" type="1D" scaling="EthanolSensorVoltage"/>

  <table name="Safety enable 0=disabled/1=enabled" category="FreeFuel" address="2b04" type="1D" scaling="uint16"/>

  <table name="Safety low limit (voltage over limit forces Ethanol Fuel/Inj and gas Ignition map)" category="FreeFuel" address="2b06" type="1D" scaling="Volts16"/>

  <table name="Safety high limit (voltage over limit forces Ethanol Fuel/Inj and gas Ignition map)" category="FreeFuel" address="2b08" type="1D" scaling="Volts16"/>

  <table name="Sensor update max load limit (lock ethanol percentage when over limit)" category="FreeFuel" address="2b0a" type="1D" scaling="Load16"/>

  <table name="Sensor update max RPM limit (lock ethanol percentage when over limit)" category="FreeFuel" address="2b0c" type="1D" scaling="RPMStatLimit"/>

  <table name="Boost interpolation enable 0=disabled/1=enabled" category="FreeFuel" address="2b0e" type="1D" scaling="uint16"/>

  <!-- EvoLiveMap stuff below. If your ROM is not supporting LiveMap, delete this section -->
  <!-- *** removed ***
	<table name="RAM MUT Table" category="DMA EvoLiveMap" address="37b00" type="3D" scaling="Hex16">
		<table name="X" type="Static X Axis" elements="16">
			<data>-</data> <data>0</data> <data>-</data> <data>1</data> <data>-</data> <data>2</data>	<data>-</data> <data>3</data>	<data>-</data> <data>4</data>	<data>-</data> <data>5</data>	<data>-</data> <data>6</data>	<data>-</data> <data>7</data>
    </table>
		<table name="Y" type="Static Y Axis" elements="2">
			<data>0</data> <data>1</data>
		</table>
	</table>
  
  <table name="FreeFuel Ethanol Injector Scaling ROM=0003 7B40 RAM=FFFF A040" category="DMA EvoLiveMap" address="3F560" type="2D" scaling="Hex16">
		<table name="Ethanol Injector Scaling Addr" type="Static X Axis" elements="2">
			<data>hi word</data> <data>lo word</data>
		</table>
	</table>

	<table name="FreeFuel Ethanol Fuel Map ROM=0003 7B42 RAM=FFFF A042" category="DMA EvoLiveMap" address="3F590" type="2D" scaling="Hex16">
		<table name="Ethanol Fuel Map Addr" type="Static X Axis" elements="2">
			<data>hi word</data> <data>lo word</data>
		</table>
	</table>

	<table name="FreeFuel Ethanol Ignition Map ROM=0003 7E42 RAM=FFFF A342" category="DMA EvoLiveMap" address="3F6E0" type="2D" scaling="Hex16">
		<table name="Ethanol Ignition Map Addr" type="Static X Axis" elements="2">
			<data>hi word</data> <data>lo word</data>
		</table>
	</table>

	<table name="Tephra Alt Base Wastegate Duty ROM=0003 8142 RAM=FFFF A642" category="DMA EvoLiveMap" address="3E7D8" type="2D" scaling="Hex16">
		<table name="Alt Base WGDC Map Addr" type="Static X Axis" elements="2">
			<data>hi word</data>
			<data>lo word</data>
		</table>
	</table>

	<table name="Tephra Alt Boost Desired Engine Load ROM=0003 81C2 RAM=FFFF A6C2" category="DMA EvoLiveMap" address="3E7DC" type="2D" scaling="Hex16">
		<table name="Alt Base WGDC Map Addr" type="Static X Axis" elements="2">
			<data>hi word</data>
			<data>lo word</data>
		</table>
	</table>
  -->
  <!-- End EvoLiveMap definitions -->

</rom>
