Author Topic: OopsWare's drivers  (Read 30933 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
OopsWare's drivers
« 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
« Last Edit: July 05, 2007, 10:16:21 AM by iq_132 »


Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: OopsWare's drivers
« Reply #1 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


Offline nganiere

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-4
Re: OopsWare's drivers
« Reply #2 on: July 03, 2007, 07:18:28 PM »
how do you comment that pgm version driver of yours in the makefile, iq_132?

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: OopsWare's drivers
« Reply #3 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 \
      \




Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: OopsWare's drivers
« Reply #4 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:

Offline FBA Fan

  • New Member
  • *
  • Posts: 5
  • Karma: +0/-0
Re: OopsWare's drivers
« Reply #5 on: July 04, 2007, 04:42:25 AM »
Thanks up~!

Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: OopsWare's drivers
« Reply #6 on: July 04, 2007, 10:32:50 PM »
Great! Very nice work! :biggrin: Thanks! :smilie:

Offline xinlin

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
Re: OopsWare's drivers
« Reply #7 on: July 04, 2007, 11:26:57 PM »
thank you very much! But the game has no sound!

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: OopsWare's drivers
« Reply #8 on: July 05, 2007, 01:04:20 AM »
xinlin, read the notes at the top of d_pgm.cpp


Offline xinlin

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
Re: OopsWare's drivers
« Reply #9 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.

Offline rush1477

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
Re: OopsWare's drivers
« Reply #10 on: July 05, 2007, 05:12:22 AM »
Thank you very much, iq_132

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: OopsWare's drivers
« Reply #11 on: July 05, 2007, 10:15:31 AM »
Don't thank me, thank OopsWare, he did all the real work!


Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: OopsWare's drivers
« Reply #12 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.


Offline KaNyErO

  • Member
  • ***
  • Posts: 142
  • Karma: +4/-0
Re: OopsWare's drivers
« Reply #13 on: July 09, 2007, 10:21:32 AM »
slow enough to be too unplayable on xbox ?  :confused:

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: OopsWare's drivers
« Reply #14 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: