[pinbo] Pinbo

This forum is for posting M.A.M.E. Work In Progress "Arcade"cheats that are not quite ready for the prime time. If the cheats are buggy or the cheat descriptions are non-standard then please post them here. Help maybe given but there are no guarantees and they will only be added to the cheat file when the cheat file maintainer is happy with them.
Post Reply
jman
Posts: 843
Joined: Tue Dec 01, 2020 1:24 pm

[pinbo] Pinbo

Post by jman »

Code: Select all

<cheat desc="keep a ball">
    <script state="on">
        <action>maincpu.mq@756c = 129502a91095e7a9</action>
        <action>maincpu.mq@7574 = a26002e1d002839d</action>
        <!--
        756c | a9 e7    : lda #$e7
        756e | 95 10    : sta $10,x
        7570 | a9 02    : lda #$02
        7572 | 95 12    : sta $12,x
        7574 | 9d 83 02 : sta $0283,x
        7577 | d0 e1    : bne $755a
        -->
    </script>
    <script state="off">
        <action>maincpu.mq@756c = 10009d02009d00a9</action>
        <action>maincpu.mq@7574 = a26002839d02039d</action>
    </script>
</cheat>

<cheat desc="no hit - flipper">
    <script state="on">
        <action>maincpu.mb@8e74 = 60</action>
    </script>
    <script state="off">
        <action>maincpu.mb@8e74 = a9</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@b57e =         6eff404c</action>
        <action>maincpu.mq@bf40 = 8184808600a001a2</action>
        <action>maincpu.mq@bf48 = f4f081c5a81804ad</action>
        <action>maincpu.mq@bf50 = d001c9ca01d002c9</action>
        <action>maincpu.mq@bf58 = 4c8a04d020c9e801</action>
        <action>maincpu.mq@bf60 = 00a905d010c9ff68</action>
        <action>maincpu.mq@bf68 = bbbbff444c18008d</action>
        <!--
        ff40 | a2 01    : ldx #$01  // initialize sound value
        ff42 | a0 00    : ldy #$00  // initialize input value
        ff44 | 86 80    : stx $80
        ff46 | 84 81    : sty $81
        ff48 | ad 04 18 : lda $1804 // read input
        ff4b | a8       : tay
        ff4c | c5 81    : cmp $81
        ff4e | f0 f4    : beq $ff44
        ff50 | c9 02    : cmp #$02
        ff52 | d0 01    : bne $ff55
        ff54 | ca       : dex       // decrease code
        ff55 | c9 01    : cmp #$01
        ff57 | d0 01    : bne $ff5a
        ff59 | e8       : inx       // increase code
        ff5a | c9 20    : cmp #$20
        ff5c | d0 04    : bne $ff62
        ff5e | 8a       : txa       // play sound
        ff5f | 4c 68 ff : jmp $ff68
        ff62 | c9 10    : cmp #$10
        ff64 | d0 05    : bne $ff6b
        ff66 | a9 00    : lda #$00  // stop sound
        ff68 | 8d 00 18 : sta $1800 // send sound code
        ff6b | 4c 44 ff : jmp $ff44
        -->
    </script>
    <script state="run">
        <output format="----- pinbo sound test mode -----"  line="10" align="center" />
        <output format="left : decrease code"               line="11" align="center" />
        <output format="right : increase code"              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@0080</argument>
        </output>
    </script>
    <script state="off">
        <action>maincpu.md@b57e =         6e20ea58</action>
        <action>maincpu.mq@bf40 = bbbbbbbbbbbbbbbb</action>
        <action>maincpu.mq@bf48 = bbbbbbbbbbbbbbbb</action>
        <action>maincpu.mq@bf50 = bbbbbbbbbbbbbbbb</action>
        <action>maincpu.mq@bf58 = bbbbbbbbbbbbbbbb</action>
        <action>maincpu.mq@bf60 = bbbbbbbbbbbbbbbb</action>
        <action>maincpu.mq@bf68 = bbbbbbbbbbbbbbbb</action>
    </script>
</cheat>
"no hit - flipper" means "flipper doesn't be eaten by monster" but it requires more test.
Post Reply