Author Topic: CPS-III driver preview  (Read 112320 times)

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #45 on: January 02, 2008, 04:15:31 AM »
That's just underclocking the cpu.  Not correct at all. :S  What it means is that the sh2 core isn't running as many cycles per second as it is suppose to.  The reason it doesn't seem to affect gameplay is that the games don't take advantage of the cpu much.

Also, the SH2 core of MAME is very slowww (taking up most of the cpu time).  That's why I suggested using that ASM SH2 core.

I understand, but without underclocking is going a bit faster than before too, I think that when OopsWare implements the speedup from MAME cps3.c it will get better ^^

SeeYaa!
 :biggrin:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS-III driver preview
« Reply #46 on: January 02, 2008, 06:25:49 AM »
It certainly does give quite a speedup. ^^

*edit*
please note that I'm talking about adding the speedup from MAME's cps3.c


Offline KOF2112

  • Expert
  • *****
  • Posts: 187
  • Karma: +14/-4
Re: CPS-III driver preview
« Reply #47 on: January 02, 2008, 07:01:20 AM »
I edit the Wrong :confused:

Quote
Making normal build...

Generating depend file for src/burner/win32/about.cpp...
Generating depend file for src/burner/win32/resource.rc...
Compiling src/burner/win32/about.cpp...
Compiling resource file resource.rc...
Compiling src/burn/cps3/mksh2.cpp...
src/burn/cps3/mksh2.cpp:1672: error: ISO C++ forbids declaration of `main' with

   no type
src/burn/cps3/mksh2.cpp: In function `void OpCMPSTR(short unsigned int)':
src/burn/cps3/mksh2.cpp:354: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpXTRCT(short unsigned int)':
src/burn/cps3/mksh2.cpp:371: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpDMULU(short unsigned int)':
src/burn/cps3/mksh2.cpp:508: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpSUBC(short unsigned int)':
src/burn/cps3/mksh2.cpp:559: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpSUBV(short unsigned int)':
src/burn/cps3/mksh2.cpp:577: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpDMULS(short unsigned int)':
src/burn/cps3/mksh2.cpp:615: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpADDC(short unsigned int)':
src/burn/cps3/mksh2.cpp:667: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpADDV(short unsigned int)':
src/burn/cps3/mksh2.cpp:686: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpMAC_W(short unsigned int)':
src/burn/cps3/mksh2.cpp:805: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpDT(short unsigned int)':
src/burn/cps3/mksh2.cpp:859: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpTAS(short unsigned int)':
src/burn/cps3/mksh2.cpp:943: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpMOVLL4(short unsigned int)':
src/burn/cps3/mksh2.cpp:1051: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpBRA(short unsigned int)':
src/burn/cps3/mksh2.cpp:1242: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpBSR(short unsigned int)':
src/burn/cps3/mksh2.cpp:1257: warning: unused parameter `short unsigned int n'
src/burn/cps3/mksh2.cpp: In function `void OpTRAPA(short unsigned int)':
src/burn/cps3/mksh2.cpp:1285: warning: unused parameter `short unsigned int n'
mingw32-make[1]: *** [mksh2.o] Error 1
mingw32-make: *** [mingw] Error 2
_
FBA Compilation using MinGW v3.1.0 Done.
(Using Windows Vista Ultimate Environment)
请按任意键继续. . .

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS-III driver preview
« Reply #48 on: January 02, 2008, 08:32:05 AM »
You don't want to compile mksh2.cpp into fba like that.
Open a command prompt there and type:
gcc mksh2.cpp -o mksh2.exe
now run that mksh2 program.  It will output a big-ass file
you don't need to add mksh2.cpp or the ouputted file to fba's makefile.

next, open sh2.cpp and find this
#define USE_JUMPTABLE      0 << change to a 1


Offline KOF2112

  • Expert
  • *****
  • Posts: 187
  • Karma: +14/-4
Re: CPS-III driver preview
« Reply #49 on: January 02, 2008, 09:20:35 AM »
You don't want to compile mksh2.cpp into fba like that.
Open a command prompt there and type:
gcc mksh2.cpp -o mksh2.exe
now run that mksh2 program.  It will output a big-ass file
you don't need to add mksh2.cpp or the ouputted file to fba's makefile.

next, open sh2.cpp and find this
#define USE_JUMPTABLE      0 << change to a 1

 :biggrin:
ok Thanks iq_132  Help

Offline OopsWare

  • Expert
  • *****
  • Posts: 38
  • Karma: +31/-0
Re: CPS-III driver preview
« Reply #50 on: January 03, 2008, 01:10:53 AM »
some fix:
  1. sh-2 core add jumptable mode , default set to off .
  2. add speed-up hack code
  3. add sound
  4. fix region to a DIP switch
  5. some other small fix

when i add the region DIPs some ROM info been changed, and lazy to fix it,
hope CaptainCPS-X can fix that. since use the fastboot mode, i wan't emulate
the cd-rom . because :

Quote
- 8th July 2007: ElSemi - CPS3 Emulator v1.0: This is the final version of the CPS3 emulator. It adds transparency effects (not actual transparency, but well it looks like that Smiley ), although it's not fully understood yet. Fixed palette transformation for flashes, and fadein/outs, now blacks properly fade to white. Fixed crashes in some zoomin ending sequences in SF3 games. Fixed a 1 pixel offset in the framebuffer that was causing a 1 pixel column problem in the left side of the screen sometimes. Added support for Nebula external video plugins (there is some source code and the interface documents in the plugins folder). Added CHD (MAME's compressed Hard Disks CD Images) support. Just put the .chd files in the CHD folder in the main directory (sorry, no path selection for it). And the bios (or the full roms zip) romsets in the ROMS directory. When loading a CHD romset, the emulator will run the entire startup sequence so it will take a while to boot (early games just have a black screen) while the bios waits for the cd to spin up. You don't need to go through the flashrom rewritting sequence, although you can see how it looks (just for fun, as it doesn't actually write anything) by going to Test menu and selecting "Game Rewrite". Using CHDs doesn't have an actual benefit (except for seeing the exact startup sequence of the game machine) apart from being able to run Warzard in any region because Warzard always checks the cd ingame unless it's set to Asia, so by having the real CD emulation through CHD, you can run it in any region).



Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS-III driver preview
« Reply #51 on: January 03, 2008, 01:23:37 AM »
Amazing work Oopsware.  Just amazing.  Thank you. :)


Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: CPS-III driver preview
« Reply #52 on: January 03, 2008, 01:31:29 AM »
Fantastic OopsWare! :smilie:

Thanks!  :cool:

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #53 on: January 03, 2008, 01:32:25 AM »
Excellent job! You're pretty good!  :wink:, gonna try it right now! ^^

I will try to check the regions stuff =)

SeeYaa!
 :biggrin:

Offline GLiTcH

  • New Member
  • *
  • Posts: 5
  • Karma: +0/-0
Re: CPS-III driver preview
« Reply #54 on: January 03, 2008, 01:42:29 AM »
fantastic work everyone .. i don't know anything about compiling fba ... but faster emulation for cps3 with sound.. i quit
cant wait for the next fba e version cap

Offline KOF2112

  • Expert
  • *****
  • Posts: 187
  • Karma: +14/-4
Re: CPS-III driver preview
« Reply #55 on: January 03, 2008, 02:59:13 AM »
 :eek:

Thanks OopsWare

Offline nganiere

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-4
Re: CPS-III driver preview
« Reply #56 on: January 03, 2008, 05:23:18 AM »
Here is the driver with them MAME supported dumps......all NO CD's are fully working....the drivers without the nocd crash with a guru meditation error....can someone fix it so it shows the cd loading screen like previously, and can someone add the dips for the regions......any help would be greatly appreciated, thanks in advance....

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #57 on: January 03, 2008, 05:36:02 AM »
Here is the driver with them MAME supported dumps......all NO CD's are fully working....the drivers without the nocd crash with a guru meditation error....can someone fix it so it shows the cd loading screen like previously, and can someone add the dips for the regions......any help would be greatly appreciated, thanks in advance....

Well, I help because I like to help when I can, but if you think you can abuse from the generosity of this forums you're wrong, sorry to be like this but please if you want something just wait until is released (and stop spamming), and if is not like you wanted when released then I'm sorry but this are not driver request forums is a emulation community. Any additional fix / feature not released by someone CAN'T be requested like it is a 'duty' or 'mandatory', no one have a gun on his head to write drivers.

This is a warning Nganiere. If you keep this attitude I will have to ban you.

@ General Users:  Sorry to deform this topic with this post (this warning message will be removed in 2 days).

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #58 on: January 03, 2008, 05:43:15 AM »

when i add the region DIPs some ROM info been changed, and lazy to fix it,
hope CaptainCPS-X can fix that. since use the fastboot mode, i wan't emulate
the cd-rom . because :


I did fix the DIPs problems for 'Red Earth (NOCD)' [ redeartn ] now you can select regions and play the game fine  :wink: , I will make the needed update to the romset asap, right now I need to sleep ^^U.

SeeYaa!
 :biggrin:

[attachment deleted by admin]

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: CPS-III driver preview
« Reply #59 on: January 03, 2008, 08:34:12 AM »
Amazing :eek:...Thanks to all for this awesome work on driver CPS3 :biggrin:

@ Nganiere : please stop spamming...It's very annoying :p