Welcome!

Final Burn Neo => FBN Development => Topic started by: iq_132 on July 03, 2007, 05:40:47 PM

Title: OopsWare's drivers
Post by: iq_132 on July 03, 2007, 05:40:47 PM
Shadow Force
Aerofighters (with some fixes from BisonSAS)
PGM (Kov, etc)

http://www.ojko.com/phpbb/viewtopic.php?f=3&t=3093
Title: Re: OopsWare's drivers
Post by: iq_132 on July 03, 2007, 05:43:27 PM
Here's my modified version of Oopsware's PGM sources

Changes:
Added all of BisonSAS's changes
- Save State support
- pgmPalUpdate()
- Diagnostics Inputs
- Dipswitches "Music and Voice"
- Dipswitch "Disable Ba-Chieh" in sets orlegend, orlegnde and orlegndc
- Removed chinese title in orlegend, orlegnde and orld105k
- Save game configurations. (NVRAM)
Drawing, protection, decrypt, sound, drivers, etc are all in seperate files
All drivers for PGM games in MAME are added (though most, as in MAME, are not working)
- Killing Blade, The (Chinese) is working (though glitchy)
- Photoy2k & Real and Fake are working perfectly
- Puzzle Star is working (though glitchy, freezes after second stage)
- Dragon World 2 boots and runs, though the controls do not work (needs another irq?)
- PGM Homebrew (PGM Frog Feast, PGM Demo) are supported (in the source) and work Perfectly
All games have a shared loading routine (like CPS-2 and NeoGeo)
All games have a shared memory map (like CPS-2 and NeoGeo)
Improved Save states a little
Removed code meant for low-ram environment
Shortened and cleaned some code, removed a lot of 'printf's'
Added all decrypt routines
Title: Re: OopsWare's drivers
Post by: nganiere on July 03, 2007, 07:18:28 PM
how do you comment that pgm version driver of yours in the makefile, iq_132?
Title: Re: OopsWare's drivers
Post by: iq_132 on July 03, 2007, 08:28:43 PM
oh, sorry
make sure to unzip the files into src/burn/pgm/

Now, in the makefile, look for this line

alldir   = burn burn/capcom burn/toaplan ....

Add this to the end of the line

 burn/pgm

now find
       d_psikyo.o \
      \

add this after

       d_pgm.o \
      \

find this

      psikyo_tile.o psikyo_sprite.o psikyo_palette.o \
      \

add this after

      pgm_crypt.o pgm_draw.o pgm_prot.o pgm_run.o pgm_snd.o \
      \


Title: Re: OopsWare's drivers
Post by: CaptainCPS on July 03, 2007, 11:22:08 PM
ThanX IQ  :wink:, that's some of the stuff I was looking for my next release of FBA Extras, ^^, ...

SeeYaa!
 :biggrin:
Title: Re: OopsWare's drivers
Post by: FBA Fan on July 04, 2007, 04:42:25 AM
Thanks up~!
Title: Re: OopsWare's drivers
Post by: BisonSAS on July 04, 2007, 10:32:50 PM
Great! Very nice work! :biggrin: Thanks! :smilie:
Title: Re: OopsWare's drivers
Post by: xinlin on July 04, 2007, 11:26:57 PM
thank you very much! But the game has no sound!
Title: Re: OopsWare's drivers
Post by: iq_132 on July 05, 2007, 01:04:20 AM
xinlin, read the notes at the top of d_pgm.cpp
Title: Re: OopsWare's drivers
Post by: xinlin on July 05, 2007, 04:48:06 AM
 * 06-09-2007
 *   rows scrolls not emulated
 *   sprite zoom not emulated
 *   no sound (z80 and ics2115 not emulated)

oh yet! I am sorry that I miss it.
Title: Re: OopsWare's drivers
Post by: rush1477 on July 05, 2007, 05:12:22 AM
Thank you very much, iq_132
Title: Re: OopsWare's drivers
Post by: iq_132 on July 05, 2007, 10:15:31 AM
Don't thank me, thank OopsWare, he did all the real work!
Title: Re: OopsWare's drivers
Post by: iq_132 on July 09, 2007, 12:00:21 AM
Oopsware has updated his pgm driver, it now has full sound!
http://www.ojko.com/phpbb/viewtopic.php?f=29&p=18722&sid=50ab08b3e8098b929c4d9325b00845d9#p18722

Quote
* Changes:
 *
 * 07-09-2007
 *   Sound available
 *
 * 07-06-2007
 *  Change sceen scale 2:1 back to 4:3 ( sprites seems been stove )
 *  Add nPgmPalRecalc, support color depth change while gamming
 *  fix Save states
 *
 * 07-04-2007 ( IQ_132's release )
 *  Added all of BisonSAS's changes
 *  - Save State support
 *  - pgmPalUpdate()
 *  - Diagnostics Inputs
 *  - Dipswitches "Music and Voice"
 *  - Dipswitch "Disable Ba-Chieh" in sets orlegend, orlegnde and orlegndc
 *  - Removed chinese title in orlegend, orlegnde and orld105k
 *  - Save game configurations. (NVRAM)
 *  Drawing, protection, decrypt, sound, drivers, etc are all in seperate files
 *  All drivers for PGM games in MAME are added (though most, as in MAME, are not working)
 *  - Killing Blade, The (Chinese) is working (though glitchy)
 *  - Photoy2k & Real and Fake are working perfectly
 *  - Puzzle Star is working (though glitchy, freezes after second stage)
 *  - Dragon World 2 boots and runs, though the controls do not work (needs another irq?)
 *  - PGM Homebrew (PGM Frog Feast, PGM Demo) are supported (in the source) and work Perfectly
 *  All games have a shared loading routine (like CPS-2 and NeoGeo)
 *  All games have a shared memory map (like CPS-2 and NeoGeo)
 *  Improved Save states a little
 *  Removed code meant for low-ram environment
 *  Shortened and cleaned some code, removed a lot of 'printf's'
 *  Added all decrypt routines


Do please note that this is quite a lot slower than without sound.
Title: Re: OopsWare's drivers
Post by: KaNyErO on July 09, 2007, 10:21:32 AM
slow enough to be too unplayable on xbox ?  :confused:
Title: Re: OopsWare's drivers
Post by: CaptainCPS on July 09, 2007, 01:53:18 PM
If it's slower I have'nt noticed at least in my case ^^... (but should be on other pc's with lower specs)

here is one pic from my experience  :p...

(Had no success again using my server for the image so had to attach it)

I added the Oopsware drivers to my build of FBA Extras R21 and for PGM I only need to make its UI implementation in the Game Selection dialog like the other systems, instead of searching for them in Misc  :smilie:. (I will try to add that in my free days of work btw)

SeeYaa!
:biggrin:
Title: Re: OopsWare's drivers
Post by: iq_132 on July 09, 2007, 01:56:55 PM
it may be related to me running a debug build. ^^
Title: Re: OopsWare's drivers
Post by: iq_132 on July 15, 2007, 12:12:23 PM
Oopsware's preliminary system m92 driver.
It's pretty rough, but he's added the nec v30/v33 cpu core :)

The controls are not implemented, there's no sound, and there are gfx glitches,
but it's a nice start. :)


Here's how to change your makefile to add this:

Quote

Find this line.

alldir   = burn ...

Add this to the end

cpu/nec


Find this:


       d_psikyo.o \
      \


Add this after

       d_m92.o \
      \


Find this:


      sek.o zet.o doze.o eeprom_93cxx.o \


Add this after

      nec.o vez.o \



Link to the original post (http://www.ojko.com/phpbb/viewtopic.php?f=3&t=3112)
Title: Re: OopsWare's drivers
Post by: iq_132 on July 15, 2007, 12:14:16 PM
Power Instinct & 1945kii drivers.

Original Post (http://www.ojko.com/phpbb/viewtopic.php?f=3&t=3114)
Title: Re: OopsWare's drivers
Post by: iq_132 on July 17, 2007, 07:41:50 AM
Quote from: Oopsware
small update of this driver, we can play hook without sound and a bit of graphic error
add in the hunt driver, can play the first stage. :mrgreen:

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


Directions to add this are here (http://neo-source.com/index.php?topic=712.msg5961#msg5961)
Title: OopsWare's drivers - Guardians / Denjin Makai II
Post by: BisonSAS on December 03, 2007, 09:59:01 PM
OopsWare release new driver. :cool:

Guardians / Denjin Makai II
Seta 2 hardware

Quote from: OopsWare
to make this driver work, we need modify souce code of sek.cpp

Code:
Code: [Select]
extern "C" int M68KIRQAcknowledge(int nIRQ)
{
   if (nSekIRQPending[nSekActive] & SEK_IRQSTATUS_AUTO) {
      m68k_set_irq(0);
      nSekIRQPending[nSekActive] = 0;
   }

   // Enable IrqCallback for M68K
   // by OopsWare 2007.11
   if (pSekExt->IrqCallback) {
      return pSekExt->IrqCallback(nIRQ);
   } else
      return M68K_INT_ACK_AUTOVECTOR;
}


static int A68KIRQAcknowledge(int nIRQ)
{
   if (nSekIRQPending[nSekActive] & SEK_IRQSTATUS_AUTO) {
      M68000_regs.irq &= 0x78;
      nSekIRQPending[nSekActive] = 0;
   }

   nSekIRQPending[nSekActive] = 0;

   // Enable IrqCallback for A68K
   // by OopsWare 2007.11
   if (pSekExt->IrqCallback) {
      return pSekExt->IrqCallback(nIRQ);
   } else
      return -1;

}
Title: Re: OopsWare's drivers
Post by: iq_132 on December 04, 2007, 03:15:40 PM
Very Nice! Looking forward to seeing some of the other drivers for that system added (even if support is partial).
Title: Re: OopsWare's drivers
Post by: KOF2112 on December 07, 2007, 01:44:11 PM
 :biggrin:

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

driver update

add drivers in seta2
Wakakusamonogatari Mahjong Yonshimai (Japan)
Kosodate Quiz My Angel (Japan)
Kosodate Quiz My Angel 2 (Japan) <<-- black screen
Puzzle De Bowling (Japan)
Penguin Brothers (Japan)
Title: Re: OopsWare's drivers
Post by: iq_132 on December 07, 2007, 07:23:37 PM
Excellent as always. :) Nice work Oopsware! and thanks for the news kof2112 :)
Title: Re: OopsWare's drivers
Post by: CaptainCPS on December 08, 2007, 01:18:56 PM
Pretty cool news around here on Christmas season  :p, have to keep an eye open  :biggrin:

Off topic: I'm changing from work place these days, and It's more probable that I can come back to work on FBA again. I'm always looking forward to bring life to our favorite emulator FBA at least with the knowledge I have with UI enhancements and other user-friendly settings ( and of course with the 'extra' drivers  :biggrin:) ^^

SeeYaa!
 :biggrin:
Title: Small changes in seta2 driver
Post by: BisonSAS on December 22, 2007, 05:33:50 PM
Small changes in seta2 driver:

-Added inputs "Diagnostics" and "Service";
-Added DIP "Test mode" in mj4simai, pzlbowl and penbros;
-Fixed DIP "Push start to freeze (cheat)" in myangel;
-Removed "P1 Button 3" and "P2 Button 3" in penbros;
-Fixed black screen in grdians (Test mode);
-Fixed black screen in myangel2;
-Added unicode titles
grdians: 電神魔塊 II
mj4simai: 若草物語 麻雀四姉妹
myangel: 子育てクイズ マイ エンジェル
myangel2: 子育てクイズ マイ エンジェル 2
pzlbowl: パズル DE ボーリング (thanks Tevetun)
penbros: ペンギン ブラザーズ
-Changed the hardware description "misc" to "Newer Seta";
-Changed Released by description in penbros "Subjapa" to "Subsino";

Note: The GFX in myangel2 is no good. :(
The game have problem in load GFX ROMs.

Using this load:
Quote
   // Load Gfx
   unsigned char * tmpGfx = (unsigned char *)malloc(0x0600000);
   for (int i=0; i<8; i+=2) {
      BurnLoadRom(tmpGfx + 0x0400000, i+4, 1);
      BurnLoadRom(tmpGfx + 0x0000000, i+5, 1);
      memcpy(tmpGfx + 0x0400000, tmpGfx + 0x0200000, 0x0200000);
      loadDecodeGfx( tmpGfx, 0x0600000 / 2, i );
   }
   free(tmpGfx);
Result this:
(http://bisonsas.googlepages.com/myangel2-12-22-020051.png)

Using this load:
Quote
   // Load Gfx
   unsigned char * tmpGfx = (unsigned char *)malloc(0x0600000);
   for (int i=0; i<8; i+=2) {
      BurnLoadRom(tmpGfx + 0x0400000, i+4, 1);
      BurnLoadRom(tmpGfx + 0x0000000, i+5, 1);
      loadDecodeGfx( tmpGfx, 0x0600000 / 2, i );
   }
   free(tmpGfx);
Result this:
(http://bisonsas.googlepages.com/myangel2-12-21-103612.png)
Any idea to fix this? :confused:
Title: Re: OopsWare's drivers
Post by: CaptainCPS on December 22, 2007, 06:31:27 PM
Good job man!

Im changing some stuff to see the results and well... they are worse xD

Look at the attachment

SeeYaa!
 :biggrin:
Title: Re: OopsWare's drivers
Post by: CaptainCPS on December 22, 2007, 06:58:55 PM
How MAME handle the GFX Loading  or decoding for 'myangel2' ?

SeeYaa!
 :biggrin:
Title: Re: OopsWare's drivers
Post by: BisonSAS on December 22, 2007, 09:12:06 PM
How MAME handle the GFX Loading  or decoding for 'myangel2' ?
Look:
Code: [Select]
ROM_REGION( 0x1800000, REGION_GFX1, ROMREGION_DISPOSE ) /* Sprites */
ROM_LOAD( "kqs1-cg4.u20", 0x0000000, 0x200000, CRC(d1802241) SHA1(52c45a13d46f7ee8043e85b99d07b1765ca93dcc) )
ROM_LOAD( "kqs1-cg0.u16", 0x0200000, 0x400000, CRC(c21a33a7) SHA1(bc6f479a8f4c716ba79a725f160ddeb95fdedbcb) )
ROM_LOAD( "kqs1-cg5.u19", 0x0600000, 0x200000, CRC(d86cf19c) SHA1(da5a5b576ce107433605b24d8b9dcd0abd46bcde) )
ROM_LOAD( "kqs1-cg1.u15", 0x0800000, 0x400000, CRC(dca799ba) SHA1(8379b11472c27b1945fe7fc274c7fedf756accba) )
ROM_LOAD( "kqs1-cg6.u22", 0x0c00000, 0x200000, CRC(3f08886b) SHA1(054546ae44ffa5d0973f4ead080fe720a340e144) )
ROM_LOAD( "kqs1-cg2.u18", 0x0e00000, 0x400000, CRC(f7f92c7e) SHA1(24a525a15fded0de6e382b346da6bd5e7b9eced5) )
ROM_LOAD( "kqs1-cg7.u21", 0x1200000, 0x200000, CRC(2c977904) SHA1(2589447f2471cdc414266b34aff552044c680d93) )
ROM_LOAD( "kqs1-cg3.u17", 0x1400000, 0x400000, CRC(de3b2191) SHA1(d7d6ea07b665cfd834747d3c0776b968ce03bc6a) )

 :cool:
Title: Re: OopsWare's drivers
Post by: CaptainCPS on December 23, 2007, 02:22:31 AM
Look:
Code: [Select]
ROM_REGION( 0x1800000, REGION_GFX1, ROMREGION_DISPOSE ) /* Sprites */
ROM_LOAD( "kqs1-cg4.u20", 0x0000000, 0x200000, CRC(d1802241) SHA1(52c45a13d46f7ee8043e85b99d07b1765ca93dcc) )
ROM_LOAD( "kqs1-cg0.u16", 0x0200000, 0x400000, CRC(c21a33a7) SHA1(bc6f479a8f4c716ba79a725f160ddeb95fdedbcb) )
ROM_LOAD( "kqs1-cg5.u19", 0x0600000, 0x200000, CRC(d86cf19c) SHA1(da5a5b576ce107433605b24d8b9dcd0abd46bcde) )
ROM_LOAD( "kqs1-cg1.u15", 0x0800000, 0x400000, CRC(dca799ba) SHA1(8379b11472c27b1945fe7fc274c7fedf756accba) )
ROM_LOAD( "kqs1-cg6.u22", 0x0c00000, 0x200000, CRC(3f08886b) SHA1(054546ae44ffa5d0973f4ead080fe720a340e144) )
ROM_LOAD( "kqs1-cg2.u18", 0x0e00000, 0x400000, CRC(f7f92c7e) SHA1(24a525a15fded0de6e382b346da6bd5e7b9eced5) )
ROM_LOAD( "kqs1-cg7.u21", 0x1200000, 0x200000, CRC(2c977904) SHA1(2589447f2471cdc414266b34aff552044c680d93) )
ROM_LOAD( "kqs1-cg3.u17", 0x1400000, 0x400000, CRC(de3b2191) SHA1(d7d6ea07b665cfd834747d3c0776b968ce03bc6a) )

 :cool:

ThanX BisonSAS ^^ but I was asking about this ...

Quote

   // Load Gfx
   unsigned char * tmpGfx = (unsigned char *)malloc(0x0600000);
   for (int i=0; i<8; i+=2) {
      BurnLoadRom(tmpGfx + 0x0400000, i+4, 1);
      BurnLoadRom(tmpGfx + 0x0000000, i+5, 1);
      memcpy(tmpGfx + 0x0400000, tmpGfx + 0x0200000, 0x0200000);
      loadDecodeGfx( tmpGfx, 0x0600000 / 2, i );
   }
   free(tmpGfx);


but in MAME version, or MAME doesn't need that kind of code?

SeeYaa!
 :biggrin:
Title: Re: OopsWare's drivers
Post by: BisonSAS on December 23, 2007, 06:08:48 AM
but in MAME version, or MAME doesn't need that kind of code?
CaptainCPS-X
MAME doesn't need that kind of code. :p

 :cool:
Title: Raiden Driver by OopsWare
Post by: nganiere on January 01, 2008, 11:49:09 PM
anyone get this working compiling it....it works in FBA Shuffle......just asking....would be nice to add to my build
Title: PGM update
Post by: BisonSAS on January 08, 2008, 02:44:25 AM
Title: Re: OopsWare's drivers
Post by: Leaf on January 08, 2008, 12:17:29 PM
Thanks BisonSAS! :wink:
There's other unicode titles added by Creamymami.
Title: Re: OopsWare's drivers
Post by: CaptainCPS on January 08, 2008, 12:54:55 PM
Very nice BisonSAS! ^^

ThanX guys!  :biggrin:

SeeYaa!
 :biggrin:
Title: Re: OopsWare's drivers
Post by: iq_132 on January 08, 2008, 01:33:57 PM
Agreed. Nice work. :)
Title: Re: OopsWare's drivers
Post by: BisonSAS on January 08, 2008, 09:48:15 PM
Thanks BisonSAS!
There's other unicode titles added by Creamymami.
Thanks Leaf. :wink:

However, I no agree with all Creamymami changes. :p
Creamymami removed certain japanese and chinese (Taiwan) titles. :S
And added other's strange titles...

Look the puzzli2 title:
(http://img443.imageshack.us/img443/8710/puzzli20622185338ag5.png)

Creamymami puzzli2 title: 超级难题


Title: Re: OopsWare's drivers
Post by: OopsWare on January 08, 2008, 11:32:15 PM
thanks BisonSAS
Title: Re: OopsWare's drivers
Post by: Leaf on January 08, 2008, 11:46:20 PM
However, I no agree with all Creamymami changes. :p
Creamymami removed certain japanese and chinese (Taiwan) titles. :S
And added other's strange titles...
Creamymami puzzli2 title: 超级难题
Yes, I merged your file, thanks.
The puzzli2 title should be 兔兔钓鱼岛/泡泡钓鱼岛  :p


OopsWare,我替别人反映几个问题。
西游记里的按键42646+A用426+A就能使出,还有646464用646也能按出,好像被简化了,原版没有这样。
还有就是sprite zoom effect,期待你的完善。:>
Title: Re: OopsWare's drivers
Post by: OopsWare on January 09, 2008, 01:42:49 AM
Yes, I merged your file, thanks.
The puzzli2 title should be 兔兔钓鱼岛/泡泡钓鱼岛  :p


OopsWare,我替别人反映几个问题。
西游记里的按键42646+A用426+A就能使出,还有646464用646也能按出,好像被简化了,原版没有这样。
还有就是sprite zoom effect,期待你的完善。:>

好像在一些非官方版本的FBA里增加了自定义组合键的功能,而且一些ROM也是经过修改,简化出招的。
至于 sprite zoom effect ,当时只是为了能在手机上玩 kov ,没有去实现,好像这种情况不是太多
(kov plus的角色选择画面中,待选角色好像是压缩的,其他没印象会用到)也就懒的继续了。

some unofficial release of FBA has customize combo key function. and there many hacked rom's
combo key been predigest too .

the original intention i port this driver is to play PGM game on handhold devices,
have not this effect considering of the speed, and the effect seldom be found .
(kov plus's avatar select ???)
Title: Re: OopsWare's drivers
Post by: Leaf on January 09, 2008, 02:22:29 AM
好像在一些非官方版本的FBA里增加了自定义组合键的功能,而且一些ROM也是经过修改,简化出招的。
至于 sprite zoom effect ,当时只是为了能在手机上玩 kov ,没有去实现,好像这种情况不是太多
(kov plus的角色选择画面中,待选角色好像是压缩的,其他没印象会用到)也就懒的继续了。
谢谢回复。现在确定是没有用非标准rom,也没有用什么自定义组合键等等功能。在官方fba上同样有这个问题。
在街机上西游记中按abc蓄满气,然后缩小是要按646464,大招是按42646+A;但fba上按646就能缩小,导致用42646+A发大招时还没按A就变缩小了。mame上没有这个问题。
zoom除了kovplus的选人,还包括kov kov115 kovj隐藏人物张辽的大小;西游记的人物缩小;kov2 kov2p的对话框文字。不过这些倒没什么关系。
只是报告一下可能的bug,改不改都没关系。:p
Title: Re: OopsWare's drivers
Post by: OopsWare on January 09, 2008, 02:53:23 AM
thanks Leaf

and the file fix PGM sound .
Title: Re: OopsWare's drivers
Post by: 0746 on January 12, 2008, 04:57:48 PM
Oopsware...you're awesome x2 reloaded.
Title: Re: OopsWare's drivers
Post by: ak47128 on January 18, 2008, 10:00:30 AM
希望能搞定MD跟SEGA的驅動,使其正常,因為SEGA除了幾個正常之外,不是無聲就是不正常聲音,而MD是無聲音跟按鍵錯誤,期待修正

Hope to settle the drive with SEGA of MD, make its normal, because SEGA, except that several are normal, other either silent or abnormal voice, MD has no sound with the mistake of the button, expects to revise

PGM's GAME is unable to have the continuous key in MACRO with Oriental Legend And KOV, is this BUG ?
Title: Re: OopsWare's drivers
Post by: kev on February 02, 2008, 05:43:28 AM
Here is a very preliminary attempt at adding the driver for dynablaster/bomberman to Ooopsware's M-92 driver. Also included is a sh** attempt at the generic graphics decoding code. I am posting here as I recently lost about 3 hours of debugigng I did on this driver and I was lucky to have this backup.


Also, This might not work with the current public 'offical' FBA sources as is as I am prototyping some changes for the next version which may or may not get in. However it should be easy to get building if you mess with the includes a bit.
Title: Re: OopsWare's drivers
Post by: CaptainCPS on February 02, 2008, 05:51:11 AM
Here is a very preliminary attempt at adding the driver for dynablaster/bomberman to Ooopsware's M-92 driver. Also included is a sh** attempt at the generic graphics decoding code. I am posting here as I recently lost about 3 hours of debugigng I did on this driver and I was lucky to have this backup.


Also, This might not work with the current public 'offical' FBA sources as is as I am prototyping some changes for the next version which may or may not get in. However it should be easy to get building if you mess with the includes a bit.

ThanX Kev ^^, I will try them out asap (btw, it's good to have your updates around too man =) )

SeeYaa!
 :biggrin:
Title: Seta2 driver
Post by: BisonSAS on February 06, 2008, 02:02:53 AM

Hey OopsWare, any idea to fix load GFX ROMs in myangel2? :p
Title: Re: OopsWare's drivers
Post by: KOF2112 on February 06, 2008, 02:56:38 AM
Thanks BisonSAS

 :biggrin:
happy new year