English Amiga Board Home Mobile Skin      


Go Back   English Amiga Board > Support > support.Hardware

Reply
 
LinkBack Thread Tools
Old 13 September 2008, 02:41   #1
FPGAmiga rulez!
 
FrenchShark's Avatar
 
Join Date: Dec 2007
Location: South of France
Age: 39
Posts: 143
Cool Arcade game "1943 : the battle of midway" running on an FPGA!

Hello,

this is a cross-post from A.org.

It is a little bit OT but, it can be interesting for Minimig owners.
I have ported the coin-op game from Capcom to an FPGA.
Check this little video:
http://www.youtube.com/watch?v=9UuDf9zZqCg

The game fits in 3500 LEs (I did not write the sound part yet).
It is displayed on a VGA screen at 1280x1024, 60Hz.
The internal architecture is built on 16-bit bus running at 24 MHz (384 clocks per scanline, 1048 lines per frame) with a 8-channel DMA scheduler :
- the main Z80
- the audio Z80 (not used yet)
- the scroll #1 tilemap
- the scroll #2 tilemap
- the scroll #1 graphics
- the scroll #2 graphics
- the sprite graphics
- the character graphics
All the game ROMs (864KB) are stored in an external SSRAM and are accessed through DMA.

If the Minimig HW is fitted with 10ns SRAM, it is possible to run this game.

Regards,

Frederic
FrenchShark is offline   Reply With Quote
AdSense AdSense  
Advertisement:
Old 13 September 2008, 11:26   #2
Likes to be thought of as
 
Dimlow's Avatar
 
Join Date: May 2008
Location: Kent,UK
Age: 44
Posts: 529
Send a message via MSN to Dimlow Send a message via Yahoo to Dimlow
This looks good, are you running it on Altera Dev board and if so what one.
Dimlow is offline   Reply With Quote
Old 13 September 2008, 12:00   #3
Angry Kid Fan
 
X-ray's Avatar
 
Join Date: Oct 2004
Location: London
Posts: 230
That was one of my favourite arcade games, especially two player co-op
__________________
http://www.angrykid.com/ for chippies and blood-juice
X-ray is offline   Reply With Quote
Old 13 September 2008, 17:55   #4
FPGAmiga rulez!
 
FrenchShark's Avatar
 
Join Date: Dec 2007
Location: South of France
Age: 39
Posts: 143
Quote:
Originally Posted by Dimlow View Post
This looks good, are you running it on Altera Dev board and if so what one.
No, it is a custom board I have made at work.
But, any dev board with at least 1 MB of fast SRAM can run it.
The Minimig has slow SRAM (55 ns), at least 20 ns SRAM has to be fitted to make it compatible with this game.
Now, I am working on putting the Scale2X algorithm in the game to improve the gfx quality. Then, I will had the sound

Regards,

Frederic
FrenchShark is offline   Reply With Quote
Old 13 September 2008, 18:18   #5
Likes to be thought of as
 
Dimlow's Avatar
 
Join Date: May 2008
Location: Kent,UK
Age: 44
Posts: 529
Send a message via MSN to Dimlow Send a message via Yahoo to Dimlow
I wish there was a way i could just suck up all this FPGA knowledge that that you guys have. My learning seems to be going so slow. All i have managed to do so far is flash a few leds on the dev board.
__________________
----------------------------------------------------------------------------
A1200, Apollo 1260 @ 80 Mhz, 32 Mb RAM. 4GB IDE CF Card, Just standard Stuff
Also... 2xC64 2xC Plus 4 2xVIC20 3xBBC B 2xElectron 7xOric 1 1xQL 1xSpectrum 48k 1xSpectrum + 1xSpectrum +3 +Many Many More
----------------------------------------------------------------------------
PLEASE NO MORE REQUESTS FOR UPGRADES AND FIXES
Dimlow is offline   Reply With Quote
Old 13 September 2008, 20:36   #6
FPGAmiga rulez!
 
FrenchShark's Avatar
 
Join Date: Dec 2007
Location: South of France
Age: 39
Posts: 143
Quote:
Originally Posted by Dimlow View Post
I wish there was a way i could just suck up all this FPGA knowledge that that you guys have. My learning seems to be going so slow. All i have managed to do so far is flash a few leds on the dev board.
In my case, I have learned VHDL at school 12 years ago, it was for ASIC design.
Then, in 2004-2005, with the C-One phenomena, my interest for VHDL came back. At the same time, the dev boards started becoming affordable. I was able to get two boards at work for some serious projects.
1943 is the first "fun" project I have made.
I recommend the website fpga4fun to start with FPGA.
The hard part with VHDL is the sequential logic with state machines and pipelines.
Some recommendation for the VHDL processes :
- Your first IF should be the asynchronous reset condition with the power-up init for the registers : IF (reset = '1') THEN
- Then, you have a : ELSIF rising_edge(clock) THEN
- Every assignment after the THEN is synchronous with the clock.
- Here, you can have additional IF conditions : they will be translated to clock enable, count enable, synchronous clear or set to registers or counters.
- You can also use CASE() .. WHEN => when you want to create a state machine.

Regards,

Frederic
FrenchShark is offline   Reply With Quote
Old 13 September 2008, 20:47   #7
Vegetable Lasagna
 
gklinger's Avatar
 
Join Date: Mar 2007
Location: Toronto, CANADA
Age: 43
Posts: 711
What is the value of the hardware you're using?
__________________
Call me Golan; my parents did.
gklinger is offline   Reply With Quote
Old 13 September 2008, 21:56   #8
FPGAmiga rulez!
 
FrenchShark's Avatar
 
Join Date: Dec 2007
Location: South of France
Age: 39
Posts: 143
Quote:
Originally Posted by gklinger View Post
What is the value of the hardware you're using?
around $250 - $300.
The most expensive part is the 8MB SSRAM ($130 !!).

Regards,

Frederic
FrenchShark is offline   Reply With Quote
AdSense AdSense  
Advertisement:
Old 14 September 2008, 07:39   #9
FPGAmiga rulez!
 
FrenchShark's Avatar
 
Join Date: Dec 2007
Location: South of France
Age: 39
Posts: 143
A little update :
I have fixed the aspect ratio of the game.
Now it looks like the original.
The bus clock is at 24 MHz and the dot clock at 64 MHz.
The clock domain crossing is done through 5 FIFOs (one per layer).
I do quad buffering on the FIFOs in preparation of the scale2x algorithm.
I will post a new video, once the scale2x is fully functional.
Now, it is time to go to bed

Frederic
FrenchShark is offline   Reply With Quote
Old 21 September 2008, 00:57   #10
FPGAmiga rulez!
 
FrenchShark's Avatar
 
Join Date: Dec 2007
Location: South of France
Age: 39
Posts: 143
I have put a new video on youtube showing the correct aspect ratio and the scale2x algorithm :
http://www.youtube.com/watch?v=c39E5lhOPTM
Unfortunately, the video quality on youtube sucks so you cannot really see the improvement of the Scale2X.
Now I am looking at the YM2203, FM synthesis is harder than what I though .

Regards,

Frederic
FrenchShark is offline   Reply With Quote
Old 21 September 2008, 15:35   #11
Likes to be thought of as
 
Dimlow's Avatar
 
Join Date: May 2008
Location: Kent,UK
Age: 44
Posts: 529
Send a message via MSN to Dimlow Send a message via Yahoo to Dimlow
It may look better if it was rotated by 90 deg, then it would fit the screen.

As for the Audio will this help http://passionoric.ifrance.com/fr/project/hsound.htm

There is some VHDL source for the AY-3-891x , i believe this is a compatible chip to the YM2202
__________________
----------------------------------------------------------------------------
A1200, Apollo 1260 @ 80 Mhz, 32 Mb RAM. 4GB IDE CF Card, Just standard Stuff
Also... 2xC64 2xC Plus 4 2xVIC20 3xBBC B 2xElectron 7xOric 1 1xQL 1xSpectrum 48k 1xSpectrum + 1xSpectrum +3 +Many Many More
----------------------------------------------------------------------------
PLEASE NO MORE REQUESTS FOR UPGRADES AND FIXES

Last edited by Dimlow; 21 September 2008 at 16:30.
Dimlow is offline   Reply With Quote
Old 08 January 2009, 09:28   #12
Likes to be thought of as
 
Dimlow's Avatar
 
Join Date: May 2008
Location: Kent,UK
Age: 44
Posts: 529
Send a message via MSN to Dimlow Send a message via Yahoo to Dimlow
Did you ever get the audio to work ?
__________________
----------------------------------------------------------------------------
A1200, Apollo 1260 @ 80 Mhz, 32 Mb RAM. 4GB IDE CF Card, Just standard Stuff
Also... 2xC64 2xC Plus 4 2xVIC20 3xBBC B 2xElectron 7xOric 1 1xQL 1xSpectrum 48k 1xSpectrum + 1xSpectrum +3 +Many Many More
----------------------------------------------------------------------------
PLEASE NO MORE REQUESTS FOR UPGRADES AND FIXES
Dimlow is offline   Reply With Quote
Old 02 October 2012, 15:35   #13
keyway
 
Posts: n/a
I also want to play game?...
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion: "Archive" sub-section for "Looking for a game name" andreas project.EAB 1 29 May 2008 01:00
[Found: Resolution 101] "Scaled pixels" - "fly in a skyscraper city" Photon Looking for a game name ? 5 06 August 2007 15:26
Decent "Old" Arcade Games killergorilla Retrogaming General Discussion 34 01 February 2007 15:05
GVP Spectrum running at 1024x768 on a 9" by 12" monitor? Smiley support.Hardware 1 23 August 2006 02:33
Problems with "Thespywholovedme", "Flood", "Shinobi" sareks support.Games 12 03 May 2006 14:52


All times are GMT +2. The time now is 23:24.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.
Page generated in 0.32259 seconds with 9 queries