Author Topic: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000  (Read 94123 times)

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #15 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


« Last Edit: May 15, 2014, 04:22:09 PM by gamez fan »

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #16 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

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #17 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

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #18 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??
« Last Edit: May 16, 2014, 10:47:39 PM by gamez fan »

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #19 on: May 17, 2014, 12:26:21 AM »
memory_set_opcode_base(0,decrypt);

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #20 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
« Last Edit: May 17, 2014, 01:08:49 AM by BritneysPAIRS »

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #21 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
« Last Edit: May 17, 2014, 11:49:27 AM by gamez fan »

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #22 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 ;)

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #23 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
   

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #24 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

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #25 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 :)
« Last Edit: May 17, 2014, 06:23:18 PM by gamez fan »

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #26 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

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #27 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!!


« Last Edit: May 18, 2014, 04:30:39 PM by gamez fan »

Offline BritneysPAIRS

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +4/-52
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #28 on: May 19, 2014, 04:24:21 AM »
no worries good luck :)

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Raiden Fighters 2 2000 And Raiden Fighters Jet 2000
« Reply #29 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 ;)
« Last Edit: May 23, 2014, 03:11:12 PM by gamez fan »