<rom>
	<romid>
		<xmlid>23500003</xmlid>
		<internalidaddress>1021a</internalidaddress>
		<internalidhex>23500003</internalidhex>
		<caseid>MD------</caseid>
		<make>Mitsubishi</make>
		<market>USDM</market>
		<model>Mirage</model>
		<submodel>DE</submodel>
		<transmission>Manual</transmission>
		<year>1999</year>
		<flashmethod>mitsukernel</flashmethod>
		<memmodel>H8539F</memmodel>
	</romid>

	<scaling name="AFR" units="AFR" toexpr="14.7*128/x" frexpr="14.7*128/x" format="%.1f" min="8" max="20" inc="0.1" storagetype="uint8" endian="big"/>
	<scaling name="AirFlow16" units="g/s" toexpr="x*600/65536" frexpr="x*65536/600" format="%.1f" min="0" max="600" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="AirFlow8" units="g/s" toexpr="x*321/256" frexpr="x*256/321" format="%.1f" min="0" max="321" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="AirFlowHz" units="Hz" toexpr="x/10.24" frexpr="x*10.24" format="%.0f" min="0" max="64000" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Airflow Hz" units="Hz" toexpr="x/6.25" frexpr="x*6.25" format="%.0f" min="0" max="65535" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Ascii" storagetype="bloblist" storagebits="8">
		<data name="0" value="30"/>
		<data name="1" value="31"/>
		<data name="2" value="32"/>
		<data name="3" value="33"/>
		<data name="4" value="34"/>
		<data name="5" value="35"/>
		<data name="6" value="36"/>
		<data name="7" value="37"/>
		<data name="8" value="38"/>
		<data name="9" value="39"/>
		<data name="A" value="41"/>
		<data name="B" value="42"/>
		<data name="C" value="43"/>
		<data name="D" value="44"/>
		<data name="E" value="45"/>
		<data name="F" value="46"/>
		<data name="G" value="47"/>
		<data name="H" value="48"/>
		<data name="I" value="49"/>
		<data name="J" value="4A"/>
		<data name="K" value="4B"/>
		<data name="L" value="4C"/>
		<data name="M" value="4D"/>
		<data name="N" value="4E"/>
		<data name="O" value="4F"/>
		<data name="P" value="50"/>
		<data name="Q" value="51"/>
		<data name="R" value="52"/>
		<data name="S" value="53"/>
		<data name="T" value="54"/>
		<data name="U" value="55"/>
		<data name="V" value="56"/>
		<data name="W" value="57"/>
		<data name="X" value="58"/>
		<data name="Y" value="59"/>
		<data name="Z" value="5A"/>
	</scaling>
	<scaling name="Atmospheric Pressure" units="units" toexpr="x" frexpr="x" format="%.2f" min="0" max="255" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="BAUDRATE" units="Bits/Second" toexpr="500000/(x+1)" frexpr="500000/x-1" format="%.0d" min="0" max="500000" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="BatteryVoltage" units="V" toexpr="x*75/1024" frexpr="x*1024/75" format="%.2f" min="0" max="18.75" inc="0.5" storagetype="uint16" endian="big"/>
	<scaling name="BoostBar" units="bar" toexpr="x/93.7" frexpr="x*93.7" format="%.2f" min="0" max="2.7" inc="0.05" storagetype="uint8" endian="big"/>
	<scaling name="BoostBar16" units="bar" toexpr="x/1372.2" frexpr="x*1372.2" format="%.2f" min="0" max="2.7" inc="0.05" storagetype="uint16" endian="big"/>
	<scaling name="BoostError" units="%" toexpr="x*5/32-20" frexpr="(x+20)*32/5" format="%.1f" min="-20" max="20" inc="0.5" storagetype="uint16" endian="big"/>
	<scaling name="DynamicBoost" units="%" toexpr="(x-128)/2" frexpr="x*2+128" format="%.1f" min="-64" max="63.5" inc="0.5" storagetype="uint8" endian="big"/>
	<scaling name="ECUTime" units="ms" toexpr="1000*x/102" frexpr="102*x/1000" format="%.0f" min="0" max="100000" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Enrich" units="deg" toexpr="x-128" frexpr="x+128" format="%.0f" min="-128" max="128" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="EnrichmentAdj" units="%" toexpr="x/128" frexpr="x*128" format="%.2f" min="0" max="2" inc="0.05" storagetype="uint8" endian="big"/>
	<scaling name="Hex16" units="hex" toexpr="x" frexpr="x" format="%04X" min="0" max="65535" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Hex8" units="hex" toexpr="x" frexpr="x" format="%02X" min="0" max="255" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="ISCVSteps" units="Steps" toexpr="x" frexpr="x" format="%.0f" min="0" max="255" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="ISCVSteps16" units="Steps" toexpr="x" frexpr="x" format="%.0f" min="0" max="255" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Injector scale + 10%" units="CC/min" toexpr="30240/x" frexpr="30240/x" format="%.0f" min="1" max="1000" inc="10" storagetype="uint16" endian="big"/>
	<scaling name="InjectorLatency" units="ms" toexpr="x*0.024" frexpr="x/0.024" format="%.3f" min="0" max="4" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="InjectorLatencyDSM" units="ms" toexpr="x*0.015" frexpr="x/0.015" format="%.3f" min="0" max="255" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="InjectorScaling" units="cc/min" toexpr="29241/x" frexpr="29241/x" format="%.0f" min="1" max="1000" inc="10" storagetype="uint16" endian="big"/>
	<scaling name="InjectorScalingDSM" units="cc/min" toexpr="31050/x" frexpr="31050/x" format="%.0f" min="0" max="2000" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="L/Hz" units="L/Hz" toexpr="x*.0007" frexpr="x/.0007" format="%.4f" min="0" max="800" inc="0.0001" storagetype="uint8" endian="big"/>
	<scaling name="LT Trim Hz" units="Hz" toexpr="x*6.25" frexpr="x/6.25" format="%.2f" min="0" max="1593.75" inc="6.25" storagetype="uint8" endian="big"/>
	<scaling name="Load" units="%" toexpr="x*10/32" frexpr="x*32/10" format="%.0f" min="0" max="300" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Load16" units="units" toexpr="x*5/8" frexpr="x*8/5" format="%.1f" min="0" max="100" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Load8" units="%" toexpr="x*5/8" frexpr="x*8/5" format="%.1f" min="0" max="160" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="LoadBoost" units="%" toexpr="x*5/4" frexpr="x*4/5" format="%.0f" min="0" max="319" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="MAFsize" units="units" toexpr="39044/x" frexpr="39044/x" format="%.0f" min="1000" max="5000" inc="1" storagetype="int16" endian="big"/>
	<scaling name="Percent (128)" units="%" toexpr="x/1.28" frexpr="x*1.28" format="%.0f" min="0" max="100" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="Percent (256)" units="Trim %" toexpr="x/2.55" frexpr="x*2.55" format="%.0f" min="0" max="100" inc="0.39" storagetype="uint8" endian="big"/>
	<scaling name="RPM" units="RPM" toexpr="x*1000/256" frexpr="x*256/1000" format="%.0f" min="0" max="11000" inc="50" storagetype="uint16" endian="big"/>
	<scaling name="RPM8" units="RPM" toexpr="x*125/16" frexpr="x*16/125" format="%.0f" min="0" max="2000" inc="50" storagetype="uint8" endian="big"/>
	<scaling name="RPMLimit" units="RPM" toexpr="7500000/x" frexpr="7500000/x" format="%.0f" min="0" max="9000" inc="60" storagetype="uint16" endian="big"/>
	<scaling name="RPMPerMPH" units="RPM/MPH" toexpr="x/22.6" frexpr="22.6*x" format="%.0f" min="0" max="3000" inc="5" storagetype="uint16" endian="big"/>
	<scaling name="RPMStatLimit" units="units" toexpr="x*31.25" frexpr="x/31.25" format="%.0f" min="0" max="9000" inc="31.25" storagetype="uint16" endian="big"/>
	<scaling name="RPMTarget" units="RPM" toexpr="x*125/16" frexpr="x*16/125" format="%.0f" min="0" max="2000" inc="50" storagetype="uint16" endian="big"/>
	<scaling name="RPMstatbyte" units="units" toexpr="x*31.25" frexpr="x/31.25" format="%.0f" min="0" max="11000" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="TPS Percent" units="%" toexpr="x*100/255" frexpr="x*255/100" format="%.0f" min="0" max="100" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="Temp" units="Celsius" toexpr="x-40" frexpr="x+40" format="%.0f" min="-40" max="215" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="ThrottlePercentage" units="%" toexpr="x/255*100" frexpr="x*255/100" format="%.0f" min="0" max="100" inc="1" storagetype="uint16"/>
	<scaling name="ThrottleVoltage" units="V" toexpr="x*5/256" frexpr="x*256/5" format="%.2f" min="0" max="5" inc="0.05" storagetype="uint8" endian="big"/>
	<scaling name="Time" units="ms" toexpr="x*25" frexpr="x/25" format="%.0f" min="0" max="1.63838e+06" inc="25" storagetype="uint16" endian="big"/>
	<scaling name="TimeSec" units="s" toexpr="x/10" frexpr="x*10" format="%.1f" min="0" max="25.5" inc="0.1" storagetype="uint16" endian="big"/>
	<scaling name="Timesecbyte" units="s" toexpr="x/10" frexpr="x*10" format="%.1f" min="0" max="25.5" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="Timing" units="degrees" toexpr="x" frexpr="x" format="%.0f" min="-61" max="61" inc="1" storagetype="int8" endian="big"/>
	<scaling name="Timingcomensation" units="units" toexpr="(x-128)*-1" frexpr="(x/-1)+128" format="%.0f" min="-61" max="61" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="VE%" units="units" toexpr="x/2" frexpr="x*2" format="%.0f" min="0" max="100" inc="0.5" storagetype="uint8" endian="big"/>
	<scaling name="ValveTiming" units="degrees" toexpr="72-x*0.6" frexpr="(72-x)/0.6" format="%.1f" min="0" max="30" inc="0.6" storagetype="uint8" endian="big"/>
	<scaling name="VehicleSpeed" units="km/h" toexpr="x*2" frexpr="x/2" format="%.0f" min="0" max="510" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="VehicleSpeed8" units="units" toexpr="x*2" frexpr="x/2" format="%.0f" min="0" max="510" inc="1" storagetype="uint8" endian="big"/>
	<scaling name="Volts16" units="Volts" toexpr="x*5/256" frexpr="x*256/5" format="%.2f" min="0" max="5" inc="0.05" storagetype="uint16" endian="big"/>
	<scaling name="WGDuty" units="%" toexpr="x/2" frexpr="x*2" format="%.1f" min="0" max="100" inc="0.5" storagetype="uint8" endian="big"/>
	<scaling name="blobbits" storagetype="bloblist" storagebits="1">
		<data name="0" value="00"/>
		<data name="1" value="01"/>
	</scaling>
	<scaling name="uint16" units="units" toexpr="x" frexpr="x" format="%.0f" min="0" max="65535" inc="1" storagetype="uint16" endian="big"/>
	<scaling name="uint8" units="units" toexpr="x" frexpr="x" format="%.0f" min="0" max="255" inc="1" storagetype="uint8" endian="big"/>

	<table name="Ignition Timing Map" category="Timing" address="11e8d" type="3D" level="4" swapxy="true" scaling="Timing">
		<table name="Load" address="2d3cc" type="X Axis" elements="11" scaling="Load"/>
		<table name="Engine Speed" address="2d3a0" type="Y Axis" elements="19" scaling="RPM"/>
	</table>

	<table name="WarmUp Retard Map" category="Timing" address="11f65" type="3D" level="4" swapxy="true" scaling="Enrich">
		<table name="Load" address="2d3cc" type="X Axis" elements="11" scaling="Load"/>
		<table name="Engine Speed" address="2d3a0" type="Y Axis" elements="19" scaling="RPM"/>
	</table>

	<table name="Fuel Map" category="Fuel" address="1182b" type="3D" level="4" swapxy="true" scaling="AFR">
		<table name="Load" address="2d388" type="X Axis" elements="9" scaling="Load"/>
		<table name="Engine Speed" address="2d368" type="Y Axis" elements="13" scaling="RPM"/>
	</table>

	<table name="Injector Scaling" category="Fuel" address="10852" type="1D" level="4" scaling="InjectorScalingDSM"/>

	<table name="Injector Battery Voltage Latency Compensation" category="Fuel" address="11c64" type="2D" level="4" scaling="InjectorLatencyDSM">
		<table name="Battery Voltage" address="2d1b6" type="Y Axis" elements="7" scaling="BatteryVoltage"/>
	</table>

	<table name="VE Adder" category="Fuel" address="10824" type="1D" level="4" scaling="uint16"/>

	<table name="Rev Limit" category="Limits" address="10876" type="1D" level="4" scaling="RPMLimit"/>

	<table name="ECU ID Hex Revision" category="Identification" address="1021a" type="2D" level="4" scaling="Hex8">
		<table name="Byte Position" type="Static X Axis" elements="4">
			<data>b1</data>
			<data>b2</data>
			<data>b3</data>
			<data>b4</data>
		</table>
	</table>

	<table name="ECU ID ASCII" category="Identification" address="2fefa" type="2D" level="4" scaling="Ascii">
		<table name="Byte Position" type="Static Y Axis" elements="6">
			<data>b1</data>
			<data>b2</data>
			<data>b3</data>
			<data>b4</data>
			<data>b5</data>
			<data>b6</data>
		</table>
	</table>

	<table name="ECU ID Logger" category="Identification" address="10252" type="2D" level="4" scaling="Hex8">
		<table name="Byte Position" type="Static X Axis" elements="2">
			<data>b1</data>
			<data>b2</data>
		</table>
	</table>

	<table name="ECU ID Calibration" category="Identification" address="10232" type="2D" level="4" scaling="Hex8">
		<table name="Byte Position" type="Static X Axis" elements="4">
			<data>b1</data>
			<data>b2</data>
			<data>b3</data>
			<data>b4</data>
		</table>
	</table>

	<table name="ECU Periphery00 Hex" category="Periphery" address="10262" type="1D" scaling="Hex16"/>

	<table name="ECU Periphery0 Hex" category="Periphery" address="10272" type="1D" scaling="Hex16"/>

	<table name="ECU Periphery1 Hex" category="Periphery" address="10282" type="1D" scaling="Hex16"/>

	<table name="ECU Periphery2 Hex" category="Periphery" address="10292" type="1D" scaling="Hex16"/>

	<table name="ECU Periphery3 Hex" category="Periphery" address="102a2" type="1D" scaling="Hex16"/>

	<table name="ECU Periphery0 (272) Bits" category="Periphery" address="10272" type="2D" scaling="blobbits">
		<table name="Periphery Bit Number" type="Static Y Axis" flipy="true" elements="16">
			<data>bit.15                                               .</data>
			<data>bit.14, 0=Disable Front O2 Heater?                   .</data>
			<data>bit.13                                               .</data>
			<data>bit.12                                               .</data>
			<data>bit.11, 0=Disable EGR function                       .</data>
			<data>bit.10, 0=Disable WEIRD UNKNOWN CRUISE IGN RETARD    .</data>
			<data>bit.09, 0=Disable WARMUP IGNITION RETARD function    .</data>
			<data>bit.08                                               .</data>
			<data>bit.07, 1=Enable High Oct Ign Map Lookup             .</data>
			<data>bit.06, 1=Enable WG solenoid? Enable Speed Limit Test.</data>
			<data>bit.05                                               .</data>
			<data>bit.04, 0=Disable CLOSED LOOP function               .</data>
			<data>bit.03, 0=Disable IMMOBILIZER function               .</data>
			<data>bit.02                                               .</data>
			<data>bit.01, 0=Disable REAR O2 SENSOR function            .</data>
			<data>bit.00                                               .</data>
		</table>
	</table>

	<table name="ECU Periphery1 (282) Bits" category="Periphery" address="10282" type="2D" scaling="blobbits">
		<table name="Periphery Bit Number" type="Static Y Axis" flipy="true" elements="16">
			<data>bit.15                                               .</data>
			<data>bit.14                                               .</data>
			<data>bit.13                                               .</data>
			<data>bit.12                                               .</data>
			<data>bit.11                                               .</data>
			<data>bit.10                                               .</data>
			<data>bit.09                                               .</data>
			<data>bit.08                                               .</data>
			<data>bit.07                                               .</data>
			<data>bit.06                                               .</data>
			<data>bit.05                                               .</data>
			<data>bit.04                                               .</data>
			<data>bit.03                                               .</data>
			<data>bit.02                                               .</data>
			<data>bit.01                                               .</data>
			<data>bit.00, 0=Disable LEAN SPOOL                         .</data>
		</table>
	</table>

	<table name="ECU Periphery2 (292) Bits" category="Periphery" address="10292" type="2D" scaling="blobbits">
		<table name="Periphery Bit Number" type="Static Y Axis" flipy="true" elements="16">
			<data>bit.15, P0443 P0446 P0403 P0243 P0090 P2263          .</data>
			<data>bit.14, P0450 P0451 P0452 P0453 Evap Pres. Sensor    .</data>
			<data>bit.13, P0441 Evap Incorrect Purge Flow              .</data>
			<data>bit.12                                               .</data>
			<data>bit.11, P0031 P0032 P0037 P0038 O2 HEATER CKT        .</data>
			<data>bit.10, P1400 MAP Sensor                             .</data>
			<data>bit.09, P0401 EGR Test                               .</data>
			<data>bit.08, P0506 P0507 Idle Test                        .</data>
			<data>bit.07, P0170 P0171 P0172                            .</data>
			<data>bit.06, P0134 Front O2 Sensor No Activity            .</data>
			<data>bit.05, P0300 set bits 4 and 5 to 0                  .</data>
			<data>bit.04, P0300 set bits 4 and 5 to 0                  .</data>
			<data>bit.03, P0132 P0136 O2 Sensor Circuit                .</data>
			<data>bit.02, P0133 P0159                                  .</data>
			<data>bit.01, 0=Disable P0421 WARMUP CAT EFFICIENCY LOW    .</data>
			<data>bit.00                                               .</data>
		</table>
	</table>

	<table name="MUT Table" category="Diagnostics" address="2fad0" type="3D" level="4" scaling="Hex16">
		<table name="X" type="Static X Axis" elements="16">
			<data>0</data>
			<data>1</data>
			<data>2</data>
			<data>3</data>
			<data>4</data>
			<data>5</data>
			<data>6</data>
			<data>7</data>
			<data>8</data>
			<data>9</data>
			<data>A</data>
			<data>B</data>
			<data>C</data>
			<data>D</data>
			<data>E</data>
			<data>F</data>
		</table>
		<table name="Y" type="Static Y Axis" elements="32">
			<data>MUT00X</data>
			<data>MUT01X</data>
			<data>MUT02X</data>
			<data>MUT03X</data>
			<data>MUT04X</data>
			<data>MUT05X</data>
			<data>MUT06X</data>
			<data>MUT07X</data>
			<data>MUT08X</data>
			<data>MUT09X</data>
			<data>MUT0AX</data>
			<data>MUT0BX</data>
			<data>MUT0CX</data>
			<data>MUT0DX</data>
			<data>MUT0EX</data>
			<data>MUT0FX</data>
			<data>MUT10X</data>
			<data>MUT11X</data>
			<data>MUT12X</data>
			<data>MUT13X</data>
			<data>MUT14X</data>
			<data>MUT15X</data>
			<data>MUT16X</data>
			<data>MUT17X</data>
			<data>MUT18X</data>
			<data>MUT19X</data>
			<data>MUT1AX</data>
			<data>MUT1BX</data>
			<data>MUT1CX</data>
			<data>MUT1DX</data>
			<data>MUT1EX</data>
			<data>MUT1FX</data>
		</table>
	</table>

	<table name="OBD2 Table" category="Diagnostics" address="13eb4" type="3D" level="4" scaling="Hex16">
		<table name="X" type="Static X Axis" elements="16">
			<data>0</data>
			<data>1</data>
			<data>2</data>
			<data>3</data>
			<data>4</data>
			<data>5</data>
			<data>6</data>
			<data>7</data>
			<data>8</data>
			<data>9</data>
			<data>A</data>
			<data>B</data>
			<data>C</data>
			<data>D</data>
			<data>E</data>
			<data>F</data>
		</table>
		<table name="Y" type="Static Y Axis" elements="9">
			<data>0X</data>
			<data>1X</data>
			<data>2X</data>
			<data>3X</data>
			<data>4X</data>
			<data>5X</data>
			<data>6X</data>
			<data>7X</data>
			<data>8X</data>
		</table>
	</table>

	<table name="VE% Map 1" category="Fuel" address="118a7" type="3D" level="4" swapxy="true" scaling="VE%">
		<table name="MAP Volts" address="2d82c" type="X Axis" elements="11" scaling="uint16"/>
		<table name="RPM" address="2d800" type="Y Axis" elements="19" scaling="RPM"/>
	</table>

	<table name="VE% Map 2" category="Fuel" address="1197f" type="3D" level="4" swapxy="true" scaling="VE%">
		<table name="MAP Volts" address="2d82c" type="X Axis" elements="11" scaling="uint16"/>
		<table name="RPM" address="2d800" type="Y Axis" elements="19" scaling="RPM"/>
	</table>

	<table name="VE% Map 3" category="Fuel" address="11a57" type="3D" level="4" swapxy="true" scaling="VE%">
		<table name="MAP Volts" address="2d82c" type="X Axis" elements="11" scaling="uint16"/>
		<table name="RPM" address="2d800" type="Y Axis" elements="19" scaling="RPM"/>
	</table>

	<table name="Ignition Timing Adder? Map" category="Timing" address="12045" type="3D" level="4" swapxy="true" scaling="uint8">
		<table name="Load" address="2d3cc" type="X Axis" elements="11" scaling="Load"/>
		<table name="Engine Speed" address="2d3a0" type="Y Axis" elements="19" scaling="RPM"/>
	</table>

	<table name="MAP from RPM vs TPS alpha-N" category="Fuel" address="11c3d" type="3D" level="4" swapxy="true" scaling="uint8">
		<table name="Throttle" address="2d43e" type="X Axis" elements="7" scaling="ThrottlePercentage"/>
		<table name="Engine Speed" address="2d42e" type="Y Axis" elements="5" scaling="RPM"/>
	</table>

	<table name="Engine Size in Cubic Inches" category="Fuel" address="1153c" type="1D" level="4" scaling="uint16"/>

</rom>
