(WIP) FBA - Dai Makai-Mura bootleg - 模擬器

By Erin
at 2012-04-13T13:27
at 2012-04-13T13:27
Table of Contents
2012.04.12
剛好講到大魔界村的修正。
looked at the Dai Makai-Mura bootleg which we currently have (daimakb).
Previously, the sound worked only (the sound command moved to port 6).
The first thing I noticed was that we didn't seem to have a palette.
I logged the reads and writes and noticed a write of 0x3f to 0x880000.
Immediately, that jumped out at me, as looking very much the Palette
Control register. Passing the value wrote here to the Palette Control
register got me a palette and the sprites appeared, no scroll layers
though.
I looked at the writes some more, eventually I figured out that the
scroll layers scroll values are written between 0x980000 and 0x98000a.
This still didn't get me any scroll layers though.
The game doesn't appear to ever write any value that looks like a
Layer Enable register at any time. I forced the layers to draw at all
times, and they were on-screen. Eventually, I noticed that any time
the layer order or enable should change, the game wrote a value to
0x98000c. The value wrote is either a 0, 1, 2 or 6 (observed so far).
This looks it sets the harware into a layer enable "mode", that
changes priority and/or enable depending on the value wrote. I
understand this value enough for the game to be fully playable, and
the demo's to play correctly. I can't claim it to be 100% accurate,
but it's definitely close.
http://www.barryharris.me.uk/files/barry/daimakb_title.png
http://www.barryharris.me.uk/files/barry/daimakb_ingame.png
______________________________________________________________________________
來源:http://www.barryharris.me.uk/article_view.php?id=183
--
ポーラステーション
http://perryt0517.wordpress.com/
--
剛好講到大魔界村的修正。
looked at the Dai Makai-Mura bootleg which we currently have (daimakb).
Previously, the sound worked only (the sound command moved to port 6).
The first thing I noticed was that we didn't seem to have a palette.
I logged the reads and writes and noticed a write of 0x3f to 0x880000.
Immediately, that jumped out at me, as looking very much the Palette
Control register. Passing the value wrote here to the Palette Control
register got me a palette and the sprites appeared, no scroll layers
though.
I looked at the writes some more, eventually I figured out that the
scroll layers scroll values are written between 0x980000 and 0x98000a.
This still didn't get me any scroll layers though.
The game doesn't appear to ever write any value that looks like a
Layer Enable register at any time. I forced the layers to draw at all
times, and they were on-screen. Eventually, I noticed that any time
the layer order or enable should change, the game wrote a value to
0x98000c. The value wrote is either a 0, 1, 2 or 6 (observed so far).
This looks it sets the harware into a layer enable "mode", that
changes priority and/or enable depending on the value wrote. I
understand this value enough for the game to be fully playable, and
the demo's to play correctly. I can't claim it to be 100% accurate,
but it's definitely close.
http://www.barryharris.me.uk/files/barry/daimakb_title.png


來源:http://www.barryharris.me.uk/article_view.php?id=183
--
ポーラステーション
http://perryt0517.wordpress.com/
--
Tags:
模擬器
All Comments

By Dorothy
at 2012-04-17T16:09
at 2012-04-17T16:09
Related Posts
ゲームセンターCX 有野の挑戦 第16季 第1回

By Caroline
at 2012-04-13T11:53
at 2012-04-13T11:53
Romulus v0.014

By Irma
at 2012-04-12T22:50
at 2012-04-12T22:50
JMednafen v0.2.2

By Carolina Franco
at 2012-04-12T22:44
at 2012-04-12T22:44
DOSBox SVN r3779

By Frederica
at 2012-04-12T18:05
at 2012-04-12T18:05
PCSX Reloaded SVN r75683

By Puput
at 2012-04-12T18:04
at 2012-04-12T18:04