Welcome!

IQ's PGM WIP

iq_132 · 321 · 347581

Offline moozooh

  • New Member
  • *
    • Posts: 2
    • Karma: +1/-0
Thanks a lot for the releases! They surely were unexpected considering the earlier debate.

Btw, what made you decide in favor of doing so? I thought there were some legal worries in that regard, so did they go away or something?


Offline iq_132

  • Administrator
  • *****
    • Posts: 3732
    • Karma: +413/-0
  • Definitely not Dink!
    • NeoSource
Thanks a lot for the releases! They surely were unexpected considering the earlier debate.

Btw, what made you decide in favor of doing so? I thought there were some legal worries in that regard, so did they go away or something?
Well, at this point Cave has ignored the roms being added to MAME (and being somewhat playable). The assumption is that they don't care.  If they/we get a c&d or a complaint we will remove the drivers from the official builds.



Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0
Found a bug on the current PGM WIP code. KOV will keep looping over and over after the character has been selected. Confirmed on a windows build too


Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0
fixed it

in pgm_prot.cpp use this code
Code: [Select]
static void pgm_kov_asic27_w(unsigned short offset, unsigned short data)
{
if(offset==0) {
unsigned short realkey;
realkey=ASIC27KEY>>8;
realkey|=ASIC27KEY;
data^=realkey;
ASIC27REGS[0]=data;
return;
}
if(offset==2) {
unsigned short realkey;

ASIC27KEY=data&0xff00;

realkey=ASIC27KEY>>8;
realkey|=ASIC27KEY;
data^=realkey;
ASIC27REGS[1]=data;

ASICPARAMS[ASIC27REGS[1]&0xff]=ASIC27REGS[0];
if(ASIC27REGS[1]==0xE7) {
unsigned int E0R=(ASICPARAMS[0xE7]>>12)&0xf;
E0REGS[E0R]&=0xffff;
E0REGS[E0R]|=ASIC27REGS[0]<<16;
}
if(ASIC27REGS[1]==0xE5) {
unsigned int E0R=(ASICPARAMS[0xE7]>>12)&0xf;
E0REGS[E0R]&=0xff0000;
E0REGS[E0R]|=ASIC27REGS[0];
}
ASIC27RCNT=0;
}
}


Offline JacKc

  • FBNeo Dev
  • ******
    • Posts: 1714
    • Karma: +63/-0
  • Hasta la vista, Baby !
Thanks Lantus for the fix...Iv'e noticed also in the current PGM WIP code that olds, olds100 and olds100a are stuck at the calendar screen and a minor graphical bug on drgw2 and clones. Also some problem with latest ics2115.h sent by iq_132 (sounds and BGM for some games are too high, crackles and very distorded).
« Last Edit: December 13, 2010, 04:52:48 PM by JacKc »



Offline CaptainCPS

  • FBNeo Dev
  • ******
    • Posts: 1513
    • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home

@Lantus, thanks for sharing the KOV fix  :wink: I appreciate it! ^^

SeeYaa!
 :biggrin:
« Last Edit: December 13, 2010, 11:15:23 PM by CaptainCPS-X »


Offline Shin

  • New Member
  • *
    • Posts: 3
    • Karma: +0/-0
Amazing work you guys ! and thanks a lot for porting it that fast into FBANext ^^

from what I gather, DDP2 - BeeStrom won't be playable untile the protection scheme is known or bypassed ?
Any progress on dumping gfx&snd from EspGaluda?


Offline iq_132

  • Administrator
  • *****
    • Posts: 3732
    • Karma: +413/-0
  • Definitely not Dink!
    • NeoSource
Thanks Lantus for the fix...Iv'e noticed also in the current PGM WIP code that olds, olds100 and olds100a are stuck at the calendar screen and a minor graphical bug on drgw2 and clones. Also some problem with latest ics2115.h sent by iq_132 (sounds and BGM for some games are too high, crackles and very distorded).

Drgw2 fix:

Find this (in pgm_draw.cpp)
Code: [Select]
if (xgrow) xzom = (0x10 - xzom) * 2;
if (ygrow) yzom = (0x10 - yzom) * 2;

unsigned int xzoom = (zoomtable[xzom] << 16) | zoomtable[xzom + 1];
unsigned int yzoom = (zoomtable[yzom] << 16) | zoomtable[yzom + 1];

Replace with:

Code: [Select]
if (xgrow) xzom = 0x10 - xzom;
if (ygrow) yzom = 0x10 - yzom;

unsigned int xzoom = (zoomtable[xzom*2] << 16) | zoomtable[xzom*2 + 1];
unsigned int yzoom = (zoomtable[yzom*2] << 16) | zoomtable[yzom*2 + 1];



Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0
thanks iq :)

fix works great. Did you take a look at kov2p yet? Its stuck on the calender screen on bootup


Offline iq_132

  • Administrator
  • *****
    • Posts: 3732
    • Karma: +413/-0
  • Definitely not Dink!
    • NeoSource
thanks iq :)

fix works great. Did you take a look at kov2p yet? Its stuck on the calender screen on bootup
Might be an endian-related issue.  Try the init from the previous sources (with the different patches). I can't reproduce it on pc. :S



Offline iq_132

  • Administrator
  • *****
    • Posts: 3732
    • Karma: +413/-0
  • Definitely not Dink!
    • NeoSource
Here's a little video of Espgaluda. Thanks to Haze for sharing the dump with me. :)

http://www.youtube.com/watch?v=IpkxVXAF7WQ
« Last Edit: December 16, 2010, 11:27:56 PM by iq_132 »



Offline RetroRepair

  • New Member
  • *
    • Posts: 2
    • Karma: +1/-0
Now we're talkin'  :cool:

Shame it was a bad dump, but much nicer than ESPKetsuda: http://www.youtube.com/watch?v=BtZT4Do00wI

:D


Offline CaptainCPS

  • FBNeo Dev
  • ******
    • Posts: 1513
    • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Great stuff IQ! ^^ I love the video! BGM of the game is cool too! :D

SeeYaa!
 :biggrin:


Offline JacKc

  • FBNeo Dev
  • ******
    • Posts: 1714
    • Karma: +63/-0
  • Hasta la vista, Baby !
Wow...Very good news. Shame the graphic roms were bad dumps...Hope someone could redump them !



Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0