[megadrij/firemust] Fire Mustang

This forum is for posting cheats for any non-arcade game in M.A.M.E. ( aka the M.E.S.S. games ) including any softwarelist game. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
jman
Posts: 843
Joined: Tue Dec 01, 2020 1:24 pm

[megadrij/firemust] Fire Mustang

Post by jman »

firemust is megadrive version of US AAF Mustang. But this game seems not to have any test mode.

Code: Select all

<cheat desc="no hit (wip)">
	<script state="on">
		<action>mdslot:cart:rom.mb@37e1 = 24</action> <!-- enemy -->
		<action>mdslot:cart:rom.mb@3846 = 60</action> <!-- bullet -->
	</script>
	<script state="off">
		<action>mdslot:cart:rom.mb@37e1 = 24</action>
		<action>mdslot:cart:rom.mb@3846 = 60</action>
	</script>
</cheat>

<cheat desc="auto fire (wip)">
	<script state="on">
		<action>mdslot:cart:rom.mb@1eb9 = 01</action> <!-- button C -->
		<action>mdslot:cart:rom.mb@1ec7 = 48</action> <!-- button A -->
	</script>
	<script state="off">
		<action>mdslot:cart:rom.mb@1eb9 = 08</action>
		<action>mdslot:cart:rom.mb@1ec7 = 49</action>
	</script>
</cheat>

<cheat desc="player speed (wip)">
	<parameter min="0x01" max="0x05" step="0x01" />
	<script state="change">
		<action>mdslot:cart:rom.mw@1adc = 0140 * param</action>
		<action>mdslot:cart:rom.mw@1af8 = 00e0 * param</action>
	</script>
	<script state="off">
	</script>
</cheat>

<cheat desc="bullet speed (wip)">
	<parameter>
		<item value="0x05">01 (slow)</item>
		<item value="0x0a">02       </item>
		<item value="0x0f">03       </item>
		<item value="0x14">04       </item>
		<item value="0x19">05 (fast)</item>
	</parameter>
	<script state="change">
		<action>mdslot:cart:rom.mb@14b14 = param</action>
		<action>mdslot:cart:rom.mb@14b18 = param</action>
		<action>mdslot:cart:rom.mb@14b1c = param</action>
	</script>
	<script state="off">
		<action>mdslot:cart:rom.mb@14b14 = 0a</action>
		<action>mdslot:cart:rom.mb@14b18 = 0a</action>
		<action>mdslot:cart:rom.mb@14b1c = 0a</action>
	</script>
</cheat>

<cheat desc="bomb speed (wip)">
	<parameter>
		<item value="0x10">01 (slow)</item>
		<item value="0x20">02       </item>
		<item value="0x30">03       </item>
		<item value="0x40">04       </item>
		<item value="0x50">05 (fast)</item>
	</parameter>
	<script state="change">
		<action>mdslot:cart:rom.mb@20b3 = param</action>
	</script>
	<script state="off">
		<action>mdslot:cart:rom.mb@20b3 = 20</action>
	</script>
</cheat>

<cheat desc="sound test mode (wip)">
	<comment>reset the game (F3) to enter sound test mode</comment>
	<script state="on">
		<action>mdslot:cart:rom.mq@003c8 = 4ef90006f4404e71</action>
		<action>mdslot:cart:rom.mq@6f440 = 4eb90000075841f9</action>
		<action>mdslot:cart:rom.mq@6f448 = 00ffb94943f900ff</action>
		<action>mdslot:cart:rom.mq@6f450 = b000081000026702</action>
		<action>mdslot:cart:rom.mq@6f458 = 5311081000036702</action>
		<action>mdslot:cart:rom.mq@6f460 = 5211081000066704</action>
		<action>mdslot:cart:rom.mq@6f468 = 1e11600808100004</action>
		<action>mdslot:cart:rom.mq@6f470 = 670842074eb90000</action>
		<action>mdslot:cart:rom.mq@6f478 = 145660c4ffffffff</action>
		<!--
		06f440 | 4eb9 0000 0758 : jsr    $758.l
		06f446 | 41f9 00ff b949 : lea    $ffb949.l,A0 // input address
		06f44c | 43f9 00ff b000 : lea    $ffb000.l,A1 // sound code address
		06f452 | 0810 0002      : btst   #$2,(A0)
		06f456 | 6702           : beq    $6f45a
		06f458 | 5311           : subq.b #1,(A1)      // pressed left - code decrement
		06f45a | 0810 0003      : btst   #$3,(A0)
		06f45e | 6702           : beq    $6f462
		06f460 | 5211           : addq.b #1,(A1)      // pressed right - code increment
		06f462 | 0810 0006      : btst   #$6,(A0)
		06f466 | 6704           : beq    $6f46c
		06f468 | 1e11           : move.b (A1),D7      // pressed button 1 - play sound
		06f46a | 6008           : bra    $6f474
		06f46c | 0810 0004      : btst   #$4,(A0)
		06f470 | 6708           : beq    $6f47a
		06f472 | 4207           : clr.b  D7           // pressed button 2 - stop sound
		06f474 | 4eb9 0000 1456 : jsr    $1456.l      // send sound code
		06f47a | 60c4           : bra    $6f440
		-->
	</script>
	<script state="run">
		<output format="----- fire mustang sound test mode -----" line="10" align="center" />
		<output format="left : code decrement"                    line="11" align="center" />
		<output format="right : code increment"                   line="12" align="center" />
		<output format="button 1 : play sound"                    line="13" align="center" />
		<output format="button 2 : stop sound"                    line="14" align="center" />
		<output format="----------------------------"             line="15" align="center" />
		<output format="&lt;&lt; sound code %2.2X &gt;&gt;"       line="17" align="center">
			<argument>maincpu.pb@ffb000</argument>
		</output>
	</script>
	<script state="off">
		<action>mdslot:cart:rom.mq@003c8 = 61001f16427900ff</action>
		<action>mdslot:cart:rom.mq@6f440 = ffffffffffffffff</action>
		<action>mdslot:cart:rom.mq@6f448 = ffffffffffffffff</action>
		<action>mdslot:cart:rom.mq@6f450 = ffffffffffffffff</action>
		<action>mdslot:cart:rom.mq@6f458 = ffffffffffffffff</action>
		<action>mdslot:cart:rom.mq@6f460 = ffffffffffffffff</action>
		<action>mdslot:cart:rom.mq@6f468 = ffffffffffffffff</action>
		<action>mdslot:cart:rom.mq@6f470 = ffffffffffffffff</action>
		<action>mdslot:cart:rom.mq@6f478 = ffffffffffffffff</action>
	</script>
</cheat>
Post Reply