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

Offline KOF2112

  • Expert
  • *****
  • Posts: 187
  • Karma: +14/-4
CPS-III driver preview
« on: December 26, 2007, 11:27:38 AM »
 :biggrin:

Thanks to  OopsWare

http://www.ojko.com/phpbb/viewtopic.php?f=3&t=3147

just a preview , no sound , gfx no flip and zoom , and some slow ....
more work need to be done ...


Merry Christmas !!!

« Last Edit: December 26, 2007, 12:38:50 PM by KOF2112 »

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #1 on: December 26, 2007, 01:41:12 PM »
:biggrin:

Thanks to  OopsWare

http://www.ojko.com/phpbb/viewtopic.php?f=3&t=3147

just a preview , no sound , gfx no flip and zoom , and some slow ....
more work need to be done ...


Merry Christmas !!!



ThanX for the news KOF2112! ^^

SeeYaa!
 :biggrin:

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #2 on: December 26, 2007, 02:19:49 PM »
Here are some previews from the Oopsware CPS-3 driver in action! running on FBA finally!!







I hope this driver keep updating with fixes and the other missing stuff like sound ^^

It's amazing what Oopsware is doing for FBA  :smilie:

SeeYaa!
 :biggrin:
« Last Edit: February 01, 2010, 08:57:56 AM by CaptainCPS-X »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS-III driver preview
« Reply #3 on: December 26, 2007, 03:39:44 PM »
HOLY COW!!






*speechless*

*edit*
Wonderful, just wonderful.  Not only CPS-3, but a SH-2 core. ^^ This should help bring psykyo games to FBA as well. :)
« Last Edit: April 22, 2015, 01:29:24 PM by iq_132 »


Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #4 on: December 26, 2007, 04:51:11 PM »
HOLY COW!!






*speechless*

*edit*
Wonderful, just wonderful.  Not only CPS-3, but a SH-2 core. ^^ This should help bring psykyo games to FBA as well. :)


HAHAHA lol, I was having the same reaction here, but I controlled myself and I didn't write the words xD

SeeYaa!
 :biggrin:
« Last Edit: April 22, 2015, 01:29:38 PM by iq_132 »

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #5 on: December 28, 2007, 02:44:26 AM »
OopsWare's CPS-3 Driver Updated!  :biggrin: :biggrin: :biggrin:

OopsWare has done some excellent progress with the CPS-3 driver and fixed the GFXs (he mention that there are still some errors but they are in MAME too so no big worries about them),  and he added all CPS-3 remaining drivers. CHD ROMs are not working for now.

Quote from: OopsWare

updated !!! fix graphics , a bit of graphic errer still but in mema too.
all drivers in cps3 added , but not emulate it's cd-rom , all chs rom doesn't work .



Original post here:

http://www.ojko.com/phpbb/viewtopic.php?f=3&t=3147&p=19035#p19034

SeeYaa!
 :biggrin:

PS: More preview pics coming ^^,... I'm doing a FB Alpha Enhanced build with this update too so stay tuned!  :biggrin:

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #6 on: December 28, 2007, 03:08:22 AM »
Some previews for those who want to look at whats new ^^ (like me lol)








SeeYaa!
 :biggrin:
« Last Edit: February 01, 2010, 08:58:51 AM by CaptainCPS-X »

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #7 on: December 28, 2007, 04:47:07 AM »
I just have a curiosity question, ... how can ElSemi CPS3 emulator run Redeartn (NOCD Asia) without the "redearth_nocd.bios" ?

SeeYaa!
 :biggrin:

Offline JiMMy_PaGe

  • Expert
  • *****
  • Posts: 60
  • Karma: +2/-0
    • SNK-NeoFighters
Re: CPS-III driver preview
« Reply #8 on: December 28, 2007, 06:54:22 AM »
OMFG now I really have to update my fb evo with all of that stuffs, damn I was so lazy :P
Congratulations Oopsware, you did a wonderfull job \ o /

Offline OopsWare

  • Expert
  • *****
  • Posts: 38
  • Karma: +31/-0
Re: CPS-III driver preview
« Reply #9 on: December 28, 2007, 10:49:15 AM »
I just have a curiosity question, ... how can ElSemi CPS3 emulator run Redeartn (NOCD Asia) without the "redearth_nocd.bios" ?

SeeYaa!
 :biggrin:

i found this question too , change some code :
Code: [Select]

static int Cps3Reset()
{
// re-map cram_bank
cram_bank = 0;
Sh2MapMemory((unsigned char *)RamCRam, 0x04100000, 0x041fffff, SM_RAM);

#if 0
Sh2Reset( *(unsigned int *)(RomBios + 0), *(unsigned int *)(RomBios + 4) );
#else
// fast boot
Sh2Reset( *(unsigned int *)(RomGame_D + 0), *(unsigned int *)(RomGame_D + 4) );
Sh2SetVBR( 0x06000000);
#endif
 .....
and change a chd bios file to redearth_nocd.bios . we can got it run to it's intro ...


Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: CPS-III driver preview
« Reply #10 on: December 28, 2007, 11:18:20 AM »
Many thanks to OopsWare for the progress done on Driver CPS-3...Thanks also to CaptainCPS-X for his wonderfull work and build FBA Enhanced :eek:

Now i have a question concerning Redeartn (NOCD Asia). FBA request for this game the following roms

Quote
name redeartn
   cloneof redearth
   romof redearth
   description "Red Earth (961121, NO CD)"
   year 1996
   manufacturer "Capcom"
   rom ( name redearth_nocd.bios size 524288 crc 00000000 )
   rom ( name 10 size 8388608 crc 68188016 )
   rom ( name 30 size 8388608 crc 074cab4d )
   rom ( name 31 size 8388608 crc 14e2cad4 )
   rom ( name 40 size 8388608 crc 72d98890 )
   rom ( name 41 size 8388608 crc 88ccb33c )
   rom ( name 50 size 8388608 crc 2f5b44bd )

And Mame thoses ones :

Quote
game (
   name redeartn
   description "Red Earth (961121, NO CD)"
   year 1996
   manufacturer "Capcom"
   sourcefile cps3.c
   cloneof redearth
   romof redearth
   rom ( name redearth_nocd.bios size 524288 flags nodump )
   rom ( name 10 size 8388608 crc 68188016 sha1 93aaac08cb5566c33aabc16457085b0a36048019 )
   rom ( name 30 size 8388608 crc 074cab4d sha1 4cb6cc9cce3b1a932b07058a5d723b3effa23fcf )
   rom ( name 31 size 8388608 crc 14e2cad4 sha1 9958a4e315e4476e4791a6219b93495413c7b751 )
   rom ( name 40 size 8388608 crc 72d98890 sha1 f40926c52cb7a71b0ef0027a0ea38bbc7e8b31b0 )
   rom ( name 41 size 8388608 crc 88ccb33c sha1 1e7af35d186d0b4e45b6c27458ddb9cfddd7c9bc )
   rom ( name 50 size 4194304 crc 2f5b44bd sha1 7ffdbed5b6899b7e31414a0828e04543d07435e4 )
)

Is this only a problem of Typo in FBA datfile? Does the rom name 50 for redeartn in Mame is a bad dump?...Just curious to know :biggrin:

In any case, thanks to iq_132, Oopsware, CaptainCPS-X and all others for their work on this Great Emulator called FBA :smilie:


Offline OopsWare

  • Expert
  • *****
  • Posts: 38
  • Karma: +31/-0
Re: CPS-III driver preview
« Reply #11 on: December 28, 2007, 12:02:22 PM »
to JacKc: that's my fault, already modified .

back to ncd redearth
compare sfiii and sfiiin 's bios file , only two byte differents, at 0x01ffec8 and 0x01ffecf
0x01ffec8 is region code 1->japan 2->usa 3->europe
0x01ffecf  0->chd 1->ncd

so, check redearth's bios it content region code at 0x01ffed8 ,
but unlucky , 0x01ffedf is NOT a cd/ncd flag , where  :confused:

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #12 on: December 28, 2007, 12:56:10 PM »
to JacKc: that's my fault, already modified .

back to ncd redearth
compare sfiii and sfiiin 's bios file , only two byte differents, at 0x01ffec8 and 0x01ffecf
0x01ffec8 is region code 1->japan 2->usa 3->europe
0x01ffecf  0->chd 1->ncd

so, check redearth's bios it content region code at 0x01ffed8 ,
but unlucky , 0x01ffedf is NOT a cd/ncd flag , where  :confused:

I checked MAME cps3.c WIPs information at MAWS and I found this :

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 :) ), 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).


http://www.mameworld.net/maws/driverinfo/cps3.c

you only mentioned 1->Japan 2->Usa 3->Europe but not Asia, can you set it to Asia region to see what happens ?

I don't know where the region is handled in the code so that's why I can't test ^^U

btw, as always ThanX for the great work!! ^^

SeeYaa!
 :biggrin:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS-III driver preview
« Reply #13 on: December 28, 2007, 01:18:21 PM »
I don't know if you have any interest Oopsware, but here's a nice SH2 ASM core
http://gens.consolemul.com/download/SH2src160.zip


Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: CPS-III driver preview
« Reply #14 on: December 28, 2007, 01:21:14 PM »
I attached some pics showing the redeartn ( Japan Bios ) with the code modification posted by OopsWare.

(the game won't pass the title screen for now)

SeeYaa!
 :biggrin: