View previous topic :: View next topic |
Author |
Message |
dmichel Admin
Joined: 04 Apr 2002 Posts: 1166 Location: France
|
Posted: Sat May 11, 2002 11:11 pm Post subject: Re: Oh... |
|
|
Jabberwok wrote: | I see your point... a new ME core definitely sounds sweet and kinda makes this whole tread useless then... Have any info on the ETA of this new core? or maybe this is a secret? |
Yes, this is *top* secret.
No infos yet, but don't expect it in the near future, I will have the time to release a few more betas before v1.0 is ready.
Quote: | im guessing that the 'infamous' screen stretch WILL be part of this new core hehehe.... |
We will have screen strectch before version 1.0. _________________ David Michel |
|
Back to top |
|
|
David Shadoff Regular
Joined: 10 May 2002 Posts: 83 Location: Toronto, Ontario, Canada
|
Posted: Sun May 12, 2002 8:01 pm Post subject: Re: "FM" speed tech question... |
|
|
ethylene wrote: |
Yeah, about the CD desynching. I had this, too, at one point, but don't anymore. I know that you are way more knowledgeable than most of us here, David, but still I'd like to suggest you try these settings:
60 Hz refresh rate
auto_frame_skip=y
vsync=y Does that help? |
Actually it makes the problem much worse. In this mode, my Athlon 1.33GHz causes too many VSYNC interrupts, so the PSG music sequencer advances at about double speed.
Also, I like to have my monitor refresh around 72Hz, and i like to use the windowed mode. David's suggestion of adjusting the internal timer is perfect, but I don't know how/what to adjust internally...
My suggestion was based on the following information:
(a) exactly 60Hz is actually wrong. NTSC is 59.97 Hz
(b) internal timers in the PC are not reliable to this level of accuracy
(c) at a high level, the programmer is able to monitor how quickly the sound is drained from the DirectSound buffer, and is also able to count how many FPS are actually displayed (sometimes a frame is delayed slightly, or the timer is inaccurate). Fine-tuning adjustments can be made 2-3 times per second, to ensure that sound and motion are synchronized.
That's really all I meant to say.
- Dave
Amendment...
Actually, with the new code for Win2000/XP, this should become simpler, as I expect that the CDROM sound is ripped from the disc, and played as 44,100 Hz sound samples through DirectSound - and since we all know that there are 75 frames of CDDA audio per second, and 59.97 VBLANK periods, that we can count "virtual seconds" within each subsystem over certain timing periods, and ensure that they are kept in balance.
On the other hand, maybe the video subsystem of the PCE makes some kind of adjustment to the "59.97" VBlanks per second, based on the "vsync width", "# lines before frame", "# lines in frame", etc. measurements as defined to the VDC chip.
So, maybe it isn't too easy - but if anybody knows these technical details, David Michel does. |
|
Back to top |
|
|
Jabberwok Elder
Joined: 24 Apr 2002 Posts: 532 Location: Quebec, Canada
|
Posted: Mon May 13, 2002 2:39 am Post subject: Omg... |
|
|
Quote: | We will have screen strectch before version 1.0. |
**Place drool here....**
The new 1.0 core and screen stretch will place ME far from reach from the other PCE emulators... oh ya. This may be premature, but I smell perfection down the road . |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|