This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

2010年2月10日 星期三

QEMU SDL

我用qemu 0.12突然發現,不知何時開始QEMU的LCD竟然已經變得可以伸縮了

arm的支持也變得更為強大了,多了好幾個開發版,不過我還是只用ARM9系列

2010年2月5日 星期五

QEMU CuRT v1 單步執行

CuRT v1
據jserv說有v2,但不知何年何月才會release阿!!

不過可以看qemu的說明書中有singlestep跟-d選項可以玩玩

$ qemu-system-arm -d ? //可以看到原來qem可以把指令印出來喔,有點意思
Log items (comma separated):
out_asm show generated host assembly code for each compiled TB
in_asm show target assembly code for each compiled TB
op show micro ops for each compiled TB
op_opt show micro ops after liveness analysis
int show interrupts/exceptions in short format
exec show trace before each executed TB (lots of logs)
cpu show CPU state before block translation

所以啦!結合兩者,在CuRT的run-on-connex改成如下

qemu-system-arm \
-M connex \
-singlestep \
-d in_asm\
-pflash flash-image

可以到/tmp/qemu.log中看看結果摟(看程式碼覺得這好像是寫死的,所以要用root權限來執行喔)

QEMU Doom

cool , 用QEMU玩doom

可以完全從程式碼到開始玩遊戲,自己編譯喔