ページ

2009年2月9日月曜日

GP2X WIZ版Mmuhack

最近はPandoraに夢中で、あんまりGP2X関係を追っかけていないのですが、どうやらWizに動きがあったみたいです。初代GP2XでSquidge氏が開発したMmuhackをGBAエミュのgpSPやPCエンジンエミュのTemperを開発しているExophase氏がWizに移植(新規開発?)した模様。

以前GP2XでMmuhackが開発された時、あまりの性能向上により、Squidge氏はコミュニティより冗談半分で「神」の称号を与えられたりしていたのですが、今回もそれに匹敵する性能向上が見込めそうです。まだ初期段階ながら、既に以下のような性能向上が確認されている模様。ちなみにSquidge氏のコメントの引用です。55%ですか。スゴいですね。

It seems to work just like my original on the gp2x

kk = frames/sec.

Without MMU hack:
root@wiz:/mnt/sd# ./fbtest.gpe
The framebuffer device was opened successfully.
320x240, 16bpp
The framebuffer device was mapped to memory successfully.
kk = 1, time = 1199554732
kk = 101, time = 1199554733
kk = 152, time = 1199554734
kk = 153, time = 1199554735
kk = 152, time = 1199554736
kk = 152, time = 1199554737
kk = 152, time = 1199554738
kk = 153, time = 1199554739
kk = 152, time = 1199554740
kk = 152, time = 1199554741
kk = 152, time = 1199554742
kk = 152, time = 1199554743
kk = 153, time = 1199554744
kk = 152, time = 1199554745
kk = 152, time = 1199554746
kk = 152, time = 1199554747
kk = 152, time = 1199554748
kk = 153, time = 1199554749
kk = 152, time = 1199554750
kk = 152, time = 1199554751

with MMU hack

root@wiz:/mnt/sd# ./fbtestmmu.gpe
The framebuffer device was opened successfully.
320x240, 16bpp
The framebuffer device was mapped to memory successfully.
got uname location 533a8
uname backup: e1a0c00d e92dd810 e24cb004 e1a04000
uname now: e3a000a3 e12fff1e e24cb004 e1a04000
test 1: expected 0xA3, got a3
uname now: e3a000e9 e12fff1e e24cb004 e1a04000
test 2: expected 0xE9, got e9
modifying pagetable at 1d00000
hacking coarse pagetable entry mapping to 2a00000
hacking coarse pagetable entry mapping to 2a00000
[snip!]
kk = 1, time = 1199554908
kk = 186, time = 1199554909
kk = 236, time = 1199554910
kk = 236, time = 1199554911
kk = 236, time = 1199554912
kk = 236, time = 1199554913
kk = 235, time = 1199554914
kk = 236, time = 1199554915
kk = 236, time = 1199554916
kk = 236, time = 1199554917

55% improvement. Nice!

Nice work Exophase, now all we need is a kernel module

0 件のコメント:

コメントを投稿