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

Post by yzoer »

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: 111
Joined: Sun Mar 06, 2011 11:39 pm

Post by TSC »

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

Post by TonyD »

nice. I was wondering what you've been doing the last couple of months.
User avatar
Ross
Verified
XCore Legend
Posts: 1117
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

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

Post by yzoer »

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
Verified
XCore Legend
Posts: 1117
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

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

Post by Bianco »

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

Post by deadshot »

yzoer

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