NEOCD/SDL DC V7
-
- DCEmu Nutter
- Posts: 930
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Thu May 16, 2002 5:32 am
- Location: New Zealand
- Has thanked: 0
- Been thanked: 0
Yeah, I really notice all the small touches the programmers have put in these games... they're so complex.. no wonder the roms are so large. Yes, the graphic errors are very wierd, and the shadows and stuff I think depend on what frame you start the game on... for example, somtimes the character on the left has no shadow, and sometimes the one on the right has none.
Now, I'm off to play Savage Reign...
Now, I'm off to play Savage Reign...
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
looks like only way is this project for me to play them. just dont like emulation on a pc does feel as good.
Means i have to get this perfect even more no choice!
BTW I get NO CDDA on rally chase on the pc/dc version of the emulator only sfx on the pc build.
So the CDDA error is not just on the dc version.
Means i have to get this perfect even more no choice!
BTW I get NO CDDA on rally chase on the pc/dc version of the emulator only sfx on the pc build.
So the CDDA error is not just on the dc version.
Dreamcast forever!!!
- Quzar
- Dream Coder
- Posts: 7497
- Joined: Wed Jul 31, 2002 12:14 am
- Location: Miami, FL
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
Trust me, the code i put in NeoCD is not automatic frameskipping unless i do not understand the term. There is no real time changed value in the calculation of whether a frame should be skipped or not. if over 4*(500/33) time has elapsed since the last frame was rendered, then the next one is skipped. All my attempts at having that value be based on the amount of time since the last frame did not work (i think i was submitting them to be in versions 3/4).Ian Micheal wrote:One i gave you is slighty changed. Quzar beleives his code is not i beleived it was. So there's a it's auto it's not frameskip war.BlackAura wrote:Are you sure it's not real auto frameskip. If it's the same code that you've got in that copy of the Genesis Plus source code, it is auto frameskip. The one I use in Genesis Plus is slightly different (it uses milliseconds instead of seconds, and is implemented completely differently) but it should do the exact same thing. The only difference is that mine doesn't skip more than 10 frames, and yours doesn't skip more than 4 or 5.Ian Micheal wrote:Frameskip is pesudo auto. pleanty of better games to play. and with no error stick to those.
So pesudo was the midle ground. with the heavy underclock setting frameskip makes not that much change any way but helps to take away a few cycles leting every thing run pesudo fullspeed.
We have no SFX yet i think enjoying it for a while was needed V7 lets the user enjoy it now. While i try to find real speed.
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
-
- DCEmu Nutter
- Posts: 930
- Joined: Thu May 16, 2002 5:32 am
- Location: New Zealand
- Has thanked: 0
- Been thanked: 0
Haha, yeah, your a workaholic alright Ian my friend. It wouldn't be what it is without your and the teams dedication.
One thing though, if its not too much hassle, could you just try locking the frameskip to an odd number and see if it solves the flashing problem? lol... I just wanna know through fact rather than assumption. But your the coder, so your assumption is most probably right...
One thing though, if its not too much hassle, could you just try locking the frameskip to an odd number and see if it solves the flashing problem? lol... I just wanna know through fact rather than assumption. But your the coder, so your assumption is most probably right...
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
- Fosters
- DCEmu Respected
- Posts: 141
- Joined: Fri Mar 19, 2004 6:28 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
I dont know if the quzar bits are on or not, but you ARE forcibly skipping every other frame still, which is why things that flicker may not be displayed.
In fact im not sure the timings on quzars bit were adjusted to take into account the running two frames each time, Id be very suspicious at least that this isnt working as intended.
Underclocking may help on some games, but will make games which struggle to reach full speed on the NeoCD (ie the metal slug games) worse as insufficient processing will be done each frame, it could even break them.
Fosters
In fact im not sure the timings on quzars bit were adjusted to take into account the running two frames each time, Id be very suspicious at least that this isnt working as intended.
Underclocking may help on some games, but will make games which struggle to reach full speed on the NeoCD (ie the metal slug games) worse as insufficient processing will be done each frame, it could even break them.
Fosters
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
CPU does not run at fullspeed Leaving it at the correct speed does not fix the slowdown but it makes it worst. underclocking lets every thing speed up and not waste the cycles trying to emulate the cpu at 12.5 mhz which it can not do at all and render video.
Maybreak games but the smooth-ness and speed is well worth that chance.
PS i can send you a build with this removed it suffers badly from slow down and is half the speed of the curret release.
Maybreak games but the smooth-ness and speed is well worth that chance.
PS i can send you a build with this removed it suffers badly from slow down and is half the speed of the curret release.
Last edited by Ian Micheal on Thu May 20, 2004 12:36 pm, edited 1 time in total.
Dreamcast forever!!!
- Fosters
- DCEmu Respected
- Posts: 141
- Joined: Fri Mar 19, 2004 6:28 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
most Neogeo games draw a frame and sit for a while idleing the cpu until the vblank irq arrives. underclocking means you burn less idle cycles between finishing processing frame and vblank. As you point out saving on these wasted cycles is a great way to gain extra speed in an emulator.
It just worries me on metal slug 1/2 that if they havent finished processing by the time vblank arrives when running for the correct amount of cycles, that when you run it for less, some vitally important piece of code doesnt get run and hence _possibly_ breaks something.
what would be really cool would be a way to detect when a game has done all its going to do for that frame and interrupt the cpu then.
Its a shame there isnt a SH4 68000 emulator, as there are many systems that could benefit from one.
Fosters
It just worries me on metal slug 1/2 that if they havent finished processing by the time vblank arrives when running for the correct amount of cycles, that when you run it for less, some vitally important piece of code doesnt get run and hence _possibly_ breaks something.
what would be really cool would be a way to detect when a game has done all its going to do for that frame and interrupt the cpu then.
Its a shame there isnt a SH4 68000 emulator, as there are many systems that could benefit from one.
Fosters
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
Yes Agreed. Both games have been near completed. I think the underclocking brings the Gun Turrent bug. Well im here for the long run i will get this fullspeed proper fullspeed even if it killsme.
The Dos version runs fullspeed on a 200mhz cpu p1 and with sfx and cdda. I Tested it tonight.
Main changed are both cpus are X86 asm cpu cores. And video is allegro which is slower then SDL on tests ive done on the same pc.
Speed loss is due to going back to c based cores. We need to get the main cpu using less cycles or fullspeed is not going to happen.
The Dos version runs fullspeed on a 200mhz cpu p1 and with sfx and cdda. I Tested it tonight.
Main changed are both cpus are X86 asm cpu cores. And video is allegro which is slower then SDL on tests ive done on the same pc.
Speed loss is due to going back to c based cores. We need to get the main cpu using less cycles or fullspeed is not going to happen.
Dreamcast forever!!!
-
- Soul Sold for DCEmu
- Posts: 4865
- Joined: Fri Jul 11, 2003 9:56 pm
- Has thanked: 2 times
- Been thanked: 4 times
- Quzar
- Dream Coder
- Posts: 7497
- Joined: Wed Jul 31, 2002 12:14 am
- Location: Miami, FL
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
Yea, even switching the frameskip to odd would do nothing if the underclocking was cutting every other frame. I think if you set one to 175000 then it would probably work the same as with 2 timeslices but without the flicker
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
- Quzar
- Dream Coder
- Posts: 7497
- Joined: Wed Jul 31, 2002 12:14 am
- Location: Miami, FL
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
kindah
basically you are telling the emulated CPU to run at a speed lower than its true speed. The doubling i am talking about is that the 'pseudo frameskip' of ians actually just tells the CPU to refresh 2 times each time he has the video render. So basically it shows half of all frames before frameskipping takes effect. It performs almost identically (to my eyes =\) without that though.
basically you are telling the emulated CPU to run at a speed lower than its true speed. The doubling i am talking about is that the 'pseudo frameskip' of ians actually just tells the CPU to refresh 2 times each time he has the video render. So basically it shows half of all frames before frameskipping takes effect. It performs almost identically (to my eyes =\) without that though.
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man