Author Topic: Porting MAME drivers (vbt's work in progress)  (Read 23866 times)

Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #15 on: August 18, 2012, 06:27:44 AM »
i start with a complete driver : pengo2u
maybe i'll need some help :)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3584
  • Karma: +385/-0
  • What's a pac?
    • NeoSource
Re: Porting MAME drivers
« Reply #16 on: August 21, 2012, 05:51:26 AM »
i start with a complete driver : pengo2u
maybe i'll need some help :)
By all means, post about it here. :) I'm glad to help.


Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #17 on: August 22, 2012, 12:51:06 PM »
Thanks, iq! I send it soon, I did something but nothing run yet, only tile decoding is correct. then I'll port SEGA SHOOTING ZONE & System E :)

Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #18 on: August 23, 2012, 05:29:11 PM »
here is my WIP,there is nothing for sound and sprites but (I don't know if it's a good way) I wanted just to do enough to display background then fix colors, add sound, add sprites.
well Iq if you can spot wrong thing, i want to learn, thanks :)

NB : it's saturn port, i have nothing on this pc to work on pc version. so it's almost the same thing :)
« Last Edit: August 23, 2012, 05:38:48 PM by vbt »

Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #19 on: January 29, 2014, 03:32:03 PM »
well, finally i've fixed bug on saturn version. pc version is still working well
I return to wonderboy 2 driver port =)))


Offline iq_132

  • Administrator
  • *****
  • Posts: 3584
  • Karma: +385/-0
  • What's a pac?
    • NeoSource
Re: Porting MAME drivers
« Reply #20 on: January 29, 2014, 08:11:56 PM »
Very impressive. Are you rendering these on the Saturn's 3d hardware or the 2d hardware??


Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #21 on: January 31, 2014, 02:06:15 PM »
Very impressive. Are you rendering these on the Saturn's 3d hardware or the 2d hardware??
there is not really 3D hardware, let's say i render system1 sprites as Saturn sprites and tiles/maps as saturn tiles/maps
choplifter adds also linescroll (converted to saturn hardware too)

Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #22 on: July 08, 2014, 05:54:06 PM »
for feedback, source only fbad was too  big
dink, it's a job for you, testing choplipfter on fba except if you don't like the game

Offline dink

  • Administrator
  • *****
  • Posts: 3038
  • Karma: +259/-0
  • feed the horse yumyum
Re: Porting MAME drivers
« Reply #23 on: July 09, 2014, 03:41:21 PM »
dink, it's a job for you, testing choplipfter on fba except if you don't like the game

I would be delighted to, please link me the driver :)

best regards,
- dink

Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #24 on: July 09, 2014, 03:50:20 PM »
« Last Edit: July 09, 2014, 03:52:36 PM by vbt »

Offline dink

  • Administrator
  • *****
  • Posts: 3038
  • Karma: +259/-0
  • feed the horse yumyum
Re: Porting MAME drivers
« Reply #25 on: July 09, 2014, 04:45:55 PM »
Thanks, I'll have to port your driver to the newest codebase, because it has problems linking here before I can try it.

Offline dink

  • Administrator
  • *****
  • Posts: 3038
  • Karma: +259/-0
  • feed the horse yumyum
Re: Porting MAME drivers
« Reply #26 on: July 09, 2014, 05:26:35 PM »
Alright! Excellent work, my friend :)  I played for a few minutes after porting it over to the latest FBA codebase, and everything seems A-OK :)
I will play some more later tonight when I have more time, and let you know how it goes.

best regards,
- dink

Offline vbt

  • FBA Contributor
  • *****
  • Posts: 195
  • Karma: +9005/-0
Re: Porting MAME drivers
« Reply #27 on: July 09, 2014, 07:05:10 PM »
Alright! Excellent work, my friend :)  I played for a few minutes after porting it over to the latest FBA codebase, and everything seems A-OK :)
I will play some more later tonight when I have more time, and let you know how it goes.

best regards,
- dink
ahah ! great news ! big thanks Dink ! i still have to port your congo bongo driver on saturn(+add zaxxon) and also i'm waiting for some new drivers like the upl written by iq !

Offline dink

  • Administrator
  • *****
  • Posts: 3038
  • Karma: +259/-0
  • feed the horse yumyum
Re: Porting MAME drivers
« Reply #28 on: July 10, 2014, 01:41:00 AM »
I'm thinking about how we should add this to FBA (officially), can you get the parent rom (chplft.zip aka choplift.zip) to work as well?  Maybe iq_132 can help with the mcu emulation part (if needed).  Or, if we can't get the parent rom working, maybe there's a way to get only chplftb (aka chopliftu.zip new romset name) listed in the games list, but also require choplift.zip (parent rom) - to keep things looking nice. 

Heres the latest d_sys1.cpp with your driver added - it should work fine with .29 as well as the upcoming .30.  I changed something in memindex, so that access to System1ScrollXRam doesn't go into the next variable's memory space. System1VideoRam + 0x7C0 goes past System1VideoRam as its only 0x700 in size.  Other than that, everything looks good :)
old:
Code: [Select]
System1VideoRam        = Next; Next += 0x000700;
System1ScrollXRam = System1VideoRam + 0x7C0;
new:
Code: [Select]
System1VideoRam        = Next; Next += 0x000800;
        System1ScrollXRam      = System1VideoRam + 0x7C0;

best regards,
- dink
« Last Edit: July 10, 2014, 01:43:00 AM by dink »

Offline Treble Winner

  • dontbeabarry
  • *
  • Posts: 1795
  • Karma: +0/-1001
Re: Porting MAME drivers
« Reply #29 on: July 10, 2014, 04:57:21 AM »
Just add the parent as non-working and let the working clone(s) branch off it.

We used to have quite a few like that (not so many now), and it gives people the motivation to fix the non-working parent. :)
Account of Barry Harris; the traitor.