Emulator 板


LINE

2017.06.22 "Fall of the M68705" Have you ever played one of the following Taito titles in MAME? Rumba Lumber https://mamedev.emulab.it/haze/pics2017/rumba_mcu_1.png
https://mamedev.emulab.it/haze/pics2017/rumba_mcu_2.png
Chack’n Pop https://mamedev.emulab.it/haze/pics2017/chack_mcu_1.png
https://mamedev.emulab.it/haze/pics2017/chack_mcu_2.png
Onna Sanshirou – Typhoon Gal https://mamedev.emulab.it/haze/pics2017/onna_mcu_1.png
https://mamedev.emulab.it/haze/pics2017/onna_mcu_2.png
Field Day (The Undoukai) https://mamedev.emulab.it/haze/pics2017/field_mcu_1.png
https://mamedev.emulab.it/haze/pics2017/field_mcu_2.png
Get Star (Guardian) https://mamedev.emulab.it/haze/pics2017/getstar_mcu_1.png
https://mamedev.emulab.it/haze/pics2017/getstar_mcu_2.png
or either of the following by Technos and Kaneko respectively. Nekketsu Kouha Kunio-kun (original Japanese release of Renegade) https://mamedev.emulab.it/haze/pics2017/kuni_mcu_1.png
https://mamedev.emulab.it/haze/pics2017/kuni_mcu_2.png
Prebillian https://mamedev.emulab.it/haze/pics2017/pbillian_mcu_1.png
https://mamedev.emulab.it/haze/pics2017/pbillian_mcu_2.png
If you have played any of them it may (or may not) surprise you to hear that until now they’ve been relying on high level simulations of the protection devices present on the original PCBs, which may have resulted in inaccuracies in the emulation. The protection devices used were M68705P5 MCUs, a secure part protected against reading. For some Taito games we got lucky and found parts without the security bits set, and for some we found bootlegs and have been unknowingly using bootleg versions of the MCU code for years (much as was the case with Bubble Bobble when we thought the M68705 protected set was the original) however for the above games we simply had no dumps at all of the MCUs and had to rely on simulations. Thankfully due to new techniques + hardware developed by Brizzo (+ a team of collaborators including Sean Riddle) and access to the collections of ShouTime, Team Japump, and ‘Anonymous Donator’ a way was found to read out even protected M68705 chips with a reasonable degree of success. The technique isn’t perfect yet, as some games gave completely invalid results, but hopefully that’s just a case of further refinement. As a result of the new techniques the MCUs for the games listed at the start of the article have been dumped, and added to MAME. The relevant Git commits can be seen below As you can see, this allows the removal of a large amount of simulation code, which has been simply replaced with emulation of the actual MCU using the freshly dumped code. In cases like Rumba Lumber the simulation was known to be inaccurate so the game is now emulated correctly, in others, the simulation code was doing things that simply wouldn’t reflect how the MCU would work (plucking values straight from main RAM etc.) so the new handling is a lot more correct to hardware. In addition to the previously mentioned games the dumps have helped confirm the MCUs MAME is already using for ‘The Fairyland Story’, ‘The Legend of Kage’, ‘Buggy Challenge’, ‘Arkanoid’ (some versions), ’40 Love’, ‘ Elevator Action’, ‘Puzznic’ and a number of others to be the correct original MCU code (the dumps MAME expects might change because the new technique can dump previously unreadable parts of the MCU) The new technique also confirms something that was long suspected: the MCU we ’re using for ‘Return of the Invaders’ is a bootleg reproduction. Unfortunately that’s one of the ones where the dumping technique didn’t give us a usable dump at this point, so for now we’re still depending on the bootleg MCU. The M68705 was a widely used protection device, so having the ability to dump any of them without having to decap is an important step in the preservation of these systems. Those who have been paying attention to MAME releases may have noticed that back in 0.181 ‘Tokio’ aka ‘Scramble Formation’ also had it’s M68750 dumped and emulated. This was part of the same process and got the ball rolling with some M68705 CPU CORE refactoring in MAME to make the addition of these new dumps a smoother process. Obviously that’s older news now, but a couple of people have asked me if it was related, and yes, it was, it was also one of the more important cases because until then there was no remotely correct simulation of the MCU, only a bootleg where the bootleggers had also failed to understand the protection properly, resulting in many game features not working in their bootleg. The dumping of that MCU was the first time anybody could experience the gameplay correctly outside of the original PCB. Tokio / Scramble Formation https://mamedev.emulab.it/haze/pics2017/tokio_1.png
https://mamedev.emulab.it/haze/pics2017/tokio_2.png
The other piece of news worth writing about is the addition of a game called Jump-Kun. Ironically this comes from a Taito PCB with a socket for a M68705 but for this game, maybe due to it being a prototype, the socket was left unpopulated and the game unprotected. (The PCB is a Pit ‘n’ Run PCB, in the case of Pit ‘n’ Run the MCU is actually used) It’s believe to have been developed by Kaneko and plays like you’d expect a classic arcade platformer to play. Again, thanks to ShouTime, Team Japump and ‘Anonymous Donator’ for this one. Jump Kun (prototype) https://mamedev.emulab.it/haze/pics2017/jumpkun_1.png
https://mamedev.emulab.it/haze/pics2017/jumpkun_2.png
https://mamedev.emulab.it/haze/pics2017/jumpkun_3.png
https://mamedev.emulab.it/haze/pics2017/jumpkun_4.png
I also put a video of that one on my YouTube channel https://www.youtube.com/watch?v=SgyXHWxLM5w
https://mamedev.emulab.it/haze/ -- ポーラステーション http://perry0517a.blogspot.tw/ --



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 115.82.164.206
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Emulator/M.1498194793.A.AA3.html
1F:→ jeff0811: 这颗CPU的破解好像有段故事 06/23 13:34
2F:→ jeff0811: 抱歉,是MCU,我还是搞不懂这晶片的用途 06/23 13:37







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:iOS站内搜寻

TOP