ASTEROIDS - slow down cheat needed

This FORUM is ONLY for posting requests for M.A.M.E. arcade cheats. The actual cheats should be posted in the M.A.M.E. "Arcade" Cheats forum. For cheat requests a 'please' would do no harm...
Post Reply
OneSwitch
Posts: 3
Joined: Mon Jul 18, 2005 10:49 pm
Location: UK
Contact:

ASTEROIDS - slow down cheat needed

Post by OneSwitch »

Hi,

Can anyone please help me in Asteroids. I want to slow the game down by overclocking the MAME CPU. However, when you do this, the game sets a trip resetting the game.

This cheat would be of benefit to disabled gamers with slower reactions, and would enable me to show Asteroids at this years CGE-UK show.

Thanks if you can help,

Barrie Ellis
www.OneSwitch.org.uk
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Post by Pugsy »

Try this, it should stop the game hanging/resetting if you overclock the CPU...it was quickly knocked up so I've not really tested it to any depth.

Code: Select all

asteroid:0:7B82:00:100:Stop Overclocking Reset:ROM Hack
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
OneSwitch
Posts: 3
Joined: Mon Jul 18, 2005 10:49 pm
Location: UK
Contact:

Asteroids slow down cheat works - lovely

Post by OneSwitch »

Thanks Pugsy! That seems to work an absolute treat. I'll be using this at CGE-UK now to show how MAME can make life easier for disabled gamers.

Now - could anyone do the same thing for Space Invaders? This game also resets when you slow it down?


Thanks,

Barrie
www.OneSwitch.org.uk
OneSwitch.org.uk
Posts: 4
Joined: Sat Sep 13, 2014 8:55 pm

Re: ASTEROIDS - slow down cheat needed

Post by OneSwitch.org.uk »

Could anyone help me please for the following Asteroids cheats....

1. Slow down cheat. This was solved for the old cheats system, but no longer works. When you underclock the CPU the game seizes up.
2. Hyperspace never causes a loss of ship on re-entry.
3. Auto-fire mode.
4. Latch right on in play mode.

It's for an accessibility fix, so a player can play the game using a single button (hyperspace) to play. Gives a new way for anyone to play too, but very cool for some disabled players.

Fingers crossed someone can help.

Barrie
www.OneSwitch.org.uk
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: ASTEROIDS - slow down cheat needed

Post by Pugsy »

OneSwitch.org.uk wrote:Could anyone help me please for the following Asteroids cheats....

1. Slow down cheat. This was solved for the old cheats system, but no longer works. When you underclock the CPU the game seizes up.
2. Hyperspace never causes a loss of ship on re-entry.
3. Auto-fire mode.
4. Latch right on in play mode.
1. I've converted the earlier slow down cheat - hopefully the rom set is the same as I made it for before?
2. That cheat was already in the Invincibility cheat - isolated it out
3. Made a simple auto-fire ROM cheat based on another cheat
4. Made

add to asteroid.xml:-

Code: Select all

  <cheat desc="Safe Hyperspace Re-Entry">
    <script state="on">
      <action>temp0 =maincpu.mb@7055</action>
    </script>
    <script state="run">
      <action>maincpu.mb@7055=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@7055=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Stop Overclocking Reset">
    <script state="on">
      <action>temp0 =maincpu.mb@7B82</action>
    </script>
    <script state="run">
      <action>maincpu.mb@7B82=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@7B82=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Select Auto Fire Speed">
    <parameter>
      <item value="0x0F">Slow</item>
      <item value="0x07">Medium</item>
      <item value="0x03">Fast</item>
      <item value="0x00">Turbo</item>
    </parameter>
    <script state="run">
      <action>maincpu.mb@6CE3=18</action>	
      <action condition="(maincpu.pb@2FA==00) AND ((frame BAND param)==00)">maincpu.mb@6CE3=00</action>
    </script>
    <script state="run">
      <action>maincpu.mb@6CE3=18</action>	
    </script>	
  </cheat>

  <cheat desc="Auto Rotate Right">
    <script state="on">
      <action>temp0 =maincpu.mb@7093</action>
    </script>
    <script state="run">
      <action>maincpu.mb@7093=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@7093=temp0 </action>
    </script>
  </cheat>

or all the above as a single cheat:-

Code: Select all

  <cheat desc="Single Button Hyperspace Mode"> <comment>Allows disabled players to play the game with just the hyperspace button, right rotate is automatic as is firing - just select the firing speed</comment>
    <parameter>
      <item value="0x0F">Autofire Speed = Slow</item>
      <item value="0x07">Autofire Speed = Medium</item>
      <item value="0x03">Autofire Speed = Fast</item>
      <item value="0x00">Autofire Speed = Turbo</item>
    </parameter>  
    <script state="on">
      <action>temp0 =maincpu.mb@7055, temp1 =maincpu.mb@7B82, temp2 =maincpu.mb@7093</action>	  
    </script>
    <script state="run">
      <action>maincpu.mb@7055=00, maincpu.mb@7B82=00, maincpu.mb@6CE3=18, maincpu.mb@7093=00</action>
      <action condition="(maincpu.pb@2FA==00) AND ((frame BAND param)==00)">maincpu.mb@6CE3=00</action> 
    </script>
    <script state="off">
      <action>maincpu.mb@7055=temp0, maincpu.mb@7B82=temp1, maincpu.mb@6CE3=18, maincpu.mb@7093=temp2 </action>	  
    </script>
  </cheat>
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
OneSwitch.org.uk
Posts: 4
Joined: Sat Sep 13, 2014 8:55 pm

Re: ASTEROIDS - slow down cheat needed

Post by OneSwitch.org.uk »

Huge belated thanks for this. Works a treat. I got locked out of my account, and it's taken me this long to pull my finger out and get back in.

I'd love to replicate this for the old .dat cheats so I can get this up and running on a Raspberry Pi (RetroPie lr-mame2003). I don't suppose you have the old .dat code method of doing this too as individual options?

1. Slow down cheat (prevents the game from sizing up when you underclock the CPU).
2. Hyperspace never causes a loss of ship on re-entry.
3. Auto-fire mode.
4. Latch right on in play mode.

Many thanks again for the fix. I've used it at shows, and have shared as a method in this extreme niche area of assistive technology.

Barrie
OneSwitch.org.uk
Posts: 4
Joined: Sat Sep 13, 2014 8:55 pm

Re: ASTEROIDS - slow down cheat needed

Post by OneSwitch.org.uk »

Huge (very belated) thanks for this. It worked perfectly.

If there's any chance of getting this working on the old cheats system (for a Raspberry Pi set up I use and demo from time to time) - that would be hugely appreciated too.
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: ASTEROIDS - slow down cheat needed

Post by Pugsy »

Three of them are quick conversions, but the autofire cheat is not a simple conversion which I haven't got time to convert properly - so I've defaulted it to turbo speed.

Code: Select all

:asteroid:20800000:7055:00000000:FFFFFFFF:Safe Hyperspace Re-Entry
:asteroid:20800000:7B82:00000000:FFFFFFFF:Stop Overclocking Reset
:asteroid:20800000:7093:00000000:FFFFFFFF:Auto Rotate Right
:asteroid:20800000:6CE3:00000000:FFFFFFFF:Turbo Autofire
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
OneSwitch.org.uk
Posts: 4
Joined: Sat Sep 13, 2014 8:55 pm

Re: ASTEROIDS - slow down cheat needed

Post by OneSwitch.org.uk »

Pugsy, you're a genius. Works great, thank you.
Post Reply