Mame-on-a-stick

XCore Project reviews, ideas, videos and proposals.
yzoer
XCore Addict
Posts: 133
Joined: Tue Dec 15, 2009 10:23 pm

Mame-on-a-stick

Postby yzoer » Mon Dec 02, 2013 9:30 pm

Something I've been sitting on for waaaaay too long..

-Yvo
You do not have the required permissions to view the files attached to this post.
User avatar
TSC
Experienced Member
Posts: 99
Joined: Sun Mar 06, 2011 11:39 pm

Postby TSC » Tue Dec 03, 2013 9:42 am

Very Nice!

How many different games can it play? What tasks does each logical core do?
User avatar
TonyD
XCore Addict
Posts: 234
Joined: Thu Dec 10, 2009 11:11 pm
Location: Newcastle, UK

Postby TonyD » Tue Dec 03, 2013 1:46 pm

nice. I was wondering what you've been doing the last couple of months.
User avatar
Ross
XCore Expert
Posts: 768
Joined: Thu Dec 10, 2009 9:20 pm

Postby Ross » Tue Dec 03, 2013 10:50 pm

that looks really great!
yzoer
XCore Addict
Posts: 133
Joined: Tue Dec 15, 2009 10:23 pm

Postby yzoer » Wed Dec 04, 2013 2:07 am

TSC wrote:Very Nice!

How many different games can it play? What tasks does each logical core do?
Right now it can only do pacman and ms.pacman as they share the same arcade hardware. Most early 1980's games that are under 48k or so should work fine. It's just pretty time-consuming to write emulators, despite the fact that you've got mame as a reference. Some games that I had intended were:

Scramble
Donkey Kong / Donkey Kong Jr.
Dingo
Pengo
Ladybug
Galaxian
Galaga (that's an interesting one as it has 3 z80's but it fits memory wise)
The Pit
Amidar
Centipede

and a bunch of others. As far as the core allocation goes:

1 core for driving the display
1 core for rendering the display
1 core for audio
1 core for PWM
1 core for the game / z80 emulation

So there's some wiggle room in terms of having additional processors in case of Galaga. The z80 emulation core can probably be halved in size if I'd rewrite it in assembler but I really don't have the time for that unfortunately.

I/O wise, it's got an 8-way joystick with a selection switch, which nicely serves as a coin drop :-)

Yvo
User avatar
Ross
XCore Expert
Posts: 768
Joined: Thu Dec 10, 2009 9:20 pm

Postby Ross » Wed Dec 04, 2013 11:42 am

I'd be up for lending a hand towards this project if you ever feel like open sourcing it

This is something i've always wanted to do, but never had time :(
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Postby Bianco » Wed Dec 04, 2013 1:33 pm

Nice work :)
deadshot
Member++
Posts: 17
Joined: Thu Oct 14, 2010 4:43 pm

Postby deadshot » Fri Sep 05, 2014 3:57 pm

yzoer

Any luck porting the mame-on-a-stick or the VDP to the startkit?

Who is online

Users browsing this forum: No registered users and 1 guest