(WIP) David Haywood's Homepage - 模擬器

Ina avatar
By Ina
at 2012-01-20T11:35

Table of Contents

2012.01.18

Sliver Place

Integrating FLAC isn’t the only thing I’ve been working on lately.
After the initial work on FLAC (prior to the CHD bit) I decided to
integrate some proper JPEG decoding libraries into MAME.

Why? Well, there is one game, which has been running in MAME for a
while which actually uses JPEG decoder chips on the PCB. This game
is the rather obscure ‘Sliver’. As a game, it’s not even remotely
interesting, or good, but from a hardware perspective the pair of
Zoran chips used to decode the JPEG images stored in the ROMs make
it an interesting case.

Until recently MAME has simply loaded an extra ‘fake’ rom with the
JPEG images pre-decoded, and used a look-up table in the driver to
convert the addresses requested by the game for the JPEGS into
addresses where our pre-decoded bitmaps were stored. Obviously this
isn’t how the hardware worked ;-)

By integrating the JPEG library I’ve managed to remove the fake ROM,
and can now point the decoder directly at the real JPEG data in roms
as and when it’s requested by the game.

http://mamedev.emulab.it/haze/pics2012/sliver01.png
http://mamedev.emulab.it/haze/pics2012/sliver02.png

Note, you can see ugly JPEG artifacting on the game screen, they
obviously didn’t compress the images with very high quality
settings ;-)

From an end-users perspective, the game still runs and plays exactly
how it did before, but from a MAME perspective the emulation is now
better, and we have a JPEG library to play with if we want it, maybe
as an option when creating screen-shots at high resolutions where PNG
becomes excessively large? Either way, it’s there and could be put
to further use.

There is one other game which uses the same JPEG decoder chips on the
board Magic the Gathering: Armageddon (Progettoemma link due to MAWS
being down after it was used to hack MameWorld) Currently that game
doesn’t work, but Phil Bennett was last seen getting some 3D out of
it, so having a JPEG decoder should help him get the correct textures,
which are encoded as JPEGs in the ROM.

As with the FLAC stuff, thanks also goes to R.Belmont for ensuring it
compiles / works on Linux and Mac environments.
______________________________________________________________________________

來源:http://mamedev.emulab.it/haze/2012/01/18/sliver-place/

--

ポーラステーション
http://perryt0517.wordpress.com/

--

All Comments

疑涉侵權 人氣網站Megaupload遭美關閉

Ina avatar
By Ina
at 2012-01-20T11:16
http://news.rti.org.tw/index_newsContent.aspx?nid=337831andamp;id=6andamp;id2=2 時間:2012/1/20 09:05 撰稿‧編輯:季 平   新聞引據: 採訪、美聯社、路透社 全球最受歡迎的檔案分享網站之一Megauploa ...

pcsx掛載過的映像檔怎麼刪除

Steve avatar
By Steve
at 2012-01-20T09:13
如標題 掛載在檔案裡直接刪刪不掉 模擬器裡也找不到卸載映像檔的選項 該怎麼刪除呢 - ...

VBA模擬器存檔問題

Jacob avatar
By Jacob
at 2012-01-20T01:09
爬過文了 去年1月有人PO了我想問的問題 可是沒有得到最終解答 這次我PO看看 看現在有沒有人能幫上忙 電腦VBA模擬器 選項(Options)→模擬器(Emulator)→存檔類型(Save Type) 存檔類型 從 Flash 64K 改成 Flash 128K 我想存成128K 可是存出來的 ...

WinDS PRO 2012.2

Tristan Cohan avatar
By Tristan Cohan
at 2012-01-19T11:50
http://windsprocentral.blogspot.com/2009/01/winds-pro-20122.html http://www.emucr.com/2012/01/winds-pro-20122.html WinDS PRO 2012.2 - DeSmuME r4153 x86 an ...

純閒聊跟碎碎唸喔!模擬器生活

Rosalind avatar
By Rosalind
at 2012-01-19T11:45
※ 引述《jachen168 (呵)》之銘言: : 大家好,新年快樂 新年快樂啊~ : 我第一次接觸模擬器時,大約是1998年(大一升大二) : 那時候家裡電腦配備奔騰200(沒有mmx) : 能夠跑的就是紅白機的模擬器以及game boy、mega drive、pce(無聲) : 多半都是dos底下操作 : ...