harktrip 发表于 2011-10-27 08:29:49

Altera cyclone II 跑 Dos6.22,為何不能寫入文件? (內有原作者精采圖片)

雖然Altera DE2的開發板跑DOS和DOS的遊戲都OK
不過,是不是受限了,不能把文件寫入A或C ??

liuhui1987812 发表于 2011-10-27 09:16:24

分享下你是怎么做的?可能很多有人没有做过这样的实验。

harktrip 发表于 2011-10-27 09:35:57

我只是照著做,誰看了都會手癢
http://zet.aluzina.org/index.php/Zet_processor\

上幾張該作者的圖:

http://cache.amobbs.com/bbs_upload782111/files_47/ourdev_689056L69Y8R.jpg
(原文件名:760px-Ms-dos0.jpg)

http://cache.amobbs.com/bbs_upload782111/files_47/ourdev_689057NWLY8L.jpg
(原文件名:400px-Nc.jpg)

http://cache.amobbs.com/bbs_upload782111/files_47/ourdev_689058Y9XPE7.jpg
(原文件名:360px-Lemmings.jpg)

http://cache.amobbs.com/bbs_upload782111/files_47/ourdev_689059O0Z9GI.jpg
(原文件名:360px-Zet-Win-3.jpg)

http://cache.amobbs.com/bbs_upload782111/files_47/ourdev_689060AH2ECI.jpg
(原文件名:480px-Dune2.jpg)

http://cache.amobbs.com/bbs_upload782111/files_47/ourdev_689061EJWFLO.jpg
(原文件名:360px-Zet-Win-5.jpg)

liurangzhou 发表于 2011-10-27 09:52:33

ZET吧

harktrip 发表于 2011-10-28 08:20:09

A是防寫的,但C可以寫入文件
這樣足以~

rlogin 发表于 2011-10-28 11:09:46

做的386cpu?

harktrip 发表于 2011-10-28 12:40:19

回复【5楼】rlogin
做的386cpu?
-----------------------------------------------------------------------

只做到286...
原作者好像有提到,仿286到386是個很大的門檻.
所以windows只跑到win30 --> DOS下的windows

我早上試了跑win30,也OK...
效果算不錯了

gzhuli 发表于 2011-10-28 12:49:24

16位到32位是个门槛,MMU也是个门槛,位宽一下子翻倍,还多了个复杂的MMU,FPGA资源鸭梨很大。

http://cache.amobbs.com/bbs_upload782111/files_47/ourdev_689060AH2ECI.jpg
草,沙丘2啊,超经典,怎么没有同级生2呢? (原文件名:480px-Dune2.jpg)

harktrip 发表于 2011-10-28 13:32:44

呵呵
那個作者如果搞到386了,那真是超級牛逼了

還是期待該作者佛心來的

liuhui1987812 发表于 2011-10-28 19:20:47

回复【楼主位】harktrip
-----------------------------------------------------------------------
请问
Select the bios.out file that you have previously stored on your PC and wait for it to program the BIOS.
bios.out这个文件怎么生成。我看了说明文档好像没提到怎么生成。

pspice 发表于 2011-10-28 19:45:18

回复【9楼】liuhui1987812
回复【楼主位】harktrip   
-----------------------------------------------------------------------
请问
select the bios.out file that you have previously stored on your pc and wait for it to program the bios.
bios.out这个文件怎么生成。我看了说明文档好像没提到怎么生成。
-----------------------------------------------------------------------
看那个网站的论坛,这个帖子:http://zet.aluzina.org/forums/viewtopic.php?f=4&t=290

Downloaded and installed nios2eds 10.1 Web Edition
Checked out zet git master repository
Erased flash using windows de2 control panel GUI and DE2_USB_API.sof for the de2 board
Powered off and on de2 board to verify that flash was erased by attempting to boot with no flash. Blank screen as expected.
Using dos command prompt run clean.bat clear bios sources and any files laying around
Using dos command prompt run build.bat to build the bios sources
Run bin2flash using 0x0 as base address to create bios.flash:
bin2flash --input=bios.rom --output=bios.flash --location=0x0
Loaded de2 board with the DE2_NIOS_HOST_MOUSE_VGA.sof from 1.5 Tersasic CD
Run nios2-flash-programmer using 0x0 as base address with no errors
nios2-flash-programmer --base=0x0 bios.flash
Powered off and on de2 board and let it boot with the new compiled bios

我也是看到这个帖子后才搞好的。

harktrip 发表于 2011-10-28 20:55:43

發生了點狀況
我在C玩遊戲和進入win30
和md dir
結果變成破壞c:了

gaoyukun 发表于 2011-10-29 11:53:06

ZET这个我也跑成功DOS了,用DE1。我想问下,WIN30加载好像需要SD卡的是吧

get500wan 发表于 2011-10-29 20:15:49

强!有没有人研究过,用仿真器能不能跑?

tanybin 发表于 2011-10-29 20:32:23

强!以后发展了大家买PC都买一个FPGA,先玩什么内核就烧什么的。AMD,intel,arm随意换

gzhuli 发表于 2011-10-29 20:42:35

回复【14楼】tanybin
强!以后发展了大家买pc都买一个fpga,先玩什么内核就烧什么的。amd,intel,arm随意换
-----------------------------------------------------------------------

实现同等的逻辑功能,FPGA比ASIC多几十倍的晶体管,用90nm工艺的FPGA才模拟个1.5um工艺的286,你觉得32nm的i7需要搭载了哪个外星科技的FPGA才能实现?

harktrip 发表于 2011-10-31 07:58:25

回复【12楼】gaoyukun
zet这个我也跑成功dos了,用de1。我想问下,win30加载好像需要sd卡的是吧
-----------------------------------------------------------------------

是的~
页: [1]
查看完整版本: Altera cyclone II 跑 Dos6.22,為何不能寫入文件? (內有原作者精采圖片)