Welcome!

Final Burn Neo => FBN Development => Topic started by: OopsWare on July 08, 2008, 12:41:54 AM

Title: FB Alpha for PSP WIP
Post by: OopsWare on July 08, 2008, 12:41:54 AM
a port of FB Alpha now work on PSP in full speed. for the M68K some slow, i replaced it with NJEmu's C68K, and fix zet.cpp let it use MAME Z80 . the sourcecode and EBOOT.PBP can be download from oopsware.ys168.com

PSP1000 has 20MB memory (PSP2000 has 50MB) and haven't mmap to cache swap file , so it can't play large ROM currently
Title: Re: FB Alpha for PSP WIP
Post by: Barry Harris on July 08, 2008, 04:39:39 AM
Cool. Nice work with ZET. It still has some problems though - a lot of Sega and Cave games that use the Z80 don't work. Also, games which use multiple Z80s don't work - I might get around to looking at it again at some point - nice stuff though.
Title: Re: FB Alpha for PSP WIP
Post by: OopsWare on July 08, 2008, 05:05:06 AM
most game already working with the new zet and MAME z80, but still a bit problem with the sound, maybe the Z80 IRQ need more fix ...
i also want take a look at CZ80, it will be some fast too .

without doze , fb alpha will be more portable , it'll working on more devices, not only x86 ...
Title: Re: FB Alpha for PSP WIP
Post by: kev on July 08, 2008, 10:34:08 AM

Nice work Oopsware. :)

Here is a link to source of the port of FBA to PSP that BDiamond and myself started in 2006 but never finished.
http://www.kja.pwp.blueyonder.co.uk/fbapsp.rar (http://www.kja.pwp.blueyonder.co.uk/fbapsp.rar)


It has some things that you might find interesting or useful:

* cZ80 : works but might need updating to support the things that have been added to Zet in the last 2 years
* BDiamonds port of a68k : port of a68k to PSP assembly. Never released publicly but might be quicker than m68k
* burn_sound_a.s: ported to PSP but will need updating to support the added function I suspect

The code builds with the latest pspsdk. It is hard coded to look in the root directory of the memory stick for ffight.zip if you want to run it. There is a bug in the frameskip timing code which means it will always run at 30fps when playing sound, which is also broken so turn down your volume if you run it. :)

I will take a look at updating these to work with your source code if you do not do it before me, but I am unable to download the source from your website (it's been downloading for 5 hours and has only got 25% of the file)
Title: Re: FB Alpha for PSP WIP
Post by: KOF2112 on July 08, 2008, 11:05:58 AM
Quote
download the source from your website (it's been downloading for 5 hours and has only got 25% of the file)

Download Link:

http://rapidshare.com/files/128136521/FBA4PSP-WIP-src.rar.html
Title: Re: FB Alpha for PSP WIP
Post by: kev on July 08, 2008, 11:19:35 AM
thank you :)
Title: Re: FB Alpha for PSP WIP
Post by: Badablek on July 08, 2008, 06:47:01 PM
Thanks for this great PSP port of the best arcade emulator ever made...works flawlessly

with sound, it gonna be amazing.
Title: Re: FB Alpha for PSP WIP
Post by: OopsWare on July 08, 2008, 11:25:01 PM

It has some things that you might find interesting or useful:

* cZ80 : works but might need updating to support the things that have been added to Zet in the last 2 years
* BDiamonds port of a68k : port of a68k to PSP assembly. Never released publicly but might be quicker than m68k
* burn_sound_a.s: ported to PSP but will need updating to support the added function I suspect


wow .... thank you kev
Title: Re: FB Alpha for PSP WIP
Post by: kev on July 09, 2008, 04:41:38 PM
First pass at merging the sources. Added in cz80 and disabled Mame z80. Things seems a bit quicker with cz80 but I have not tested in detail yet.

http://www.kja.pwp.blueyonder.co.uk/1.rar (http://www.kja.pwp.blueyonder.co.uk/1.rar)
Title: Re: FB Alpha for PSP WIP
Post by: OOKAMI on July 09, 2008, 07:57:03 PM
Hi everybody :wink:

I have begin to test some roms

I have created directory to have proper roms section and I have make a test with

samurai showdown 5 special
metal slug

when the rom is loading, after a moment, the psp shut down himself
the neogeo bios is in the neogeo roms directory

someone have the same result ?


EDIT

ok, all roms must be in root of the EBOOT

metal slug ok

i will test others roms later

Title: Re: FB Alpha for PSP WIP
Post by: OopsWare on July 09, 2008, 11:30:09 PM
quite perfect, thanks again , kev .
i'v test you cz80 and zet on PC , most games working with sound perfect .
only a small issue with CPS1 QSound
Title: Re: FB Alpha for PSP WIP
Post by: kev on July 10, 2008, 06:32:15 AM
interesting, I wonder if its to do with the encryption? I will investigate. Also, I want to see if the version of cz80 used in picodrive is any quicker. I have run into a few strange linking problems with a68k. Seems to be a makefile problem and I have no makefile skills what so ever. :)
Title: Re: FB Alpha for PSP WIP
Post by: Barry Harris on July 10, 2008, 08:31:59 AM
The kabuki stuff is pretty nasty and a lot of Z80 emulators require some changes to support it. From the Kawaks whatsnew.txt the core used was amended to support it, and From memory Ayeye amended Doze.
Title: Re: FB Alpha for PSP WIP
Post by: kev on July 10, 2008, 08:57:18 AM
Are there other non-kabuki games in FBA that have encrypted cpus that are handled the same way? Or are they all decrypted when loading?
Title: Re: FB Alpha for PSP WIP
Post by: Barry Harris on July 10, 2008, 09:09:44 AM
Only ones I can think of are the encrypted Sega System 1 and the MC-8123 System 16 games. They don't use ZET and are the main reason I ported the MAME Z80 core to FBA. I wanted them to use ZET but the interface to the MAME Z80 core is far from perfect.
Title: Re: FB Alpha for PSP WIP
Post by: OOKAMI on July 11, 2008, 10:54:25 AM
ok

I recovered the source pack from the official website and i cant compile it

it say error 2

i have tested the sdk pack (oslib+cygngw+lib v2) and i not modify the source for test the sdk

someone can help me about this?


EDIT :

ok, all is good, i tested the sources from the official wip and i have this error from cygwin

Linking executable... FBA4PSP.elf
Creating PSP EBOOT.PBP...
make[2]: mksfoex: Command not found
make[2]: *** [FBA4PSP.elf] Error 127
make[1]: *** [all] Error 2
make: *** [psp] Error 2

someone can help me about this ?

EDIT 2 :

compilation ok but after the conversion to PBP with elf2pbp, the emulator stay black screen and nothing happen, however, i can exit with no problems

i continue

EDIT 3 :

ok, i have succes to compile the official wip source, i try to change some things like roms path

i will create many directory to have proper romset

CPS1
CPS2
NEOGEO

see you  :biggrin:


EDIT 3 :

i have understand the structure of cpp code but i have some issue for compilation

during compilation on cygwin :

src/burn/misc/post90s/d_seta2.cpp:621: warning: missing braces around initializer for 'BurnInputInfo::<anonymous union>'

and it's notified many times

the compilation continue, finish with this error

Linking executable... FBA4PSP.elf
Creating PSP EBOOT.PBP...
make[2]: mksfoex: Command not found
make[2]: *** [FBA4PSP.elf] Error 127
make[1]: *** [all] Error 2
make: *** [psp] Error 2

but the elf is created

i have converted the elf on pbp and it's impossible to launch a game ! i can browse and when i choose a game, he don't want to start !

hum, i dont know why

if someone can help me

thanks

Title: Re: FB Alpha for PSP WIP
Post by: outsideofit on July 17, 2008, 07:31:34 AM
hello everyone.

i have the emulator installed but i no game is  starting.
i open the select rom menu but i am not able to select anything. i tried dodonpachi,esprade,guwange and dungeons and dragons but nothing is happening.
is something wrong with these games or am i just stupid?

please help!
Title: Re: FB Alpha for PSP WIP
Post by: OOKAMI on July 17, 2008, 03:39:29 PM
ok, problem solved

it's because the SDK was not fully installed

now i can compile the emulator correctly

but i have almost the error i said previously



 :cool:
Title: Re: FB Alpha for PSP WIP
Post by: borobows on October 24, 2008, 10:20:17 AM
a port of FB Alpha now work on PSP in full speed. for the M68K some slow, i replaced it with NJEmu's C68K, and fix zet.cpp let it use MAME Z80 . the sourcecode and EBOOT.PBP can be download from oopsware.ys168.com

PSP1000 has 20MB memory (PSP2000 has 50MB) and haven't mmap to cache swap file , so it can't play large ROM currently

Hello,

sorry it's on chinese...

is there a mirror for those files or complete pack ?

thx.