Mr Driller
Moderator: Chad
So I scanned all the source code looking for all calls to time() - that's the function call which gets the current real time.
It's in quite a few source files, and only one of them (neogeo.c) has the fix for playback/record:
c:/Chris/programs/mame/src/drivers/ddenlovr.c
c:/Chris/programs/mame/src/drivers/namcos12.c
c:/Chris/programs/mame/src/drivers/othldrby.c
c:/Chris/programs/mame/src/drivers/pgm.c (twice)
c:/Chris/programs/mame/src/drivers/stv.c (twice)
c:/Chris/programs/mame/src/drivers/suprnova.c
c:/Chris/programs/mame/src/machine/midwayic.c
c:/Chris/programs/mame/src/machine/neogeo.c
c:/Chris/programs/mame/src/windows/config.c (maybe : srand(time(0)))
These may or may not be affecting the reliability of the recording and playback for any games using these source files.
Chris.
It's in quite a few source files, and only one of them (neogeo.c) has the fix for playback/record:
c:/Chris/programs/mame/src/drivers/ddenlovr.c
c:/Chris/programs/mame/src/drivers/namcos12.c
c:/Chris/programs/mame/src/drivers/othldrby.c
c:/Chris/programs/mame/src/drivers/pgm.c (twice)
c:/Chris/programs/mame/src/drivers/stv.c (twice)
c:/Chris/programs/mame/src/drivers/suprnova.c
c:/Chris/programs/mame/src/machine/midwayic.c
c:/Chris/programs/mame/src/machine/neogeo.c
c:/Chris/programs/mame/src/windows/config.c (maybe : srand(time(0)))
These may or may not be affecting the reliability of the recording and playback for any games using these source files.
Chris.
From src/drivers/suprnova.c
Code: Select all
static READ32_HANDLER( msm6242_r )
{
struct tm *tm;
time_t tms;
long value;
if(record != 0 || playback != 0)
return 0;
time(&tms);
tm = localtime(&tms);
- Barry Rodewald
MARP Assistant Web Maintainer
MARP Assistant Web Maintainer
I don't know what you want me to say but the only thing i know is that with my Athlon, i only have the correct speed if RDTSC is cored.Chad wrote:i think rtc involves a command line option (need to do a search to figure out what it is or wait for sawys to respond), and i think it does affect playbackability, but i did not use it, nor did i used the NON official 89 release to play it back, in windows xp with sound.
EDIT, i DID use the official release to play it back btw.
The other times, if i record a game, the recording speed is almost 99 or 100 % but in reality it may be under like with scramble spirits.
If you want i can post here two recordings of mr driller.
One with RDTSC and one without and you could see that speed without RDTSC is 100% for me with my Athlon 1Ghz but speed is not the same with RDTSC (this one is the real speed).
That's why i said that maybe i am not the only one with this problem. Maybe the best way is to ask the time of the playback to verify if it was recorded at the good speed ?
Sawys is Sébastien GIRAUD, admin of MAMESCORE, member of MARP, TWIN GALAXIES, RETRO UPRISING and ex-member of JVRM
No. Not possible.Chad wrote:wow you're really getting 100% with an athalon 1ghz and mrdriller?
What he's saying is that without RDTSC it reports 100%. (incorrectly)
With RDTSC it will report the lower, correct speed.
This problem was discovered with his scramble spirits recording. If it was ever determined exactly what caused this, it wasn't publicly explained (and perhaps should not be).
John Cunningham (JTC)
For those who actually want to play Mr Driller on a 1GHz system at about full speed, go download Zinc. (http://www.emuhype.com/)
- Barry Rodewald
MARP Assistant Web Maintainer
MARP Assistant Web Maintainer
Yeah, I meant it was impossible with MAME of course.mahlemiut wrote:For those who actually want to play Mr Driller on a 1GHz system at about full speed, go download Zinc. (http://www.emuhype.com/)
John Cunningham (JTC)
I played Mr. Driller for the first time last night and scored over 800,000 on the 1000m game, almost twice the high score. It gave me a 200k 'driller bonus' at the end for some reason, which I guess the current high score must have missed.
Perhaps the fact that it was only running at 30% speed helped?
Perhaps the fact that it was only running at 30% speed helped?