搜索
bottom↓
回复: 9

SEGA模拟器 For DE1

[复制链接]

出0入0汤圆

发表于 2010-12-28 00:24:49 | 显示全部楼层 |阅读模式
烧入档pof
http://code.google.com/p/fpgagen/downloads/list

Source code
http://fpgagen.googlecode.com/svn/trunk/

http://www.youtube.com/watch?v=ilzKiW21T9Y
影片

================================================================================
fpgagen - a SEGA Megadrive/Genesis clone in a FPGA.
Copyright (c) 2010 Gregory Estrade (greg@torlus.com)
All rights reserved

fpgagen is an attempt to clone the SEGA Megadrive/Genesis console in a FPGA.
It is currently advanced enough to run many games.

================================================================================
In order to run this project you will need :
- A Terasic/Altera DE1 board.
- A VGA monitor.
- DE1 CD-ROM contents. (http://www.terasic.com/downloads/cd-rom/de1/)
- Altera Quartus II 9.1 Web Edition.
- (optional) ModelSim-Altera 6.5b Starter Edition.

First, the FPGA EEPROM should be programmed with the demonstration design
"DE1_USB_API.sof". It should be the case if you've never re-programmed it.
That will allow you to use the "DE1 Control Panel" software.

Power on your DE1 board, make it sure it is connected thru USB to your computer.
Run the "DE1_Control_Panel.exe" program.
Click on "Open", select "Open USB Port 0".
Select the "FLASH" tab, and click on "Chip Erase".
Check "File Length", then click on "Write a File to FLASH".
Choose a Genesis ROM (.bin or .gen file formats are supported, .smd files need
to be converted to .bin, with SMD2BIN for instance).
Once the write operation is done, close the "DE1 Control Panel".

If you downloaded the programming file, run the Quartus Programmer
("quartus_pgmw.exe" located in "<altera root directory>\91\quartus\bin").
Select the "gen_top.cdf" file, click on "Start", and you're done!

If you want to build the project from its source, open the Quartus II software
and select the "gen_top.qpf" project.

Notes :
- Be sure to always perform a "Chip Erase" before programming a new ROM.
- I don't know if it's due to my own setup, but I've found that the flash write
  operation is not very reliable, as I often get a byte off when I try to read
  back the flash. For some games it doesn't matter (if you're lucky enough, and
  that the write error occurs in a data section, and not a code section).
  Some games however perform a self-consistency check, and won't run at all.
  Only workaround so far : erase and re-program the flash until it succeeds.

A 3-button pad is mapped to the board's switches and buttons.
Here is a description of the controls :
- KEY0 : Start
- KEY1 : C
- KEY2 : B
- KEY3 : A
- SW9 : Up
- SW8 : Down
- SW7 : Left
- SW6 : Right
SW0 performs a Hard-Reset operation.

================================================================================
What this project currently provides :
- 68000 code execution, using the TG68 core, written by Tobias Gubener.
- Z80 code execution, using the T80 core, written by Daniel Wallner.
- Video Display Processor core with integrated scandoubler for VGA output.
- Genesis "glue logic".

What it lacks :
- Any kind of sound support.
  The only part of the soundchips I've written is the timer logic of the FM chip.
  I've done this only to ensure that it won't prevent some Z80 code to run.
- Interlaced modes and Shadow/Highlight features of the VDP.

Other issues :
- Some games run quite well, but for some reason, others don't.
  For instance, Golden Axe doesn't work properly, from the early beginning.
  However, some games that look more advanced, like Thunder Force III and IV,
  work quite well.
- The VDP needs some rework, so expect some graphical glitches.
- The flash erase/programming phase is tedious, someday I'll replace it with a
  bootloader that will read ROMs from a SD card.
- A small expansion board to connect Genesis pads to the board would be nice,
  instead of using switchs and push buttons...

================================================================================
Special thanks and greetings to :
- Charles MacDonald.
  His documentation work, the source code for his Genesis Plus emulator, and
  various chat sessions we had, have been very helpful.
- Tobias Gubener and Daniel Wallner, for their CPU cores.
- Kunihiko Ohnaka, for his EMSX project.
  It has been very helpful, especially for the SDRAM controller.
- Pascal Bosquet, for providing me his Rick Dangerous port source code, among
  other stuff.
- People on IRC@EFNet : #gbadevfr and #utopiasoft.
- People of the SpritesMind.Net forum.
  This forum's threads contain very valuable information on Genesis emulation.

================================================================================
Gregory Estrade (Torlus) - 2010/07/14
greg@torlus.com

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)

出0入0汤圆

发表于 2010-12-28 08:41:11 | 显示全部楼层
mark

出0入0汤圆

发表于 2010-12-28 09:24:58 | 显示全部楼层
游戏机?很好很强大

出0入0汤圆

发表于 2010-12-28 23:35:25 | 显示全部楼层
强大!!!

出0入0汤圆

发表于 2011-1-6 19:44:46 | 显示全部楼层
啊哈哈,正好有这块板子,试试,谢谢咯~~

出0入0汤圆

发表于 2011-1-6 22:10:25 | 显示全部楼层
mark

出0入0汤圆

发表于 2011-4-2 14:19:24 | 显示全部楼层
我发现下载下来的pof的device是EPCS16器件,可是我DE1板子上是EPCS4,。。。请问楼主怎么解决的?

出0入0汤圆

发表于 2011-4-19 12:31:19 | 显示全部楼层
咦,米有人关注吗~

出0入0汤圆

发表于 2012-9-12 17:41:58 | 显示全部楼层
我的 DE2-70 終於能動了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

出0入0汤圆

发表于 2012-9-25 19:30:21 | 显示全部楼层
sky5566 发表于 2012-9-12 17:41
我的 DE2-70 終於能動了

要是能够移植到DE2上,就好了。坛子里不是有人将nes的游戏移植到de2上了么。
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-24 09:31

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表