[megadriv/twinhawk]+ Twin Hawk/Daisenpuu

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: 1119
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 8 times

[megadriv/twinhawk]+ Twin Hawk/Daisenpuu

Post by jman »

megadriv/twinhawk.xml

Code: Select all

<!-- Twin Hawk (Europe) ~ Daisenpuu (Japan) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>mdslot:cart:rom.mb@05D5 = 58</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mb@05D5 = 5A</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>mdslot:cart:rom.mb@3513 = 01</action>
            <action>mdslot:cart:rom.mb@351F = 01</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mb@3513 = 07</action>
            <action>mdslot:cart:rom.mb@351F = 1F</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter>
            <item value="0x0008">01 (slow)</item>
            <item value="0x0010">02       </item>
            <item value="0x0020">03       </item>
            <item value="0x0030">04       </item>
            <item value="0x0040">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>mdslot:cart:rom.mw@3444 = CD6C            </action>
            <action>mdslot:cart:rom.mq@01B0 = 3D7C000000104EB8</action>
            <action>mdslot:cart:rom.mq@01B8 = 269C4E7520202020</action>
            <!--
            01B0 | 3D7C xxxx 0010 : move.w  #$xx, ($10,A6)
            01B6 | 4EB8 269C      : jsr     $269c.w
            01BA | 4E75           : rts
            -->
        </script>
        <script state="change">
            <action>mdslot:cart:rom.mw@01B2 = param</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mw@3444 = F258            </action>
            <action>mdslot:cart:rom.mq@01B0 = 2020202020202020</action>
            <action>mdslot:cart:rom.mq@01B8 = 2020202020202020</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x0020">01 (slow)</item>
            <item value="0x0050">02       </item>
            <item value="0x0070">03       </item>
            <item value="0x0090">04       </item>
            <item value="0x00b0">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>mdslot:cart:rom.mw@3D36 = C48A            </action>
            <action>mdslot:cart:rom.mq@01C0 = 3D7C000000104EB8</action>
            <action>mdslot:cart:rom.mq@01C8 = 269C4E7520202020</action>
            <!--
            01C0 | 3D7C xxxx 0010 : move.w  #$xx, ($10,A6)
            01C6 | 4EB8 269C      : jsr     $269c.w
            01CA | 4E75           : rts
            -->
        </script>
        <script state="change">
            <action>mdslot:cart:rom.mw@01C2 = param</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mw@3D36 = E966            </action>
            <action>mdslot:cart:rom.mq@01C0 = 2020202020202020</action>
            <action>mdslot:cart:rom.mq@01C8 = 2020202020202020</action>
        </script>
    </cheat>

    <cheat desc="short hit mark">
        <script state="on">
            <action>mdslot:cart:rom.mb@3D5A = 60</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mb@3D5A = 67</action>
        </script>
    </cheat>

    <cheat desc="title">
        <comment>reset the game (F3) to change the title</comment>
        <parameter>
            <item value="0x103C0080">twin hawk</item>
            <item value="0x103C0000">daisenpuu</item>
        </parameter>
        <script state="change">
            <action>mdslot:cart:rom.md@0402 = param</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.md@0402 = C07C0080</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>mdslot:cart:rom.mw@02524 = 4E71            </action> <!-- accept sound code -->
            <action>mdslot:cart:rom.mq@00480 = 4EF900022780E758</action>
            <action>mdslot:cart:rom.mq@22780 = 43F8800070004EB8</action>
            <action>mdslot:cart:rom.mq@22788 = 1E9A180316298063</action>
            <action>mdslot:cart:rom.mq@22790 = B80367F00C030004</action>
            <action>mdslot:cart:rom.mq@22798 = 660253110C030008</action>
            <action>mdslot:cart:rom.mq@227A0 = 660252110C030002</action>
            <action>mdslot:cart:rom.mq@227A8 = 6604041100100C03</action>
            <action>mdslot:cart:rom.mq@227B0 = 0001660406110010</action>
            <action>mdslot:cart:rom.mq@227B8 = 0C03001066084240</action>
            <action>mdslot:cart:rom.mq@227C0 = 10114EB8251A0C03</action>
            <action>mdslot:cart:rom.mq@227C8 = 002066044EB8255E</action>
            <action>mdslot:cart:rom.mq@227D0 = 60B2FFFFFFFFFFFF</action>
            <!--
            22780 | 43F8 8000 : lea     $8000.w, A1     // sound code address ($ff8000)
            22784 | 7000      : moveq   #$0, D0         // wait interrupt
            22786 | 4EB8 1E9A : jsr     $1e9a.w
            2278A | 1803      : move.b  D3, D4
            2278C | 1629 8063 : move.b  (-$7f9d,A1), D3 // read input ($ff0063)
            22790 | B803      : cmp.b   D3, D4
            22792 | 67F0      : beq     $22784
            22794 | 0C03 0004 : cmpi.b  #$4, D3
            22798 | 6602      : bne     $2279c
            2279A | 5311      : subq.b  #1, (A1)        // decrease code -01
            2279C | 0C03 0008 : cmpi.b  #$8, D3
            227A0 | 6602      : bne     $227a4
            227A2 | 5211      : addq.b  #1, (A1)        // increase code +01
            227A4 | 0C03 0002 : cmpi.b  #$2, D3
            227A8 | 6604      : bne     $227ae
            227AA | 0411 0010 : subi.b  #$10, (A1)      // decrease code -10
            227AE | 0C03 0001 : cmpi.b  #$1, D3
            227B2 | 6604      : bne     $227b8
            227B4 | 0611 0010 : addi.b  #$10, (A1)      // increase code +10
            227B8 | 0C03 0010 : cmpi.b  #$10, D3
            227BC | 6608      : bne     $227c6
            227BE | 4240      : clr.w   D0              // play sound
            227C0 | 1011      : move.b  (A1), D0
            227C2 | 4EB8 251A : jsr     $251a.w
            227C6 | 0C03 0020 : cmpi.b  #$20, D3
            227CA | 6604      : bne     $227d0
            227CC | 4EB8 255E : jsr     $255e.w         // stop sound
            227D0 | 60B2      : bra     $22784
            -->
        </script>
        <script state="run">
            <output format="----- 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="button 2 : stop sound"             line="16" align="center" />
            <output format="----------------------------"      line="17" align="center" />
            <output format="&lt;&lt; sound code %02X &gt;&gt;" line="19" align="center"  >
                <argument>maincpu.pb@FF8000</argument>
            </output>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mw@02524 = 6636            </action>
            <action>mdslot:cart:rom.mq@00480 = 303900FF1614E758</action>
            <action>mdslot:cart:rom.mq@22780 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@22788 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@22790 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@22798 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@227A0 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@227A8 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@227B0 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@227B8 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@227C0 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@227C8 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@227D0 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

</mamecheat>
megadriv/twinhawkp.xml

Code: Select all

<!-- Daisenpuu (Japan, prototype 19900406) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>mdslot:cart:rom.mb@05D5 = 58</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mb@05D5 = 5A</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>mdslot:cart:rom.mb@34FD = 01</action>
            <action>mdslot:cart:rom.mb@3509 = 01</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mb@34FD = 07</action>
            <action>mdslot:cart:rom.mb@3509 = 1F</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter>
            <item value="0x0008">01 (slow)</item>
            <item value="0x0010">02       </item>
            <item value="0x0020">03       </item>
            <item value="0x0030">04       </item>
            <item value="0x0040">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>mdslot:cart:rom.mw@342E = CD82            </action>
            <action>mdslot:cart:rom.mq@01B0 = 3D7C000000104EB8</action>
            <action>mdslot:cart:rom.mq@01B8 = 26BA4E7520202020</action>
            <!--
            01B0 | 3D7C xxxx 0010 : move.w  #$xx, ($10,A6)
            01B6 | 4EB8 26BA      : jsr     $26ba.w
            01BA | 4E75           : rts
            -->
        </script>
        <script state="change">
            <action>mdslot:cart:rom.mw@01B2 = param</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mw@342E = F28C            </action>
            <action>mdslot:cart:rom.mq@01B0 = 2020202020202020</action>
            <action>mdslot:cart:rom.mq@01B8 = 2020202020202020</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x0020">01 (slow)</item>
            <item value="0x0050">02       </item>
            <item value="0x0070">03       </item>
            <item value="0x0090">04       </item>
            <item value="0x00b0">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>mdslot:cart:rom.mw@3D20 = C4A0            </action>
            <action>mdslot:cart:rom.mq@01C0 = 3D7C000000104EB8</action>
            <action>mdslot:cart:rom.mq@01C8 = 26BA4E7520202020</action>
            <!--
            01C0 | 3D7C xxxx 0010 : move.w  #$xx, ($10,A6)
            01C6 | 4EB8 26BA      : jsr     $26ba.w
            01CA | 4E75           : rts
            -->
        </script>
        <script state="change">
            <action>mdslot:cart:rom.mw@01C2 = param</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mw@3D20 = E99A            </action>
            <action>mdslot:cart:rom.mq@01C0 = 2020202020202020</action>
            <action>mdslot:cart:rom.mq@01C8 = 2020202020202020</action>
        </script>
    </cheat>

    <cheat desc="short hit mark">
        <script state="on">
            <action>mdslot:cart:rom.mb@3D44 = 60</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mb@3D44 = 67</action>
        </script>
    </cheat>

    <cheat desc="title">
        <comment>reset the game (F3) to change the title</comment>
        <parameter>
            <item value="0x103C0080">twin hawk</item>
            <item value="0x103C0000">daisenpuu</item>
        </parameter>
        <script state="change">
            <action>mdslot:cart:rom.md@0402 = param</action>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.md@0402 = C07C0080</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>mdslot:cart:rom.mw@02542 = 4E71            </action> <!-- accept sound code -->
            <action>mdslot:cart:rom.mq@00480 = 4EF900013C90E758</action>
            <action>mdslot:cart:rom.mq@13C90 = 43F8800070004EB8</action>
            <action>mdslot:cart:rom.mq@13C98 = 1EB8180316298063</action>
            <action>mdslot:cart:rom.mq@13CA0 = B80367F00C030004</action>
            <action>mdslot:cart:rom.mq@13CA8 = 660253110C030008</action>
            <action>mdslot:cart:rom.mq@13CB0 = 660252110C030002</action>
            <action>mdslot:cart:rom.mq@13CB8 = 6604041100100C03</action>
            <action>mdslot:cart:rom.mq@13CC0 = 0001660406110010</action>
            <action>mdslot:cart:rom.mq@13CC8 = 0C03001066084240</action>
            <action>mdslot:cart:rom.mq@13CD0 = 10114EB825380C03</action>
            <action>mdslot:cart:rom.mq@13CD8 = 002066044EB8257C</action>
            <action>mdslot:cart:rom.mq@13CE0 = 60B2FFFFFFFFFFFF</action>
            <!--
            13C90 | 43F8 8000 : lea     $8000.w, A1     // sound code address ($ff8000)
            13C94 | 7000      : moveq   #$0, D0         // wait interrupt
            13C96 | 4EB8 1EB8 : jsr     $1eb8.w
            13C9A | 1803      : move.b  D3, D4
            13C9C | 1629 8063 : move.b  (-$7f9d,A1), D3 // read input ($ff0063)
            13CA0 | B803      : cmp.b   D3, D4
            13CA2 | 67F0      : beq     $13c94
            13CA4 | 0C03 0004 : cmpi.b  #$4, D3
            13CA8 | 6602      : bne     $13cac
            13CAA | 5311      : subq.b  #1, (A1)        // decrease code -01
            13CAC | 0C03 0008 : cmpi.b  #$8, D3
            13CB0 | 6602      : bne     $13cb4
            13CB2 | 5211      : addq.b  #1, (A1)        // increase code +01
            13CB4 | 0C03 0002 : cmpi.b  #$2, D3
            13CB8 | 6604      : bne     $13cbe
            13CBA | 0411 0010 : subi.b  #$10, (A1)      // decrease code -10
            13CBE | 0C03 0001 : cmpi.b  #$1, D3
            13CC2 | 6604      : bne     $13cc8
            13CC4 | 0611 0010 : addi.b  #$10, (A1)      // increase code +10
            13CC8 | 0C03 0010 : cmpi.b  #$10, D3
            13CCC | 6608      : bne     $13cd6
            13CCE | 4240      : clr.w   D0              // play sound
            13CD0 | 1011      : move.b  (A1), D0
            13CD2 | 4EB8 2538 : jsr     $2538.w
            13CD6 | 0C03 0020 : cmpi.b  #$20, D3
            13CDA | 6604      : bne     $13ce0
            13CDC | 4EB8 257C : jsr     $257c.w         // stop sound
            13CE0 | 60B2      : bra     $13c94
            -->
        </script>
        <script state="run">
            <output format="----- 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="button 2 : stop sound"             line="16" align="center" />
            <output format="----------------------------"      line="17" align="center" />
            <output format="&lt;&lt; sound code %02X &gt;&gt;" line="19" align="center"  >
                <argument>maincpu.pb@FF8000</argument>
            </output>
        </script>
        <script state="off">
            <action>mdslot:cart:rom.mw@02542 = 6636            </action>
            <action>mdslot:cart:rom.mq@00480 = 303900FF1614E758</action>
            <action>mdslot:cart:rom.mq@13C90 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13C98 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CA0 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CA8 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CB0 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CB8 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CC0 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CC8 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CD0 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CD8 = FFFFFFFFFFFFFFFF</action>
            <action>mdslot:cart:rom.mq@13CE0 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

</mamecheat>
jman

my wip cheat database back-up (2024/12/01 ver.)
https://u3.getuploader.com/...../download/47
downloadpass : jman2020
Post Reply