this is diehard arcade cheats in pugsy cheats infinite health is not correct. when enemy hit the player player is died but in this cheat your energy is full two bars . tessted on various mame versions . hear are the cheats
<mamecheat version="1">
<cheat desc="Infinite Credits">
<script state="run">
<action>maincpu.pb@0183D05=1F</action>
</script>
</cheat>
<cheat desc="Infinite Energy PL1">
<script state="run">
<action>maincpu.pb@602EBF0=E272</action>
</script>
</cheat>
<cheat desc="Infinite Ammo">
<script state="on">
<action>temp0 =maincpu.pw@60407AC</action>
</script>
<script state="run">
<action>maincpu.pw@60407AC=E31F</action> <!-- ROM/Program Code -->
</script>
<script state="off">
<action>maincpu.pw@60407AC=temp0 </action>
</script>
</cheat>
</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->