Previous Thread
Next Thread
Print Thread
Adjusting speed on the fly? #114523
12/31/18 04:20 PM
12/31/18 04:20 PM
Joined: Feb 2014
Posts: 259
G
Golden Child Offline OP
Senior Member
Golden Child  Offline OP
Senior Member
G
Joined: Feb 2014
Posts: 259
I was trying to slow down a c64 game (Bounty Bob Strikes Back) to be a little more playable so I used a speed parameter of 0.80 with the command line parameter -speed 0.80.

Is there a way to change this on the fly while mame is running like with the Slider Controls?

Re: Adjusting speed on the fly? [Re: Golden Child] #114525
12/31/18 05:06 PM
12/31/18 05:06 PM
Joined: Mar 2001
Posts: 16,235
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,235
USA
I think that's one of the things that unlocks if you run with -cheat. You lose high score saving then though of course (not that I think we have any hiscore.dat entries for C64 games).

Re: Adjusting speed on the fly? [Re: R. Belmont] #114528
01/01/19 10:49 AM
01/01/19 10:49 AM
Joined: Feb 2014
Posts: 259
G
Golden Child Offline OP
Senior Member
Golden Child  Offline OP
Senior Member
G
Joined: Feb 2014
Posts: 259
My reflexes aren't as twitchy as they used to be. Or maybe I just like a little less manic gameplay these days. So a touch slower is a lot more forgiving for me. Some of these jumps feel like flappy bird to me where I just keep dying at the same spot.


Ok, so I launch with

./mame64 c64 -window -flop1 "~/Downloads/Bounty Bob Strikes Back 7HD.d64" -bios jiffydos -joy1 joy -joy2 "" -speed 0.80 -cheat

and with the cheats enabled I can see lots of Overclock CPU entries with u7 = main 6502, u19 = VIC-II, u1 = CIA 1, u2 = CIA 2

[Linked Image]

[Linked Image]

and with the -speed 0.80 parameter, mame will honor the speed setting (80% in the upper right speed display).

[Linked Image]

So how to change this overall speed on the fly? If I underclock the u7 things don't seem to load properly.

I wouldn't mind even typing in a lua command to the console to change the speed factor.

Re: Adjusting speed on the fly? [Re: Golden Child] #114530
01/01/19 12:02 PM
01/01/19 12:02 PM
Joined: Feb 2004
Posts: 2,051
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,051
Sydney, Australia
I don't think you can change it after starting.


Who's Online Now
4 registered members (rfka01, shattered, Duke, zillion), 143 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,666
Posts113,616
Members4,850
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.056s Queries: 14 (0.037s) Memory: 5.6056 MB (Peak: 5.7776 MB) Zlib enabled. Server Time: 2019-07-22 21:00:47 UTC