Author Topic: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...  (Read 6892 times)

Online dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« on: May 22, 2014, 02:29:07 AM »
Hi guys, I took iq_132's partially done Zaxxon/Congo Bongo driver and spiffed it up a bit.  So far you can play Congo Bongo with the joystick, but without sound(s).

I noticed that the game needs PPI8255.  Is it worth continuing on with the driver without that?  How does one emulate it?
Any idea how to get the sound working?
Feel free to post any changes here in this thread, maybe we can have a shared driver-learning experiance :)

How-to install in the fba code: copy this driver to src/burn/drv/pre90s/ then edit makefile.burn_rules, search for d_zerozone.o, and add " d_zaxxon.o" behind it, so the line looks like:
         d_zerozone.o d_zaxxon.o \
Save & run make.

best regards,
- dink
« Last Edit: May 22, 2014, 02:31:40 AM by dink »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #1 on: May 22, 2014, 10:11:38 AM »
Heh, I was wondering when you'd find the thread with the crapload of half-finished drivers in it.


Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #2 on: May 22, 2014, 10:51:56 AM »
Hi guys, I took iq_132's partially done Zaxxon/Congo Bongo driver and spiffed it up a bit.  So far you can play Congo Bongo with the joystick, but without sound(s).

I noticed that the game needs PPI8255.  Is it worth continuing on with the driver without that?  How does one emulate it?
Any idea how to get the sound working?
Feel free to post any changes here in this thread, maybe we can have a shared driver-learning experiance :)

A quick glance at the zaxxon.c MAME driver will give you more info about which sound cores and samples are required for the games if they are not a part of FBA you would have to Port em across as for the PPI8255 maybe it's a communication device for the CPU's??
it really does seem to be needed as it's a part of quite a few operations in the zaxxon.c driver again you may have to port it across from MAME

here's the currant MAME driver for zaxxon.c
http://mamedev.org/source/src/mame/drivers/zaxxon.c.html

this machine src file seems to be related to the ppi commands
http://mamedev.org/source/src/emu/machine/i8255.h.html
« Last Edit: May 22, 2014, 10:58:28 AM by gamez fan »

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #3 on: May 22, 2014, 03:20:06 PM »
FBA has PPI8255 emulation already, there are a fair few drivers that use it.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Online dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #4 on: May 22, 2014, 04:28:15 PM »
Thanks for the heads up Treble Winner - I guess I got so caught up multitasking so many different things that I had overlooked it. 

I am hoping you guys would try to finish this one, I have so many things on my todo list right now its driving me bonkers  :eek:  :p

best regards,
- dink

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #5 on: May 22, 2014, 05:40:15 PM »
Thanks for the heads up Treble Winner - I guess I got so caught up multitasking so many different things that I had overlooked it. 

I am hoping you guys would try to finish this one, I have so many things on my todo list right now its driving me bonkers  :eek:  :p

best regards,
- dink
Yuppers. Very unfinished. I don't even remember what all it needs. I need to start documenting things better when they're wip.


Offline vbt

  • FBNeo Contributor
  • *****
  • Posts: 205
  • Karma: +9005/-0
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #6 on: May 22, 2014, 06:22:51 PM »
i'll try to add zaxxon =) also where is the unfinished driver thread ?

Offline vbt

  • FBNeo Contributor
  • *****
  • Posts: 205
  • Karma: +9005/-0
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #7 on: August 06, 2014, 07:08:15 AM »
some fix done, not really perfect but now IN2(coins+start) is working for zaxxon and super zaxxon.
starting sound job using mame samples.

Online dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #8 on: August 06, 2014, 02:42:29 PM »
Sounds good :)  Can't wait to play it in FBA w/sound :D

best regards,
- dink

Offline vbt

  • FBNeo Contributor
  • *****
  • Posts: 205
  • Karma: +9005/-0
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #9 on: November 15, 2014, 01:44:56 PM »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #10 on: November 16, 2014, 12:53:18 AM »
That's pretty wicked! Nice work! I'd be interested in seeing it in motion. ^^


Offline vbt

  • FBNeo Contributor
  • *****
  • Posts: 205
  • Karma: +9005/-0
Re: d_zaxxon.cpp: Zaxxon / Congo Bongo - so far...
« Reply #11 on: June 14, 2015, 04:38:59 PM »
just a side note the driver was updated on mame 0.162 :

-zaxxon.c: Use SN76489A for sound as shown on congo bongo
 schematic [Lord Nightmare]