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.
jman
Posts: 850 Joined: Tue Dec 01, 2020 1:24 pm
Post
by jman » Mon Apr 03, 2023 1:23 pm
smiconk will be added on 0.254.
Code: Select all
<cheat desc="keep a ball (test)">
<comment>sometimes ball slips through block after you fail to receive</comment>
<script state="on">
<action>maincpu.md@0da4 = 3e1400c3</action>
<action>maincpu.mq@1400 = 41393208ee41393a</action>
<action>maincpu.mq@1408 = 0dadc3413c32ec3e</action>
<!--
1400 | 3a 39 41 : lda $4139
1403 | ee 08 : xri $08
1405 | 32 39 41 : sta $4139
1408 | 3e ec : mvi a,$ec
140a | 32 3c 41 : sta $413c
140d | c3 ad 0d : jmp $0dad
-->
</script>
<script state="off">
<action>maincpu.md@0da4 = 3e0e99cd</action>
<action>maincpu.mq@1400 = ffffffffffffffff</action>
<action>maincpu.mq@1408 = ffffffffffffffff</action>
</script>
</cheat>
Sometimes ball slips through block after you fail to receive. The reason is unclear.
jman
Posts: 850 Joined: Tue Dec 01, 2020 1:24 pm
Post
by jman » Tue Dec 26, 2023 10:58 am
Code: Select all
<!-- Space Micon Kit -->
<mamecheat version="1">
<cheat desc="keep a ball (test)">
<comment>sometimes ball slips through block after you fail to receive</comment>
<script state="on">
<action>maincpu.md@0DA4 = 3E1400C3 </action>
<action>maincpu.mq@1400 = 41393208EE41393A</action>
<action>maincpu.mq@1408 = 0DADC3413C32EC3E</action>
<!--
1400 | 3A 39 41 : lda $4139
1403 | EE 08 : xri $08
1405 | 32 39 41 : sta $4139
1408 | 3E EC : mvi a,$ec
140A | 32 3C 41 : sta $413c
140D | C3 AD 0D : jmp $0dad
-->
</script>
<script state="off">
<action>maincpu.md@0DA4 = 3E0E99CD </action>
<action>maincpu.mq@1400 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@1408 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
<cheat desc="ball speed">
<parameter>
<item value="0x01">01 (slow)</item>
<item value="0x02">02 </item>
<item value="0x04">03 </item>
<item value="0x06">04 </item>
<item value="0x08">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mw@0D30 = 1410 </action> <!-- x position -->
<action>maincpu.mw@0D37 = 1410 </action> <!-- y position -->
<action>maincpu.mq@1410 = 3EF8003E08FE0FE6</action>
<action>maincpu.mq@1418 = FFFFFFFFFFFFC900</action>
<!--
1410 | E6 0F : ani $0f
1412 | FE 08 : cpi $08
1414 | 3E xx : mvi a,$xx
1416 | F8 : rm
1417 | 3E xx : mvi a,$xx
1419 | C9 : ret
-->
</script>
<script state="change">
<action>maincpu.mb@1415 = param</action>
<action>maincpu.mb@1418 = -param</action>
</script>
<script state="off">
<action>maincpu.mw@0D30 = 0EBF </action>
<action>maincpu.mw@0D37 = 0EBF </action>
<action>maincpu.mq@1410 = FFFFFFFFFFFFFFFF</action>
<action>maincpu.mq@1418 = FFFFFFFFFFFFFFFF</action>
</script>
</cheat>
</mamecheat>
"ball speed" : Added new.