[bongo]+ Bongo

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

[bongo]+ Bongo

Post by jman »

bongo.xml

Code: Select all

<!-- Bongo (set 1) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@251D = C9</action> <!-- dinosaur -->
            <action>maincpu.mb@3BA8 = C9</action> <!-- objects -->
        </script>
        <script state="off">
            <action>maincpu.mb@251D = C8</action>
            <action>maincpu.mb@3BA8 = FD</action>
        </script>
    </cheat>

    <cheat desc="no fall down death">
        <script state="on">
            <action>maincpu.md@09E6 = A75FB0C3        </action>
            <action>maincpu.mq@5FB0 = 3A09F7C2A70988CD</action>
            <action>maincpu.mq@5FB8 = 3E09F1DAD0FE8143</action>
            <action>maincpu.mq@5FC0 = FFFFED18814332D0</action>
            <!--
            5FB0 | CD 88 09 : call $0988
            5FB3 | A7       : and  a
            5FB4 | C2 F7 09 : jp   nz,$09F7
            5FB7 | 3A 43 81 : ld   a,($8143)
            5FBA | FE D0    : cp   $D0
            5FBC | DA F1 09 : jp   c,$09F1
            5FBF | 3E D0    : ld   a,$D0
            5FC1 | 32 43 81 : ld   ($8143),a
            5FC4 | 18 ED    : jr   $5FB3
            -->
            <action>maincpu.mb@0A4A = 18</action>
        </script>
        <script state="off">
            <action>maincpu.md@09E6 = A70988CD        </action>
            <action>maincpu.mq@5FB0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@5FB8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@5FC0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mb@0A4A = 20              </action>
        </script>
    </cheat>

    <cheat desc="multiple jump">
        <script state="on">
            <!-- common -->
            <action>maincpu.mb@0697 = 00</action>
            <!-- left jump -->
            <action>maincpu.mb@07A9 = 00</action>
            <action>maincpu.mb@07AE = 00</action>
            <!-- right jump -->
            <action>maincpu.mb@07C9 = 00</action>
            <action>maincpu.mb@07CE = 00</action>
            <!-- vertical jump -->
            <action>maincpu.mb@08C9 = 00</action>
            <action>maincpu.mb@08CE = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@0697 = C0</action>
            <action>maincpu.mb@07A9 = C0</action>
            <action>maincpu.mb@07AE = C8</action>
            <action>maincpu.mb@07C9 = C0</action>
            <action>maincpu.mb@07CE = C8</action>
            <action>maincpu.mb@08C9 = C0</action>
            <action>maincpu.mb@08CE = C8</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <script state="on">
            <action>maincpu.mw@0584 = 4B70            </action>
            <action>maincpu.mq@4B70 = 003A80012113A0CD</action>
            <action>maincpu.mq@4B78 = 470707070721E6A8</action>
            <action>maincpu.mq@4B80 = 77BEB02CE6A0003A</action>
            <action>maincpu.mq@4B88 = 35012004FE2BE628</action>
            <action>maincpu.mq@4B90 = 2006FE34012008FE</action>
            <action>maincpu.mq@4B98 = 200AFE0618F03E04</action>
            <action>maincpu.mq@4BA0 = FE18187786103E06</action>
            <action>maincpu.mq@4BA8 = 188042327E062020</action>
            <action>maincpu.mq@4BB0 = 82C0210A2010FE0E</action>
            <action>maincpu.mq@4BB8 = 18FB102300361006</action>
            <action>maincpu.mq@4BC0 = FFFFFFFFFFFFFFAF</action>
            <!--
            4B70 | CD A0 13 : call $13A0     // wait v-blank
            4B73 | 21 01 80 : ld   hl,$8001  // temporary input address
            4B76 | 3A 00 A8 : ld   a,($A800) // read start and P2 button
            4B79 | E6 21    : and  $21
            4B7B | 07       : rlca
            4B7C | 07       : rlca
            4B7D | 07       : rlca
            4B7E | 07       : rlca
            4B7F | 47       : ld   b,a
            4B80 | 3A 00 A0 : ld   a,($A000) // read other inputs
            4B83 | E6 2C    : and  $2C
            4B85 | B0       : or   b
            4B86 | BE       : cp   (hl)
            4B87 | 77       : ld   (hl),a
            4B88 | 28 E6    : jr   z,$4B70
            4B8A | 2B       : dec  hl        // sound code address ($8000)
            4B8B | FE 04    : cp   $04
            4B8D | 20 01    : jr   nz,$4B90
            4B8F | 35       : dec  (hl)      // decrease code -01
            4B90 | FE 08    : cp   $08
            4B92 | 20 01    : jr   nz,$4B95
            4B94 | 34       : inc  (hl)      // increase code +01
            4B95 | FE 06    : cp   $06
            4B97 | 20 04    : jr   nz,$4B9D
            4B99 | 3E F0    : ld   a,$F0     // decrease code -10
            4B9B | 18 06    : jr   $4BA3
            4B9D | FE 0A    : cp   $0A
            4B9F | 20 06    : jr   nz,$4BA7
            4BA1 | 3E 10    : ld   a,$10     // increase code +10
            4BA3 | 86       : add  a,(hl)
            4BA4 | 77       : ld   (hl),a
            4BA5 | 18 18    : jr   $4BBF
            4BA7 | FE 20    : cp   $20
            4BA9 | 20 06    : jr   nz,$4BB1
            4BAB | 7E       : ld   a,(hl)    // play sound
            4BAC | 32 42 80 : ld   ($8042),a
            4BAF | 18 0E    : jr   $4BBF
            4BB1 | FE 10    : cp   $10
            4BB3 | 20 0A    : jr   nz,$4BBF
            4BB5 | 21 C0 82 : ld   hl,$82C0  // stop sound
            4BB8 | 06 10    : ld   b,$10
            4BBA | 36 00    : ld   (hl),$00
            4BBC | 23       : inc  hl
            4BBD | 10 FB    : djnz $4BBA
            4BBF | 18 AF    : jr   $4B70
            -->
        </script>
        <script state="run">
            <output format="----- bongo 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="P2 button 1 + left : decrease code -10"  line="13" align="center" />
            <output format="P2 button 1 + right : increase code +10" line="14" align="center" />
            <output format="P1 button 1 : play sound"                line="15" align="center" />
            <output format="P1 start : 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@8000</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@0584 = 3080            </action>
            <action>maincpu.mq@4B70 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B78 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B80 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B88 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B90 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B98 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BA0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BA8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BB0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BB8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BC0 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

</mamecheat>
bongoa.xml. This set was added in 0.265.

Code: Select all

<!-- Bongo (set 2) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@251D = C9</action> <!-- dinosaur -->
            <action>maincpu.mb@3BA8 = C9</action> <!-- objects -->
        </script>
        <script state="off">
            <action>maincpu.mb@251D = C8</action>
            <action>maincpu.mb@3BA8 = FD</action>
        </script>
    </cheat>

    <cheat desc="no fall down death">
        <script state="on">
            <action>maincpu.md@09E6 = A75FB0C3        </action>
            <action>maincpu.mq@5FB0 = 3A09F7C2A70988CD</action>
            <action>maincpu.mq@5FB8 = 3E09F1DAD0FE8143</action>
            <action>maincpu.mq@5FC0 = FFFFED18814332D0</action>
            <!--
            5FB0 | CD 88 09 : call $0988
            5FB3 | A7       : and  a
            5FB4 | C2 F7 09 : jp   nz,$09F7
            5FB7 | 3A 43 81 : ld   a,($8143)
            5FBA | FE D0    : cp   $D0
            5FBC | DA F1 09 : jp   c,$09F1
            5FBF | 3E D0    : ld   a,$D0
            5FC1 | 32 43 81 : ld   ($8143),a
            5FC4 | 18 ED    : jr   $5FB3
            -->
            <action>maincpu.mb@0A4A = 18</action>
        </script>
        <script state="off">
            <action>maincpu.md@09E6 = A70988CD        </action>
            <action>maincpu.mq@5FB0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@5FB8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@5FC0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mb@0A4A = 20              </action>
        </script>
    </cheat>

    <cheat desc="multiple jump">
        <script state="on">
            <!-- common -->
            <action>maincpu.mb@0697 = 00</action>
            <!-- left jump -->
            <action>maincpu.mb@07A9 = 00</action>
            <action>maincpu.mb@07AE = 00</action>
            <!-- right jump -->
            <action>maincpu.mb@07C9 = 00</action>
            <action>maincpu.mb@07CE = 00</action>
            <!-- vertical jump -->
            <action>maincpu.mb@08C9 = 00</action>
            <action>maincpu.mb@08CE = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@0697 = C0</action>
            <action>maincpu.mb@07A9 = C0</action>
            <action>maincpu.mb@07AE = C8</action>
            <action>maincpu.mb@07C9 = C0</action>
            <action>maincpu.mb@07CE = C8</action>
            <action>maincpu.mb@08C9 = C0</action>
            <action>maincpu.mb@08CE = C8</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <script state="on">
            <action>maincpu.mw@0584 = 4B70            </action>
            <action>maincpu.mq@4B70 = 003A80012113A0CD</action>
            <action>maincpu.mq@4B78 = 470707070721E6A8</action>
            <action>maincpu.mq@4B80 = 77BEB02CE6A0003A</action>
            <action>maincpu.mq@4B88 = 35012004FE2BE628</action>
            <action>maincpu.mq@4B90 = 2006FE34012008FE</action>
            <action>maincpu.mq@4B98 = 200AFE0618F03E04</action>
            <action>maincpu.mq@4BA0 = FE18187786103E06</action>
            <action>maincpu.mq@4BA8 = 188042327E062020</action>
            <action>maincpu.mq@4BB0 = 82C0210A2010FE0E</action>
            <action>maincpu.mq@4BB8 = 18FB102300361006</action>
            <action>maincpu.mq@4BC0 = FFFFFFFFFFFFFFAF</action>
            <!--
            4B70 | CD A0 13 : call $13A0     // wait v-blank
            4B73 | 21 01 80 : ld   hl,$8001  // temporary input address
            4B76 | 3A 00 A8 : ld   a,($A800) // read start and P2 button
            4B79 | E6 21    : and  $21
            4B7B | 07       : rlca
            4B7C | 07       : rlca
            4B7D | 07       : rlca
            4B7E | 07       : rlca
            4B7F | 47       : ld   b,a
            4B80 | 3A 00 A0 : ld   a,($A000) // read other inputs
            4B83 | E6 2C    : and  $2C
            4B85 | B0       : or   b
            4B86 | BE       : cp   (hl)
            4B87 | 77       : ld   (hl),a
            4B88 | 28 E6    : jr   z,$4B70
            4B8A | 2B       : dec  hl        // sound code address ($8000)
            4B8B | FE 04    : cp   $04
            4B8D | 20 01    : jr   nz,$4B90
            4B8F | 35       : dec  (hl)      // decrease code -01
            4B90 | FE 08    : cp   $08
            4B92 | 20 01    : jr   nz,$4B95
            4B94 | 34       : inc  (hl)      // increase code +01
            4B95 | FE 06    : cp   $06
            4B97 | 20 04    : jr   nz,$4B9D
            4B99 | 3E F0    : ld   a,$F0     // decrease code -10
            4B9B | 18 06    : jr   $4BA3
            4B9D | FE 0A    : cp   $0A
            4B9F | 20 06    : jr   nz,$4BA7
            4BA1 | 3E 10    : ld   a,$10     // increase code +10
            4BA3 | 86       : add  a,(hl)
            4BA4 | 77       : ld   (hl),a
            4BA5 | 18 18    : jr   $4BBF
            4BA7 | FE 20    : cp   $20
            4BA9 | 20 06    : jr   nz,$4BB1
            4BAB | 7E       : ld   a,(hl)    // play sound
            4BAC | 32 42 80 : ld   ($8042),a
            4BAF | 18 0E    : jr   $4BBF
            4BB1 | FE 10    : cp   $10
            4BB3 | 20 0A    : jr   nz,$4BBF
            4BB5 | 21 C0 82 : ld   hl,$82C0  // stop sound
            4BB8 | 06 10    : ld   b,$10
            4BBA | 36 00    : ld   (hl),$00
            4BBC | 23       : inc  hl
            4BBD | 10 FB    : djnz $4BBA
            4BBF | 18 AF    : jr   $4B70
            -->
        </script>
        <script state="run">
            <output format="----- bongo 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="P2 button 1 + left : decrease code -10"  line="13" align="center" />
            <output format="P2 button 1 + right : increase code +10" line="14" align="center" />
            <output format="P1 button 1 : play sound"                line="15" align="center" />
            <output format="P1 start : 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@8000</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@0584 = 3080            </action>
            <action>maincpu.mq@4B70 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B78 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B80 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B88 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B90 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4B98 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BA0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BA8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BB0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BB8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@4BC0 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

</mamecheat>
  • "no hit" : If dinosaur reaches to right edge, bad gfx will be displayed.
  • "no fall down death" : Sometimes you die when you fail to jump. The reason is unknown.
Post Reply