Welcome!

General Emulation => MAME => Topic started by: Arcadez on September 10, 2013, 04:06:31 PM

Title: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on September 10, 2013, 04:06:31 PM
Was wondering if anyone can offer any advice with regards to a wee problem ive run into with these games
long story short i picked up the Mame source for CoinOPS and ive took some of the drivers from it and compiled a build using
the MameDOX 1.1 source Now after some trials and errors with the seibuspi.c driver ive got it and all the files it links with
to compile but when i try to launch any of the raiden Fighters games i get this error which to be honest i wasn't expecting
as CoinOPS plays these games and thats the source this driver came from
Quote
CPU #0 uses wrong 32 bit handlers for address space 0 should be 8bit

Im thinking it's related to the i386 CPU Cores but incase im on the wrong track i was wondering if anyone could offer some advice
as to what is causing this issue and where to look in the source with regards to hopefully fixing the errors so the raiden fighters
games will boot and play
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on September 17, 2013, 10:57:25 AM
No one can offer any advice then??? ive noticed a few other games had this issue as well namely Cool Pool
before they were fixed Maybe by reading the Mame Dev WIP with these games might offer me some clues

As things stand i cant get these games to boot working from the partial mame source that was available to me
i thought it might be something to do with this that was causing the boot error
Quote
- 0.90: Nathan Woods fixed the i386 Algorithm for Identifying 32-bit segments, near branches now will not force a reload segment, Implemented RET imm16 under 16-bit mode, fixed SBB instruction (the borrow was Deducted from the second operand, not the result), fixed LDS, LSS, LES, LFS, LGS under 32-bit mode and partially Implemented LLDT, LTR, CLTS, WAIT and MOV instructions dr.

i updated the i386 CPU files and the cpuintrf.c/h files to match mame90 but it never sorted the issue :S  last time i'll bother you guys
with this but any help or advice with this would be much appreciated
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on January 14, 2014, 08:00:40 PM
Just to say i wont need help with this anymore as ive sussed it now  LOL
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: squirrel Bigcock on January 15, 2014, 11:09:24 AM
Sorry, but why would anybody want to play the "2000" versions of Raiden Fighters?
 They are just nasty, nasty versions of the original Raiden Fighters with shitty sound chips on low grade, butchered PCB's.

 
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on January 15, 2014, 12:24:37 PM
Sorry, but why would anybody want to play the "2000" versions of Raiden Fighters?
 They are just nasty, nasty versions of the original Raiden Fighters with shitty sound chips on low grade, butchered PCB's.

Your 100% correct but i use an xbox to emulate my Arcade games and only those 2000 versions of Raiden fighters will play
because of hardware Limitations but i have those games in my PC MAME set as well
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on January 16, 2014, 01:55:05 AM
Just put in the supplied xbox source (all files) and they go they dont need any changes what so ever...at the time they needed alot of tweaking to go as does viper phase
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on January 16, 2014, 10:04:19 AM
Just put in the supplied xbox source (all files) and they go they dont need any changes what so ever...at the time they needed alot of tweaking to go as does viper phase

Hmmm a define was required in VCCPMame.h source file in order for these games to boot thats the problem with partial sources
not everything is included this file was part of the full source i never had access to it till a few days back it would have saved
me alot of messing about if i had a Full Source to work from at the time or if someone had just told me about this define 5 months
ago but at least the Raiden Fighters games will now work in MameoXtras v1.2

VCCPMame.h
Quote
#define HAS_I386        1         // Use by seibuspi
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on January 16, 2014, 02:16:13 PM
im.sorry i dont have time to help...esp with kind of discussions etc you are involved in. in all honesty the sources are there are very easy...i am heavy modifing that driver at present asits a bit patchy and you where given a way to do this which works with me..as you decided to do it your way i simply dont have the time at present...to find a compiling issue etc as i have my own ones to move forward...

the sources are there and good to see you are partially using them...best of luck if you want help it will have to be as stated to you as i have a long to do list at present
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on January 16, 2014, 05:22:40 PM
Well the games Now work in my compile so i guess i'll shut up about it now
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on January 16, 2014, 05:51:40 PM
good to see.as i say that driver is under a large update at present...its hard to work with people saying they are adding say cheats when the cheat file supplied to you has.all of them and 1000s more and.can just be dropped in...to help or comment feels like 10 years ago sorry as its just drop the files in

best of luck if work want to work drivers with me you will have to it as per how i work if not i dont have the availble time at present
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on February 04, 2014, 07:59:07 PM
Hmm i see you've now spliced mame150 into CoinOPS BP unless i read your post wrong i take it thats how you sorted the graphic
errors in B-Rap-Boys?? As i recall Mame84 is supposed to be missing a graphics function so it's not possible to do it that way
or is that incorrect??
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on February 05, 2014, 11:29:17 AM
Well since there's no answer to my question i can only conclude it must be a big secret  :biggrin: personally if it was me and
someone said hey how did you manage to get a certain game playable i'd would have told them but there you go
everyones different :wink:
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on March 12, 2014, 12:02:50 PM
best of luck if work want to work drivers with me you will have to it as per how i work if not i dont have the availble time at present

No i'll have to turn down your offer to work with you on drivers as well that would be helping you with your work when you
never once offered me any help or advice with mine plus your project is not currantly an open source project and thats a big
no no for me
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 09, 2014, 09:08:33 PM
OK here are the updates....alot of them....

new grapghics....improved effects...background sounds etc for raiden games the code was really beta like previously and why I couldnt get it to you...as it was a work in progress...ive still got to fix viper phase some time but not sure I can

Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 09, 2014, 09:42:07 PM
Thankyou for sharing your work with the ssv and seibu src files much appreciated
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 15, 2014, 04:20:45 PM
Some code which adds sound to Rapid Hero here's the nmk16.c Driver and Ported TLCS90 CPU CORE which also includes the TMP90841 sound core for the game ive also included the other files required to tie everything into your src


Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 16, 2014, 09:08:45 PM
cheers i can post you dark mist or planet probes mustashe boy if you want...they need a touch more work but are pretty much all working
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 16, 2014, 09:15:14 PM
Here is planet probe a new game people have asked for and it plays well...

the issue is around GFX1 characters are coming out wrong so the text is scrambled....but you still see score and what you need to...all other graphics sound etc is good and it plays well...so its totally playable now but I should fix up the character scrambling
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 16, 2014, 09:37:50 PM
Thanks for the planet probe code!!! ive been trying to add darkmist had no issues with the video or the T5182 sound cores but
this define in the driver is causing my build to error out on compile

Quote
memory_set_decrypted_region(0, 0x0000, 0x7fff,decrypt);

i know it's related to new memory handling code in MAME since 101u3 i tried to add these defines to memory.c/h but no joy
just get more errors i was wondering how did you get around this problem?? is there any existing memory code in MAME84 that
can be used??
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 17, 2014, 12:26:21 AM
memory_set_opcode_base(0,decrypt);
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 17, 2014, 12:32:34 AM
here is mostashe boy and dark mist....it works fine but the sound drops out after a while.....ill track it down later if you want but maybe you could look...everything else is all good (PS both mostashe boy and dark mist drop out after a while) and maybe the sound should be a cpu....I havent really looked at it but its 98 percent there
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 17, 2014, 10:52:14 AM
memory_set_opcode_base(0,decrypt);

Thanks for that i was kinda stuck till you helped me out here i had tried a very similar define The fix was to remove everything but (0,decrypt) good thinking i dont reakon i would have thought of that
Quote
memory_set_opcode_base(0, 0x0000, 0x7fff,decrypt);


Ok ive grabbed your darkmist code thanks again i'll dump my code and switch over to use yours i'll take a look at the sound defines
maybe there might be a setting that can be found so the music wont cut out
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 17, 2014, 02:28:02 PM
Hmmm i added in the darkmist video plus the darkmist and mustache boy drivers and finally tied em all together with
the T5182 sound core i assume i did it correctly but both games freeze on the loading screen???

im thinking i may need to declare the T5182 sound core somewhere but where?? Looking at the src the most obvious areas
are cpuinrf.c/h or soundintrf.c/h but in MAME113 where the T5182 core 1st makes an appearance there's no sign of a declaration
of it in the most obvious places unless it's declared elseware??

maybe i'll have another look but darkmist was just a wee game i wanted to add im not sure i want it to become a mammoth task ;)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 17, 2014, 04:18:21 PM
XBESectionUtil.cpp needs 

REGISTER_DRIVERSECTION( "darkmist.c", "901" ),

 and +1 added to #define   NUM_DRIVERSECTIONS    count

both use

#pragma code_seg("C901")
#pragma data_seg("D901")
#pragma bss_seg("B901")
#pragma const_seg("K901")
#pragma comment(linker, "/merge:D901=901")
#pragma comment(linker, "/merge:C901=901")
#pragma comment(linker, "/merge:B901=901")
#pragma comment(linker, "/merge:K901=901")

so without that added to the XBESectionUtil.cpp it will do what you said...I havent changed anything else
   
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 17, 2014, 04:22:08 PM
PS otherwise you can just drop the files in I beleive and go..sorry I didnt tell you the above but I saw you had done this on dblewings so I asumed you would see that...im hoping you didnt do that as its the only thing I can see I didnt supply
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 17, 2014, 04:44:59 PM
Yeah i didn't forget to declare it i had to make it driver 902 and change the defines in T5182 to match as in my src Tatsumi is 901
 it's no big deal i did get the game to boot with no sound using an older driver so my issue must be related to the T5182 sound core

I'll maybe have another go at adding the sound to Darkmist ASP 1st impressions of playing it though i dont think it's really
all that good  certainly not worth the time ive spent on it over the last couple of days :)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 17, 2014, 09:54:38 PM
if you want send me the source ill fix it up on the debug and tell you what is wrong..it must be close now
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 18, 2014, 12:37:52 PM
if you want send me the source ill fix it up on the debug and tell you what is wrong..it must be close now
Thanks for the offer!! but im sure your too busy working away on your projects to tidy up problems in my src
but apart from that ive now prepped my build for release so the cut off point has passed plus since it will be the last build
im going to put out i dont see the point in trying to get another game playable only to not include it

Anyway ive added Planet Probe and all your other code you shared with me on here it's certainly improved v1.12 no end
thanks again for your help!!


Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 19, 2014, 04:24:21 AM
no worries good luck :)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 23, 2014, 01:43:02 PM
no worries good luck :)
im enjoying reading your guess what arcade game ive got playable thread 1st of all when you mentioned both games have never
booted on the xbox but one is often requested while the other one never has i thought Buggy boy and TX1 but when you mentioned both games are shmups i gotta go with Raiden Fighters and Viper Phase 1 i guess the answer will be revealed soon :)

Anyway i see a member on your site requested Pop Bingo here's the code if you want to add it save you an hours work
at any rate and unlike the last code i posted this is 100% finished ;)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 23, 2014, 08:10:08 PM
cheers ill look at it later lots to do :) I take it you fixed the sound as you seem to be reworking your build again
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 23, 2014, 08:51:16 PM
cheers ill look at it later lots to do :) I take it you fixed the sound as you seem to be reworking your build again
Yeah slight delay in getting the build out so decided to try and add Big Fight which turned into a Big Fail :) but try as i might i couldn't
get darkmist and mustache boy to work with the T5182 sound core i gave it a good go though but gave up in the end as i dont
think the games worth any more of my time to be honest if i cant get things playable in a couple of days i tend to just move
on unless it's a game i like then i might persevere like i did with with B-Rap-Boys Double Wings or Heavy Smash

this define stood out though in t5182.c it seems like it's meant to link to some decleration although making it cpunum= -1 or cpunum= 0 was supposed to skip the lookup but either version i tried didn't help either

Quote
cpunum = mame_find_cpu_index(CPUTAG_T5182);
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 23, 2014, 09:25:45 PM
no worries....
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 24, 2014, 03:08:20 PM
no worries....
Hey nice work getting Raiden Fighters and Viper Phase 1 Playable on the ole xbox!!! it's something im trying to have a go at myself
but it might just be above my level if you know what i mean  :wink: I know your busy but can i ask you something real quick??
As far back as i can remember those games never booted on the standard xboxes did you have to add any special code of your
own to get em to boot?? or will having the correct VMM settings do the trick??

Ive made some changes to the driver and i'd like to see how the games look and sound but try as i might i cant get em to boot
so was wondering if no special code is required what VMM settings are you using for the games??
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 24, 2014, 06:30:19 PM
Theres lots to make these boot the way ive done it....but to get the basics to boot you need to disable the sound...the warning when you compile is for good reason and stops the games booting...im still not finished on these drivers but im trying to sort out the sprites on system 18 games at present as ive got them going as well but with scrambled sprites...ive got a list of top games I want to add im looking at...svv (sega saturn ones) ive got going but no speed hack will ever make them playable on the xbox I dont think same as most 3d games....but the rest im working though from most wanted to least wanted
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 24, 2014, 07:55:09 PM
Theres lots to make these boot the way ive done it....but to get the basics to boot you need to disable the sound...the warning when you compile is for good reason and stops the games booting...im still not finished on these drivers

Ok so disable the sound and they should then boot i assume i could do it like this.......

Just reem these out??
Quote
//   MDRV_SOUND_ATTRIBUTES(SOUND_SUPPORTS_STEREO)
//   MDRV_SOUND_ADD(YMF271, ymf271_interface)

It's a bit late to work further on it tonight but im not sure if i should have added the sound commands from MAME100??
plus quite a few other odds' n ends from that src i know your busy but if you get a spare couple of moments could you take
a look at the driver for me just want to know if im on the right track or have gone way of the road ;) if your too busy i understand





Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 24, 2014, 08:26:54 PM
Im sorting it out at present....and in beta...I could give you the system 18 code for the sprites scrambling to sort would be better...raiden games I totally rewrote the intire driver in the end....

yes removing the ymf271 will allow it to boot for you...otherwise you cant get it to boot
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 24, 2014, 09:19:07 PM
Im sorting it out at present....and in beta...I could give you the system 18 code for the sprites scrambling to sort would be better...raiden games I totally rewrote the intire driver in the end....

yes removing the ymf271 will allow it to boot for you...otherwise you cant get it to boot

Yeah i think your Right System 18 code might be something better for me to work on the Seibu driver is kinda
outta my league if im being honest here :smilie: if you want to post it i'll certainly give it a go tommorow
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 25, 2014, 04:00:57 AM
Ill upload it tommorrow...in all honesty ill have moved this driver quite some way every day or so and without a proper working group as I said you probably wont get that far....this one is alot harder than viper phase 1 by looks the protection is really painfull....wish I had someone with driver knowedge to tidy up the rom linking
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 25, 2014, 10:42:21 AM
Ill upload it tommorrow...in all honesty ill have moved this driver quite some way every day or so and without a proper working group as I said you probably wont get that far....this one is alot harder than viper phase 1 by looks the protection is really painfull....wish I had someone with driver knowedge to tidy up the rom linking
Fair enough from looking at the video you posted your more or less there with the system 18 work i do have some experience with
the src files for those games your right it's quite complicated stuff certainly it may be something i'd struggle with it's not easy work

I remember trying to update  the system24 driver had all the src files reworked and ready to go but then discovered i'd have to alter
the CPU core extensively to link it to the FD Encryption that scared me off as i was worried changing the CPU would break many games
i assume adding the FD encryption for Desert Breaker DD Crew etc is similar in that regard??

Anyway you seem to have the system 18 games well in hand im sure you'll complete em over the next few days And once again
nice work with the seibu driver took a peek at the videos you posted the games certainly perform really well on the ole xbox
im surprised as everyone always said the xbox doesn't have the horsepower to play those games obviously it does
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 25, 2014, 04:19:11 PM
im a bit stuck on system 18 actually...its at mame 0.84 at present but needs to go to 0.90 to be really good...

the main issue I have in games like desert breakers is how to attach the roms to sprite/tilehandlers...all these games have the first bank or two connected but later banks are scrambled...once I sort that desert breakers will be playable same as dd crew and laser ghost...

id say this would be easy for a mame expert but im struggling at present :)...ill send these after work
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 26, 2014, 03:42:17 AM
you have mail on system18
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 26, 2014, 08:14:44 PM
Can someone throw me a bone here please im still working on trying to get Raiden Fighters and Viper Phase 1 playable
ive now updated everything code for code to MAME100 thats the seibu driver video plus machine src files
and the ds2404 spisprit and intelflsh machine files plus ive added  the required update commands to the YM2171 sound src files
and removed all the obsolete spisprit src files the only thing i haven't has yet updated is the I386 CPU core which wont be easy
so all im asking is do i need to update the CPU Core to MAME100 as well ??

everything compiles with no errors or warnings and yet still the games wont boot with or without sound :(

only other thing im not sure about is the sound define in the driver currantly im using the one from MAME85 as it seems to
be more like i expect the sound defines in MAME84 to look like....

Quote
static struct YMF271interface ymf271_interface =
{
   1,
       // cant put a clock speed value here as it will cause errors
   { REGION_SOUND1, },
   { YM3012_VOL(100, MIXER_PAN_LEFT, 100, MIXER_PAN_RIGHT), },
   { flashrom_read },
   { flashrom_write },
   { irqhandler },
};

i'll certainly try to update the CPU if i have to but if the games were to still not boot then im lost here as i cant think of what else it would be the games are meant to be playable in MAME100 the Raiden 2000 versions work maybe the problem is xbox related??
either way 3 days of my life gone and nothing to show for it :(
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 27, 2014, 03:22:39 AM
the cpu isnt needed...spend me the files you changed and look at them...I know you want to do them yourself and thats all good but i can look to see if theres something obvious
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 27, 2014, 08:44:50 AM
the cpu isnt needed...spend me the files you changed and look at them...I know you want to do them yourself and thats all good but i can look to see if theres something obvious

Thanks for offering to take a look much appreciated i must admit im wanting to add these to MAMEoXtras v1.12 so it can be the last
build and i can quit development on it if i manage to get these Seibu games playable i'll be over the moon just seems to be a little to
tricky for me to figure out at present :(

Seibu src files all connected to the driver that i know about maybe i missed something??
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 27, 2014, 07:35:59 PM
Well a 4th day at it but some small progress decided to revert back to the seibu src files BP gave me a couple of weeks back
and then changed the sound defines for the spi games back to MAME93 i then changed the flash rom commands and the intelflash
src files back to MAME93 and now Raiden Fighters boots and so does Viper Phase 1 maybe the rest will now boot??
but i only have those 2 roms to test for now but the graphics are all messed up i assume thats because i now need to add the updated decrypted graphic defines from sprsprit.c hopefully then that will sort the graphical problems

The sounds bad though plus im sure the flash rom code has to be updated to sort game pauses and hangs?? what puzzles me though
why does the flash defines from the newer src break the games in the driver apart from the 2000 versions of Raiden Fighters??
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 27, 2014, 08:13:00 PM
good you followed what said..as said in the next few days ill tidy the cide and realease it...also the required support files...up to you theres lots of fish hooks still or wait a day or 2 and ill post it...its nearly out of beta
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 27, 2014, 08:17:45 PM
good you followed what said..as said in the next few days ill tidy the cide and realease it...also the required support files...up to you theres lots of fish hooks still or wait a day or 2 and ill post it...its nearly out of beta
That would be lovely thanks im happy to wait a few days and i must admit i trust your coding it's way better than mine :)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 27, 2014, 09:19:52 PM
ill release it.tonight...its a shame.you will quit...pitty team work couldnt win...
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 28, 2014, 03:36:39 AM
 :biggrin:

this should make everything go....you will have to wait 999 sec and change the dips to update on/off....once done turn off the update dip and save the nvram/cfg and you wont have to do this again

please note the sound core is linked in with all the updates but the sound core isnt updated...the game sounds are to low vs the background music so this could be improved...let me know if you want the nv's (also let me know if the sources dont work they should work out of the box)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 28, 2014, 11:53:21 AM
:biggrin:

this should make everything go....you will have to wait 999 sec and change the dips to update on/off....once done turn off the update dip and save the nvram/cfg and you wont have to do this again

please note the sound core is linked in with all the updates but the sound core isnt updated...the game sounds are to low vs the background music so this could be improved...let me know if you want the nv's (also let me know if the sources dont work they should work out of the box)

Thanks for the code but unfortunately the games just load to a black screen and freeze my xbox :(  maybe you could pass on to
me every src file you have that links to the seibu driver?? as im thinking maybe some of my src files might need to be updated as well??

here's a basic rundown of the src files im using currantly........

Driver
the new one you gave me

Machine
original seibuspi.c from the last src you shared
ds2404 c/h original versions from mamedox 1.1
intelfsh.c/h new ones you gave me
spisiprt.c  new one you gave me plus removed the old spisprit c/h and spistab 1-3
intelfshx  using this i see it has the older flash rom code but i dont see it linked to any other seibu related src files??

Vidhrdw
Using the seibuspi.c video file from the last src you shared with me

Sound
Ymf2171.c/h the new ones you gave me

EDIT i notice intelflsh.c now links to state.h i guess it's for changes made to the flash update code so i need state.c/h to be updated??

Quote
- 0.98u2: Ville Linde and David Haywood fixed the i386-> z80 communications in the Seibu SPI driver. This fixes the flash rom update and fix any remaining Should Also hangs / pauses. The flash rom update Should take around 5 minutes. Now all games Should Have proper sample data. Changed region sound1 to user2.

Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 28, 2014, 04:23:10 PM
Forgot one lot here they are
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 28, 2014, 06:08:48 PM
state is unchanged
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 28, 2014, 07:36:57 PM
state is unchanged

Well i still cant get those games to boot in my src seems like their falling down on the flashrom update part or maybe it's
something else sound related are you sure you didn't forget to give me some needed src files??  ;p  cos im kinda getting fed up
now of this when someone shares out some code with me i kinda expect it to drop it in compile and be good to go i dont want to
be looking around for a fix so lets call it quits i'll revert back to my src i know it's not as good as yours but at least i can get it to
work for me
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 28, 2014, 09:59:54 PM
you use alot of code that dont have some.fixes ive had...seb requires alot of fixes lile system24....give me your source and ill patch it in for you...it wont be very hard....the mame drivers are there but ive updated the core mame alot to fix things.lke.analog controls..trackball...cfg..nv...all this was needed to improve lots of games across the board if i hit one of those ill patch it into the single driver for you....if you go down this road i cant help you..i can help and have offered many times...we are merging diff but very simlar code...you are welcome to pursue this yourself..its up to you...i do find it strange the way you deal with help...
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 29, 2014, 12:32:48 AM
no worries if you send the source ill merge it in...im sure it will be simple...if there was an svn them i will merge test and give you the exact fix....if not a calm order approach to merge the code would work better i would guess...alot of iq work on coinops didnt merge it was discussed and fixed smoothly...i fell this goes off the rails at times and is hard for all parties.... :redface:   but its up to you..  would be interesting to know what you do for a job ?
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 29, 2014, 10:07:37 AM
Ok look maybe i got the wrong end of the stick yesterday?? i had a long day trying to add the code and got a little frustrated
as you say it's probably a problem my end with my currant source here's my src for MAMEoXtras v1.12 it doesn't contain
the brand new seibu files you shared with me the last thing i added was pop bingo if you have some spare time and can splice in
the new seibu code for me that would be great if it's gonna be too much work and you dont have the time then i understand

MAMEoXtras v1.12 src
http://www47.zippyshare.com/v/65950296/file.html (http://www47.zippyshare.com/v/65950296/file.html)

Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 29, 2014, 04:19:45 PM
welll I just copied the contents over your old build....and it worked 100 percent first time....the only issue was I had to redo do the inputs in the old way as your code doesnt except them in the new way....

If im being paranoid id say your having me on....as all the code I gave you...you said didnt work I got running with no issues in 1 minute....how are you patching this in?

Ill fix that source you gave me now but really it was just copy and paste it in to your last sources....

Are you having me on? or not doing what you said and putting this over the top?

expect the sources after I get back from work but really if you spent days on this then you should really look at your process and way you deal with things...you might find that you are leading yourself down a track that isnts real...
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 29, 2014, 04:48:09 PM
welll I just copied the contents over your old build....and it worked 100 percent first time....the only issue was I had to redo do the inputs in the old way as your code doesnt except them in the new way....

If im being paranoid id say your having me on....as all the code I gave you...you said didnt work I got running with no issues in 1 minute....how are you patching this in?

Ill fix that source you gave me now but really it was just copy and paste it in to your last sources....

Are you having me on? or not doing what you said and putting this over the top?

expect the sources after I get back from work but really if you spent days on this then you should really look at your process and way you deal with things...you might find that you are leading yourself down a track that isnts real...

Confirmed it was a VMM memory issue my end thats why the games didn't boot after changing around a few settings i got
Raiden Fighters to boot to the countdown screen then afterwards the game booted i apologise for my sillyness and the extra hastle
ive caused you im a muppet sometimes!!!

is there any chance you could upload the vm settings you use for these games and the NV ram files?? it would save me some
time trying to track em down
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 29, 2014, 09:32:52 PM
sure thing after work ill give you all the cfg nv and vm..actuall you could grab them from the latest coinops...
i only wished you had choosen an easier path long ago and not fight but comunicate amd move forward...but i see who you thank as helping with mameoxtras and know why the issues are there....i know like you lnknow they had little to no involvlement....but this is your.path and all the.power to you...im sorry.i didnt see this as a good approach to dev.....

best of luck anyway you choose...i like your passion and why i helped...harnessed you really have rhe right stuff....unharnessed causes you some grief at times...but you get there....both ways...up to you in the end
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 29, 2014, 10:21:09 PM
ok see you got it...you should thank them for there hard work and skill required :) it would be wrong not to as hes fundimental to moving forward with this project....

let me know if you jave any issurs ill sort them for you
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 29, 2014, 10:46:04 PM
ok see you got it...you should thank them for there hard work and skill required :) it would be wrong not to as hes fundimental to moving forward with this project....

let me know if you jave any issurs ill sort them for you
I had a small issue with senkyo battle balls im not sure if your having the same issues but i noticed you haven't mentioned
it being playable in the release thread  when loading the game i get a rom length error then the update always failed at exactly
654 on the countdown

paste this into the parent and all the clones in the driver.......

Quote
   ROM_REGION(0x280000, REGION_USER2, ROMREGION_ERASE00)   /* sound roms */
   ROM_LOAD("fb_pcm-1.215",  0x000000, 0x080000, CRC(1d83891c) SHA1(09502437562275c14c0f3a0e62b19e91bedb4693) )
   ROM_CONTINUE(0x100000,0x080000)
   ROM_LOAD("fb_7.216",      0x200000, 0x080000, CRC(874d7b59) SHA1(0236753636c9a818780b23f5f506697b9f6d93c7) )
ROM_END

This sorts the rom length error and the update completes to make the game boot here's the nv ram file and cfg for the battle balls

http://www52.zippyshare.com/v/67919516/file.html (http://www52.zippyshare.com/v/67919516/file.html)

finally something else i wanted to ask you

i noticed these defines in the video file........

Quote
static struct mame_bitmap *pen_bitmap;
static struct mame_bitmap *trans_bitmap;

and i see the same code reemed out here enabling it causes errors i noticed it wasn't reemed out in the MAME100 src
Quote
//mame_bitmap *pen_bitmap;
//mame_bitmap *trans_bitmap;

if i  make it this......

Quote
struct mame_bitmap *pen_bitmap;
struct mame_bitmap *trans_bitmap;

it compiles without errors is it reemed out for any reason??? i seem to have it in my head the games are smoother with it enabled
but as i said it could be all in my head :D

Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 30, 2014, 12:34:19 AM
the draw routine is different for speed that wont do anything...i didnt test that other game cheers for fix ill add it i guess...its never been asked for....whats next :)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 30, 2014, 01:43:19 AM
ps the sound balance  for effects and music should be looked at some time as the musics a bit loud for effects
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 30, 2014, 09:22:38 AM
whats next :)
Hmm there's more games i want Buggy Boy a ton of work and a sound core needs to be ported World Rally a fair bit of graft and a
CPU Core needs to be ported dont think i'll ever get round to working on them but this games a good un........

Denjin Makai

(http://www.progettoemma.net/snap/denjinmk/0000.png)

A decent amount of work though adding the Seicop protection decryption plus a sound fix in the seibu.c sndhrdw required as well
all in all an experienced eye and a few days work required i may try and get it going ASP but it's a lot to do for just one game
pity a few others in the driver aren't playable to make it more worthwhile doing there's some decent games in legionna.c
might just make do with the console port  Ghost Chaser Densei (1994, Nintendo Super Famicom)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 30, 2014, 07:48:21 PM
good work let me know if you need a hand
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 31, 2014, 08:25:38 PM
good work let me know if you need a hand

Thanks for the offer i might take you up on that one day  :wink: decided to take a look at Raiden Fighters 2 as the sound
was not very good in that game compaired to the others seems it was using a sound file from RF 1 when it should have been
using this one added in MAME115 try it and you'll see it improves the sound no end.........

Paste this into Raiden Fighters 2
Quote
   ROM_REGION(0x280000, REGION_USER2, ROMREGION_ERASE00)   /* sound roms */
   ROM_LOAD("pcm.u0217",    0x000000, 0x200000, CRC(2edc30b5) SHA1(c25d690d633657fc3687636b9070f36bd305ae06) )
   ROM_LOAD("rf2_8_sound1.bin", 0x200000, 0x80000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) ) // different?
ROM_END

Since it's a new rom dump i assumed the update would have to be redone maybe it didn't but here's the files so you
dont have to wait for the update to complete

http://www74.zippyshare.com/v/19562174/file.html (http://www74.zippyshare.com/v/19562174/file.html)
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on May 31, 2014, 10:47:52 PM
cheers ill update the sound core sometime as there are many issues with reverb wrong triggers and balance levels...
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on June 29, 2014, 04:24:47 PM
ill look at it soon just a bit busy...sometimes .84 core needed updating as well as the driver
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on June 29, 2014, 06:52:28 PM
ill look at it soon just a bit busy...sometimes .84 core needed updating as well as the driver
Hey no worries hope you manage to to get the sound working in those games as to be honest i think this is another
of those fixes which is above my paygrade  :smilie:
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on July 02, 2014, 08:09:16 PM
I just finished work on adding some new games to my src alotta graft went into this one updated coolpool.c TMS34010 and TMS32025
to MAME97 then added a sound fix for cool pool and 9 Ball shoot out from MAME115 and pasted it into the TMS32025 CPU
some changes to src files as well like added a new generic nvram handler for 16 and 32 bit saving to common.c/h plus some extra
defines from the TMS32025 were linked with cpuintrf.h

Note that i had to switch the games to use TMS32025 sound CPU as the one they are supposed to be using
TMS32026 for some reason made the games lock up during the DSP IOP check on boot in my src i dont see any problems
by using the TMS32025 CPU core the games seem to play fine

Heres the src if you want it strictly prelim work ATM as ive not yet tested other games that use the TMS CPU's which i had to
update because of graphical and sound problems with the games i have a list of all the drivers that share em which im gonna test
all the games over the next few days thankfully there's not too many

Edit almost forgot i left some notes in the driver about how to fix the controls in Cool Pool below the control defines for that game
unfortunately i couldn't fix the controls in Ameri Darts  :mad:

Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on July 03, 2014, 08:16:30 PM
Added support for Virtua Bowling to my src which is a nice wee game of it's type i just dropped some of the code from the MAME104
igs_blit.c into the chindrag.c driver it Also adds full sound to Dragon World which is now also the World Version

Here's the driver if you want it......




Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on July 05, 2014, 08:51:01 PM
Cool Pool was missing the 2nd button input in game this is for the "English" option to add top spin side screw etc before
playing a shot ive added the controls for button 2 here is the new dip defines for this which ive also posted over at MAME World

Button 2 input fix if you want it
Quote
INPUT_PORTS_START( coolpool )
   PORT_START_TAG("IN0")
   PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   PORT_BIT( 0x0f00, IP_ACTIVE_LOW, IPT_UNKNOWN )
   PORT_BIT( 0x800,  IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
   PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
   PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
   PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNKNOWN )
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: BritneysPAIRS on July 05, 2014, 08:58:35 PM
all good sorry ive been updating the cps2 and cps1 cores at present ... keeping me busy
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on July 06, 2014, 12:39:21 AM
Added to MAME, thanks. Verfied on the control panel photo. I added button names as well.

Note your code fails validation, I had to adjust it slightly.
INPUT_PORTS_START( coolpool )
   PORT_START_TAG("IN0")
   PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   PORT_BIT( 0x0700, IP_ACTIVE_LOW, IPT_UNKNOWN )
   PORT_BIT( 0x800,  IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
   PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
   PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )

Hi Robert Thanks for tidying the values up i wonder why there was a error everything seemed to match the currant MAME src
all i did was add a couple of new defines for button 2  :S
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on July 06, 2014, 09:24:46 AM
Take the last line, it said 0xC000, which is 2 input lines marked unknown (0x8000 and 0x4000). But you have now said that 0x4000 is known, so you can't leave it unknown as well. That's why 0xC000 became 0x8000.
Same with the other one 0x0F00, which is 0x0100, 0x0200, 0x0400 and 0x0800 combined. You identified 0x0800, so it needs to be removed from the unknowns, leaving 0x0700. Make sense?

Lastly, if you press F2, you can enter the operator preferences, and enable the game for a 4th version of pool. It is called Strip Pool and is Adults Only!
Thanks for the explaination about the input values i understand what you mean now As for Strip Pool yeah i found that already  :biggrin:
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on July 13, 2014, 09:03:58 PM
Here's some src files which add support for two rather good prototype games Teeter Torture and Guts N Glory if anyone fancys
adding em they'll drop into your src quite easily



Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on April 24, 2016, 05:03:07 PM
here is mostashe boy and dark mist....it works fine but the sound drops out after a while.....ill track it down later if you want but maybe you could look...everything else is all good (PS both mostashe boy and dark mist drop out after a while) and maybe the sound should be a cpu....I havent really looked at it but its 98 percent there

Well i suppose it's old news now and not really relevent as both games now have sound in FBL but the fix for the above sound
dropouts is some timer code which needed to be added to the YM2151.c  and 2151intf.c at the same time as the new sound core
this links with the TIME_NOW code in t5812.c you must have missed it :).
Title: Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
Post by: Arcadez on May 05, 2016, 05:55:07 PM
Well only fair i post the code changes here for Mustache Boy and Darkmist as it wasn't mine to begin with. Both games have a 100%
sound now and i've managed to get the coin hack to work in mustache boy while using the newer IRQ code. Also updated the
coin hack in darkmist in order to add more dipswitch options.

Code is based on MAME112 reworked for MAME84 and fully tested