turbofrc.xml
Code: Select all
<!-- Turbo Force (World, set 1) -->
<mamecheat version="1">
<cheat desc="no hit">
<script state="on">
<action>maincpu.mw@479C = 0002</action> <!-- background -->
<action>maincpu.mw@47C0 = 0002</action> <!-- background -->
<action>maincpu.mw@62BC = 4E75</action> <!-- enemy -->
<action>maincpu.mw@636E = 4E75</action> <!-- bullet -->
</script>
<script state="off">
<action>maincpu.mw@479C = 0084</action>
<action>maincpu.mw@47C0 = 006E</action>
<action>maincpu.mw@62BC = 08EE</action>
<action>maincpu.mw@636E = 08EE</action>
</script>
</cheat>
<cheat desc="fire speed up">
<script state="on">
<action>maincpu.mw@46B6 = 4E71</action>
</script>
<script state="off">
<action>maincpu.mw@46B6 = 67D4</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x0001">01 (slow)</item>
<item value="0x0002">02 </item>
<item value="0x0004">03 </item>
<item value="0x0006">04 </item>
<item value="0x0008">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@43FC = 4EB90000A6E04E71</action> // y position
<action>maincpu.mq@440E = 4EB90000A6E84E71</action> // x position
<action>maincpu.mq@A6E0 = 610ED36E000E4E75</action>
<action>maincpu.mq@A6E8 = 6106D36E000C4E75</action>
<action>maincpu.mq@A6F0 = 363C000032300000</action>
<action>maincpu.mq@A6F8 = 67066A0244433203</action>
<action>maincpu.mq@A700 = 4E75FFFFFFFFFFFF</action>
<!--
A6E0 | 610E : bsr $a6f0 // y position
A6E2 | D36E 000E : add.w D1, ($e,A6)
A6E6 | 4E75 : rts
A6E8 | 6106 : bsr $a6f0 // x position
A6EA | D36E 000C : add.w D1, ($c,A6)
A6EE | 4E75 : rts
A6F0 | 363C xxxx : move.w #$xx, D3
A6F4 | 3230 0000 : move.w (A0,D0.w), D1
A6F8 | 6706 : beq $a700
A6FA | 6A02 : bpl $a6fe
A6FC | 4443 : neg.w D3
A6FE | 3203 : move.w D3, D1
A700 | 4E75 : rts
-->
</script>
<script state="change">
<action>maincpu.mw@A6F2 = param</action>
</script>
<script state="off">
<action>maincpu.mq@43FC = 32300000D36E000E</action>
<action>maincpu.mq@440E = 32300000D36E000C</action>
<action>maincpu.mq@A6E0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6E8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A700 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter>
<item value="0x0004">01 (slow)</item>
<item value="0x0010">02 </item>
<item value="0x0018">03 </item>
<item value="0x0020">04 </item>
<item value="0x0028">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@4BC2 = 4EB90000A71041F9</action>
<action>maincpu.mq@A710 = 3D7C000000424E75</action> <!-- move.w #$xx,($42,A6) / rts -->
</script>
<script state="change">
<action>maincpu.mw@A712 = param</action>
</script>
<script state="off">
<action>maincpu.mq@4BC2 = 3D706000004241F9</action>
<action>maincpu.mq@A710 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="no power down">
<script state="on">
<action>maincpu.mb@4614 = 60</action>
</script>
<script state="off">
<action>maincpu.mb@4614 = 6A</action>
</script>
</cheat>
<cheat desc="sound test mode">
<comment>reset the game (F3) to enter sound test mode</comment>
<script state="on">
<action>maincpu.md@0AC0 = 0000A720 </action>
<action>maincpu.mq@A720 = 41F9000C000043F9</action>
<action>maincpu.mq@A728 = 000FF00E32003029</action>
<action>maincpu.mq@A730 = FFF2B24067F60C40</action>
<action>maincpu.mq@A738 = FFFB660253100C40</action>
<action>maincpu.mq@A740 = FFF7660252100C40</action>
<action>maincpu.mq@A748 = FFFD660404100010</action>
<action>maincpu.mq@A750 = 0C40FFFE66040610</action>
<action>maincpu.mq@A758 = 00100C40FFEF6602</action>
<action>maincpu.mq@A760 = 12900C40FBFF6604</action>
<action>maincpu.mq@A768 = 12BC000160BEFFFF</action>
<!--
A720 | 41F9 000C 0000 : lea $c0000.l, A0 // sound code address
A726 | 43F9 000F F00E : lea $ff00e.l, A1 // sound latch address
A72C | 3200 : move.w D0, D1
A72E | 3029 FFF2 : move.w (-$e,A1), D0 // read input ($ff000)
A732 | B240 : cmp.w D0, D1
A734 | 67F6 : beq $a72c
A736 | 0C40 FFFB : cmpi.w #-$5, D0
A73A | 6602 : bne $a73e
A73C | 5310 : subq.b #1, (A0) // decrease code -01
A73E | 0C40 FFF7 : cmpi.w #-$9, D0
A742 | 6602 : bne $a746
A744 | 5210 : addq.b #1, (A0) // increase code +01
A746 | 0C40 FFFD : cmpi.w #-$3, D0
A74A | 6604 : bne $a750
A74C | 0410 0010 : subi.b #$10, (A0) // decrease code -10
A750 | 0C40 FFFE : cmpi.w #-$2, D0
A754 | 6604 : bne $a75a
A756 | 0610 0010 : addi.b #$10, (A0) // increase code +10
A75A | 0C40 FFEF : cmpi.w #-$11, D0
A75E | 6602 : bne $a762
A760 | 1290 : move.b (A0), (A1) // play sound
A762 | 0C40 FBFF : cmpi.w #-$401, D0
A766 | 6604 : bne $a76c
A768 | 12BC 0001 : move.b #$1, (A1) // stop sound
A76C | 60BE : bra $a72c
-->
</script>
<script state="run">
<output format="----- turbo force sound test mode -----" line="10" align="center" />
<output format="left : decrease code -01" line="11" align="center" />
<output format="right : increase code +01" line="12" align="center" />
<output format="down : decrease code -10" line="13" align="center" />
<output format="up : increase code +10" line="14" align="center" />
<output format="button 1 : play sound" line="15" align="center" />
<output format="start 1 : stop sound" line="16" align="center" />
<output format="----------------------------" line="17" align="center" />
<output format="<< sound code %2.2X >>" line="19" align="center" >
<argument>maincpu.pb@C0000</argument>
</output>
</script>
<script state="off">
<action>maincpu.md@0AC0 = 00066004 </action>
<action>maincpu.mq@A720 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A728 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A730 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A738 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A740 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A748 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A750 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A758 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A760 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A768 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
</mamecheat>
turbofrco.xml
Code: Select all
<!-- Turbo Force (World, set 2) -->
<mamecheat version="1">
<cheat desc="no hit">
<script state="on">
<action>maincpu.mw@479C = 0002</action> <!-- background -->
<action>maincpu.mw@47C0 = 0002</action> <!-- background -->
<action>maincpu.mw@62BC = 4E75</action> <!-- enemy -->
<action>maincpu.mw@636E = 4E75</action> <!-- bullet -->
</script>
<script state="off">
<action>maincpu.mw@479C = 0084</action>
<action>maincpu.mw@47C0 = 006E</action>
<action>maincpu.mw@62BC = 08EE</action>
<action>maincpu.mw@636E = 08EE</action>
</script>
</cheat>
<cheat desc="fire speed up">
<script state="on">
<action>maincpu.mw@46B6 = 4E71</action>
</script>
<script state="off">
<action>maincpu.mw@46B6 = 67D4</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x0001">01 (slow)</item>
<item value="0x0002">02 </item>
<item value="0x0004">03 </item>
<item value="0x0006">04 </item>
<item value="0x0008">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@43FC = 4EB90000A6E04E71</action> // y position
<action>maincpu.mq@440E = 4EB90000A6E84E71</action> // x position
<action>maincpu.mq@A6E0 = 610ED36E000E4E75</action>
<action>maincpu.mq@A6E8 = 6106D36E000C4E75</action>
<action>maincpu.mq@A6F0 = 363C000032300000</action>
<action>maincpu.mq@A6F8 = 67066A0244433203</action>
<action>maincpu.mq@A700 = 4E75FFFFFFFFFFFF</action>
<!--
A6E0 | 610E : bsr $a6f0 // y position
A6E2 | D36E 000E : add.w D1, ($e,A6)
A6E6 | 4E75 : rts
A6E8 | 6106 : bsr $a6f0 // x position
A6EA | D36E 000C : add.w D1, ($c,A6)
A6EE | 4E75 : rts
A6F0 | 363C xxxx : move.w #$xx, D3
A6F4 | 3230 0000 : move.w (A0,D0.w), D1
A6F8 | 6706 : beq $a700
A6FA | 6A02 : bpl $a6fe
A6FC | 4443 : neg.w D3
A6FE | 3203 : move.w D3, D1
A700 | 4E75 : rts
-->
</script>
<script state="change">
<action>maincpu.mw@A6F2 = param</action>
</script>
<script state="off">
<action>maincpu.mq@43FC = 32300000D36E000E</action>
<action>maincpu.mq@440E = 32300000D36E000C</action>
<action>maincpu.mq@A6E0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6E8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A700 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter>
<item value="0x0004">01 (slow)</item>
<item value="0x0010">02 </item>
<item value="0x0018">03 </item>
<item value="0x0020">04 </item>
<item value="0x0028">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@4BC2 = 4EB90000A71041F9</action>
<action>maincpu.mq@A710 = 3D7C000000424E75</action> <!-- move.w #$xx,($42,A6) / rts -->
</script>
<script state="change">
<action>maincpu.mw@A712 = param</action>
</script>
<script state="off">
<action>maincpu.mq@4BC2 = 3D706000004241F9</action>
<action>maincpu.mq@A710 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="no power down">
<script state="on">
<action>maincpu.mb@4614 = 60</action>
</script>
<script state="off">
<action>maincpu.mb@4614 = 6A</action>
</script>
</cheat>
<cheat desc="sound test mode">
<comment>reset the game (F3) to enter sound test mode</comment>
<script state="on">
<action>maincpu.md@0AC0 = 0000A720 </action>
<action>maincpu.mq@A720 = 41F9000C000043F9</action>
<action>maincpu.mq@A728 = 000FF00E32003029</action>
<action>maincpu.mq@A730 = FFF2B24067F60C40</action>
<action>maincpu.mq@A738 = FFFB660253100C40</action>
<action>maincpu.mq@A740 = FFF7660252100C40</action>
<action>maincpu.mq@A748 = FFFD660404100010</action>
<action>maincpu.mq@A750 = 0C40FFFE66040610</action>
<action>maincpu.mq@A758 = 00100C40FFEF6602</action>
<action>maincpu.mq@A760 = 12900C40FBFF6604</action>
<action>maincpu.mq@A768 = 12BC000160BEFFFF</action>
<!--
A720 | 41F9 000C 0000 : lea $c0000.l, A0 // sound code address
A726 | 43F9 000F F00E : lea $ff00e.l, A1 // sound latch address
A72C | 3200 : move.w D0, D1
A72E | 3029 FFF2 : move.w (-$e,A1), D0 // read input ($ff000)
A732 | B240 : cmp.w D0, D1
A734 | 67F6 : beq $a72c
A736 | 0C40 FFFB : cmpi.w #-$5, D0
A73A | 6602 : bne $a73e
A73C | 5310 : subq.b #1, (A0) // decrease code -01
A73E | 0C40 FFF7 : cmpi.w #-$9, D0
A742 | 6602 : bne $a746
A744 | 5210 : addq.b #1, (A0) // increase code +01
A746 | 0C40 FFFD : cmpi.w #-$3, D0
A74A | 6604 : bne $a750
A74C | 0410 0010 : subi.b #$10, (A0) // decrease code -10
A750 | 0C40 FFFE : cmpi.w #-$2, D0
A754 | 6604 : bne $a75a
A756 | 0610 0010 : addi.b #$10, (A0) // increase code +10
A75A | 0C40 FFEF : cmpi.w #-$11, D0
A75E | 6602 : bne $a762
A760 | 1290 : move.b (A0), (A1) // play sound
A762 | 0C40 FBFF : cmpi.w #-$401, D0
A766 | 6604 : bne $a76c
A768 | 12BC 0001 : move.b #$1, (A1) // stop sound
A76C | 60BE : bra $a72c
-->
</script>
<script state="run">
<output format="----- turbo force sound test mode -----" line="10" align="center" />
<output format="left : decrease code -01" line="11" align="center" />
<output format="right : increase code +01" line="12" align="center" />
<output format="down : decrease code -10" line="13" align="center" />
<output format="up : increase code +10" line="14" align="center" />
<output format="button 1 : play sound" line="15" align="center" />
<output format="start 1 : stop sound" line="16" align="center" />
<output format="----------------------------" line="17" align="center" />
<output format="<< sound code %2.2X >>" line="19" align="center" >
<argument>maincpu.pb@C0000</argument>
</output>
</script>
<script state="off">
<action>maincpu.md@0AC0 = 00066004 </action>
<action>maincpu.mq@A720 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A728 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A730 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A738 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A740 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A748 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A750 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A758 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A760 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A768 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
</mamecheat>
turbofrcu.xml
Code: Select all
<!-- Turbo Force (US, set 1) -->
<mamecheat version="1">
<cheat desc="no hit">
<script state="on">
<action>maincpu.mw@479C = 0002</action> <!-- background -->
<action>maincpu.mw@47C0 = 0002</action> <!-- background -->
<action>maincpu.mw@62BC = 4E75</action> <!-- enemy -->
<action>maincpu.mw@636E = 4E75</action> <!-- bullet -->
</script>
<script state="off">
<action>maincpu.mw@479C = 0084</action>
<action>maincpu.mw@47C0 = 006E</action>
<action>maincpu.mw@62BC = 08EE</action>
<action>maincpu.mw@636E = 08EE</action>
</script>
</cheat>
<cheat desc="fire speed up">
<script state="on">
<action>maincpu.mw@46B6 = 4E71</action>
</script>
<script state="off">
<action>maincpu.mw@46B6 = 67D4</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x0001">01 (slow)</item>
<item value="0x0002">02 </item>
<item value="0x0004">03 </item>
<item value="0x0006">04 </item>
<item value="0x0008">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@43FC = 4EB90000A6E04E71</action> // y position
<action>maincpu.mq@440E = 4EB90000A6E84E71</action> // x position
<action>maincpu.mq@A6E0 = 610ED36E000E4E75</action>
<action>maincpu.mq@A6E8 = 6106D36E000C4E75</action>
<action>maincpu.mq@A6F0 = 363C000032300000</action>
<action>maincpu.mq@A6F8 = 67066A0244433203</action>
<action>maincpu.mq@A700 = 4E75FFFFFFFFFFFF</action>
<!--
A6E0 | 610E : bsr $a6f0 // y position
A6E2 | D36E 000E : add.w D1, ($e,A6)
A6E6 | 4E75 : rts
A6E8 | 6106 : bsr $a6f0 // x position
A6EA | D36E 000C : add.w D1, ($c,A6)
A6EE | 4E75 : rts
A6F0 | 363C xxxx : move.w #$xx, D3
A6F4 | 3230 0000 : move.w (A0,D0.w), D1
A6F8 | 6706 : beq $a700
A6FA | 6A02 : bpl $a6fe
A6FC | 4443 : neg.w D3
A6FE | 3203 : move.w D3, D1
A700 | 4E75 : rts
-->
</script>
<script state="change">
<action>maincpu.mw@A6F2 = param</action>
</script>
<script state="off">
<action>maincpu.mq@43FC = 32300000D36E000E</action>
<action>maincpu.mq@440E = 32300000D36E000C</action>
<action>maincpu.mq@A6E0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6E8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A700 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter>
<item value="0x0004">01 (slow)</item>
<item value="0x0010">02 </item>
<item value="0x0018">03 </item>
<item value="0x0020">04 </item>
<item value="0x0028">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@4BC2 = 4EB90000A71041F9</action>
<action>maincpu.mq@A710 = 3D7C000000424E75</action> <!-- move.w #$xx,($42,A6) / rts -->
</script>
<script state="change">
<action>maincpu.mw@A712 = param</action>
</script>
<script state="off">
<action>maincpu.mq@4BC2 = 3D706000004241F9</action>
<action>maincpu.mq@A710 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="no power down">
<script state="on">
<action>maincpu.mb@4614 = 60</action>
</script>
<script state="off">
<action>maincpu.mb@4614 = 6A</action>
</script>
</cheat>
<cheat desc="sound test mode">
<comment>reset the game (F3) to enter sound test mode</comment>
<script state="on">
<action>maincpu.md@0AC0 = 0000A720 </action>
<action>maincpu.mq@A720 = 41F9000C000043F9</action>
<action>maincpu.mq@A728 = 000FF00E32003029</action>
<action>maincpu.mq@A730 = FFF2B24067F60C40</action>
<action>maincpu.mq@A738 = FFFB660253100C40</action>
<action>maincpu.mq@A740 = FFF7660252100C40</action>
<action>maincpu.mq@A748 = FFFD660404100010</action>
<action>maincpu.mq@A750 = 0C40FFFE66040610</action>
<action>maincpu.mq@A758 = 00100C40FFEF6602</action>
<action>maincpu.mq@A760 = 12900C40FBFF6604</action>
<action>maincpu.mq@A768 = 12BC000160BEFFFF</action>
<!--
A720 | 41F9 000C 0000 : lea $c0000.l, A0 // sound code address
A726 | 43F9 000F F00E : lea $ff00e.l, A1 // sound latch address
A72C | 3200 : move.w D0, D1
A72E | 3029 FFF2 : move.w (-$e,A1), D0 // read input ($ff000)
A732 | B240 : cmp.w D0, D1
A734 | 67F6 : beq $a72c
A736 | 0C40 FFFB : cmpi.w #-$5, D0
A73A | 6602 : bne $a73e
A73C | 5310 : subq.b #1, (A0) // decrease code -01
A73E | 0C40 FFF7 : cmpi.w #-$9, D0
A742 | 6602 : bne $a746
A744 | 5210 : addq.b #1, (A0) // increase code +01
A746 | 0C40 FFFD : cmpi.w #-$3, D0
A74A | 6604 : bne $a750
A74C | 0410 0010 : subi.b #$10, (A0) // decrease code -10
A750 | 0C40 FFFE : cmpi.w #-$2, D0
A754 | 6604 : bne $a75a
A756 | 0610 0010 : addi.b #$10, (A0) // increase code +10
A75A | 0C40 FFEF : cmpi.w #-$11, D0
A75E | 6602 : bne $a762
A760 | 1290 : move.b (A0), (A1) // play sound
A762 | 0C40 FBFF : cmpi.w #-$401, D0
A766 | 6604 : bne $a76c
A768 | 12BC 0001 : move.b #$1, (A1) // stop sound
A76C | 60BE : bra $a72c
-->
</script>
<script state="run">
<output format="----- turbo force sound test mode -----" line="10" align="center" />
<output format="left : decrease code -01" line="11" align="center" />
<output format="right : increase code +01" line="12" align="center" />
<output format="down : decrease code -10" line="13" align="center" />
<output format="up : increase code +10" line="14" align="center" />
<output format="button 1 : play sound" line="15" align="center" />
<output format="start 1 : stop sound" line="16" align="center" />
<output format="----------------------------" line="17" align="center" />
<output format="<< sound code %2.2X >>" line="19" align="center" >
<argument>maincpu.pb@C0000</argument>
</output>
</script>
<script state="off">
<action>maincpu.md@0AC0 = 00066004 </action>
<action>maincpu.mq@A720 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A728 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A730 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A738 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A740 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A748 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A750 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A758 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A760 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A768 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
</mamecheat>
turbofrcua.xml
Code: Select all
<!-- Turbo Force (US, set 2) -->
<mamecheat version="1">
<cheat desc="no hit">
<script state="on">
<action>maincpu.mw@479C = 0002</action> <!-- background -->
<action>maincpu.mw@47C0 = 0002</action> <!-- background -->
<action>maincpu.mw@62BC = 4E75</action> <!-- enemy -->
<action>maincpu.mw@636E = 4E75</action> <!-- bullet -->
</script>
<script state="off">
<action>maincpu.mw@479C = 0084</action>
<action>maincpu.mw@47C0 = 006E</action>
<action>maincpu.mw@62BC = 08EE</action>
<action>maincpu.mw@636E = 08EE</action>
</script>
</cheat>
<cheat desc="fire speed up">
<script state="on">
<action>maincpu.mw@46B6 = 4E71</action>
</script>
<script state="off">
<action>maincpu.mw@46B6 = 67D4</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x0001">01 (slow)</item>
<item value="0x0002">02 </item>
<item value="0x0004">03 </item>
<item value="0x0006">04 </item>
<item value="0x0008">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@43FC = 4EB90000A6E04E71</action> // y position
<action>maincpu.mq@440E = 4EB90000A6E84E71</action> // x position
<action>maincpu.mq@A6E0 = 610ED36E000E4E75</action>
<action>maincpu.mq@A6E8 = 6106D36E000C4E75</action>
<action>maincpu.mq@A6F0 = 363C000032300000</action>
<action>maincpu.mq@A6F8 = 67066A0244433203</action>
<action>maincpu.mq@A700 = 4E75FFFFFFFFFFFF</action>
<!--
A6E0 | 610E : bsr $a6f0 // y position
A6E2 | D36E 000E : add.w D1, ($e,A6)
A6E6 | 4E75 : rts
A6E8 | 6106 : bsr $a6f0 // x position
A6EA | D36E 000C : add.w D1, ($c,A6)
A6EE | 4E75 : rts
A6F0 | 363C xxxx : move.w #$xx, D3
A6F4 | 3230 0000 : move.w (A0,D0.w), D1
A6F8 | 6706 : beq $a700
A6FA | 6A02 : bpl $a6fe
A6FC | 4443 : neg.w D3
A6FE | 3203 : move.w D3, D1
A700 | 4E75 : rts
-->
</script>
<script state="change">
<action>maincpu.mw@A6F2 = param</action>
</script>
<script state="off">
<action>maincpu.mq@43FC = 32300000D36E000E</action>
<action>maincpu.mq@440E = 32300000D36E000C</action>
<action>maincpu.mq@A6E0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6E8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F0 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A6F8 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A700 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter>
<item value="0x0004">01 (slow)</item>
<item value="0x0010">02 </item>
<item value="0x0018">03 </item>
<item value="0x0020">04 </item>
<item value="0x0028">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@4BC2 = 4EB90000A71041F9</action>
<action>maincpu.mq@A710 = 3D7C000000424E75</action> <!-- move.w #$xx,($42,A6) / rts -->
</script>
<script state="change">
<action>maincpu.mw@A712 = param</action>
</script>
<script state="off">
<action>maincpu.mq@4BC2 = 3D706000004241F9</action>
<action>maincpu.mq@A710 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="no power down">
<script state="on">
<action>maincpu.mb@4614 = 60</action>
</script>
<script state="off">
<action>maincpu.mb@4614 = 6A</action>
</script>
</cheat>
<cheat desc="sound test mode">
<comment>reset the game (F3) to enter sound test mode</comment>
<script state="on">
<action>maincpu.md@0AC0 = 0000A720 </action>
<action>maincpu.mq@A720 = 41F9000C000043F9</action>
<action>maincpu.mq@A728 = 000FF00E32003029</action>
<action>maincpu.mq@A730 = FFF2B24067F60C40</action>
<action>maincpu.mq@A738 = FFFB660253100C40</action>
<action>maincpu.mq@A740 = FFF7660252100C40</action>
<action>maincpu.mq@A748 = FFFD660404100010</action>
<action>maincpu.mq@A750 = 0C40FFFE66040610</action>
<action>maincpu.mq@A758 = 00100C40FFEF6602</action>
<action>maincpu.mq@A760 = 12900C40FBFF6604</action>
<action>maincpu.mq@A768 = 12BC000160BEFFFF</action>
<!--
A720 | 41F9 000C 0000 : lea $c0000.l, A0 // sound code address
A726 | 43F9 000F F00E : lea $ff00e.l, A1 // sound latch address
A72C | 3200 : move.w D0, D1
A72E | 3029 FFF2 : move.w (-$e,A1), D0 // read input ($ff000)
A732 | B240 : cmp.w D0, D1
A734 | 67F6 : beq $a72c
A736 | 0C40 FFFB : cmpi.w #-$5, D0
A73A | 6602 : bne $a73e
A73C | 5310 : subq.b #1, (A0) // decrease code -01
A73E | 0C40 FFF7 : cmpi.w #-$9, D0
A742 | 6602 : bne $a746
A744 | 5210 : addq.b #1, (A0) // increase code +01
A746 | 0C40 FFFD : cmpi.w #-$3, D0
A74A | 6604 : bne $a750
A74C | 0410 0010 : subi.b #$10, (A0) // decrease code -10
A750 | 0C40 FFFE : cmpi.w #-$2, D0
A754 | 6604 : bne $a75a
A756 | 0610 0010 : addi.b #$10, (A0) // increase code +10
A75A | 0C40 FFEF : cmpi.w #-$11, D0
A75E | 6602 : bne $a762
A760 | 1290 : move.b (A0), (A1) // play sound
A762 | 0C40 FBFF : cmpi.w #-$401, D0
A766 | 6604 : bne $a76c
A768 | 12BC 0001 : move.b #$1, (A1) // stop sound
A76C | 60BE : bra $a72c
-->
</script>
<script state="run">
<output format="----- turbo force sound test mode -----" line="10" align="center" />
<output format="left : decrease code -01" line="11" align="center" />
<output format="right : increase code +01" line="12" align="center" />
<output format="down : decrease code -10" line="13" align="center" />
<output format="up : increase code +10" line="14" align="center" />
<output format="button 1 : play sound" line="15" align="center" />
<output format="start 1 : stop sound" line="16" align="center" />
<output format="----------------------------" line="17" align="center" />
<output format="<< sound code %2.2X >>" line="19" align="center" >
<argument>maincpu.pb@C0000</argument>
</output>
</script>
<script state="off">
<action>maincpu.md@0AC0 = 00066004 </action>
<action>maincpu.mq@A720 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A728 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A730 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A738 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A740 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A748 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A750 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A758 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A760 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@A768 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
</mamecheat>