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

By Sandy
at 2013-11-20T11:39
at 2013-11-20T11:39
Table of Contents
2013.11.16
歡樂六合一!
"A Little Happier.."
In order to the the ‘V100′ set of The Gladiator running I had to
analyze the ARM code a little more. It quickly became apparent that
the V100 set expected a different internal ROM, with the code offset
fro what all the other sets expect.
For this reason I actually have a feeling it might be pre-V100 despite
identifying itself as V100, because the internal ROM we have is
supposedly ‘V100′ and it clearly expects an earlier one. I have a
feeling the true V100 release is that found on the PCB version.
Anyway what I found was that all jumps to the internal ROM were done
through a table of function pointers, so as a temporary solution (until
we can find that actual cart again) I patched it to call the functions
in the internal ROM we have, ugly, but effective.
However, I noticed another thing after poking around a bit. The table
of function pointers in Happy 6 was the exact same length as The
Gladiator, and by applying the same patches there the game actually
started to boot. You can coin it up, possibly because in reality it
needs a different ROM (we have a cart on the way for analysis) but the
game can now run through it’s attract mode.
There was a further problem with Happy 6, unlike all the other IGS PGM
originals it had address scrambled graphic roms / sound roms as well. I
found this a little strange because typically only the nasty bootlegs
employed such techniques, but it was easy enough to deal with.
I guess the function pointer table was the same because the codebase is
actually built on the same code as The Gladiator was, and the internal
ROM acts a bit like a bios. If you observe the high-score table sequence
in Happy 6 the presentation of it is almost identical to The Gladiator
for instance.
Please note, this game is NOT playable yet.
http://mamedev.emulab.it/haze/pics2013/happy6_new_2.png
http://mamedev.emulab.it/haze/pics2013/happy6_new_5.png
http://mamedev.emulab.it/haze/pics2013/happy6_new_7.png
http://mamedev.emulab.it/haze/pics2013/happy6_new_9.png
http://mamedev.emulab.it/haze/pics2013/happy6_new_11.png
http://mamedev.emulab.it/haze/pics2013/happy6_new_13.png
http://mamedev.emulab.it/haze/pics2013/happy6_new_15.png
and before you ask, no, I can’t use the same trick on Spectral Vs.
Generation, the jump table is much bigger so clearly isn’t a 1:1 match
in terms of the functions it should be calling.
Hopefully when we get the cart the remaining issues can be solved,
assuming they’re not caused by my simulation of the Execute Only area,
but either way we really should run the proper code! The fact this runs
as well as it does is a surprise.
Note, when set to Singapore the title logo is different (there IS an
Overseas codepath in the code, but as none of the game is localized to
English I doubt it was ever shipped as that) Also if you enable ‘Girls’
in the Dragon World game (Test mode option) there is a small subtitle
on the screen.
http://mamedev.emulab.it/haze/pics2013/happy6_singapore.png
http://mamedev.emulab.it/haze/pics2013/happy6_girls.png
雖然還不能跑,但rom檔已經滿天飛了。
另..
"Arcadia Format"
http://mamedev.emulab.it/haze/2013/11/17/arcadia-format/
______________________________________________________________________________
來源:http://mamedev.emulab.it/haze/2013/11/16/a-little-happier/
--
ポーラステーション
http://perryt0517.wordpress.com/
--
歡樂六合一!
"A Little Happier.."
In order to the the ‘V100′ set of The Gladiator running I had to
analyze the ARM code a little more. It quickly became apparent that
the V100 set expected a different internal ROM, with the code offset
fro what all the other sets expect.
For this reason I actually have a feeling it might be pre-V100 despite
identifying itself as V100, because the internal ROM we have is
supposedly ‘V100′ and it clearly expects an earlier one. I have a
feeling the true V100 release is that found on the PCB version.
Anyway what I found was that all jumps to the internal ROM were done
through a table of function pointers, so as a temporary solution (until
we can find that actual cart again) I patched it to call the functions
in the internal ROM we have, ugly, but effective.
However, I noticed another thing after poking around a bit. The table
of function pointers in Happy 6 was the exact same length as The
Gladiator, and by applying the same patches there the game actually
started to boot. You can coin it up, possibly because in reality it
needs a different ROM (we have a cart on the way for analysis) but the
game can now run through it’s attract mode.
There was a further problem with Happy 6, unlike all the other IGS PGM
originals it had address scrambled graphic roms / sound roms as well. I
found this a little strange because typically only the nasty bootlegs
employed such techniques, but it was easy enough to deal with.
I guess the function pointer table was the same because the codebase is
actually built on the same code as The Gladiator was, and the internal
ROM acts a bit like a bios. If you observe the high-score table sequence
in Happy 6 the presentation of it is almost identical to The Gladiator
for instance.
Please note, this game is NOT playable yet.
http://mamedev.emulab.it/haze/pics2013/happy6_new_2.png







and before you ask, no, I can’t use the same trick on Spectral Vs.
Generation, the jump table is much bigger so clearly isn’t a 1:1 match
in terms of the functions it should be calling.
Hopefully when we get the cart the remaining issues can be solved,
assuming they’re not caused by my simulation of the Execute Only area,
but either way we really should run the proper code! The fact this runs
as well as it does is a surprise.
Note, when set to Singapore the title logo is different (there IS an
Overseas codepath in the code, but as none of the game is localized to
English I doubt it was ever shipped as that) Also if you enable ‘Girls’
in the Dragon World game (Test mode option) there is a small subtitle
on the screen.
http://mamedev.emulab.it/haze/pics2013/happy6_singapore.png


雖然還不能跑,但rom檔已經滿天飛了。
另..
"Arcadia Format"
http://mamedev.emulab.it/haze/2013/11/17/arcadia-format/
______________________________________________________________________________
來源:http://mamedev.emulab.it/haze/2013/11/16/a-little-happier/
--
ポーラステーション
http://perryt0517.wordpress.com/
--
Tags:
模擬器
All Comments

By Carol
at 2013-11-20T22:53
at 2013-11-20T22:53
Related Posts
DolphinFX

By Quanna
at 2013-11-19T12:45
at 2013-11-19T12:45
幾個比較常見又能玩的模擬器

By Kristin
at 2013-11-19T12:22
at 2013-11-19T12:22
(GB/GBC) RealBoy 0.1.2

By Oliver
at 2013-11-19T11:25
at 2013-11-19T11:25
pcx2 1.0.0金手指使用遊戲會崩潰

By Puput
at 2013-11-19T09:01
at 2013-11-19T09:01
Dolphin 不同版本記憶無法轉移嗎?

By Jessica
at 2013-11-18T23:51
at 2013-11-18T23:51