![](https://file1.a9vg.com/data/attachment/common/14/common_69_usergroup_icon.gif)
征服者
Retro Gamer
- 精华
- 7
- 帖子
- 4313
- 威望
- 13 点
- 积分
- 6423 点
- 种子
- 5 点
- 注册时间
- 2005-4-7
- 最后登录
- 2018-2-5
|
可能我有点火星了, 目前国外有人(emu_kidid)正在开发GC用SD卡模拟代替DVD光驱的软件,目前已经可以运行homebrew软件了,目前进度65%,作者希望能在75%进度时支持SDL,而且目前作者遇到些问题,希望有人可以帮助他。原帖地址是:http://www.tehskeen.com/forums/s ... mp;page=1&pp=30
Playing backups from SD card...
--------------------------------------------------------------------------------
I've coded up most of the needed code to do this, however I've hit a dead end with something..
I have coded up all the necessary function re-routing from dvd_read to sd_read etc and am simulating the DVD drive via SD card in GCOS. I.e. a dvd_read_id actually does read the id from the disc that's in the drive but then is overwritten in memory by the actual stuff on SD card..
This is all fine, those functions are running well, but obviously I will need to patch the backups to read from SD rather than DVD.
My plan of attack is this:
In DVDlowRead, i jump to my code at 0x80001800 just when the registers will still contain the info about the read (dst, len, offset).
In my code I execute the instructions i patched over, then save registers, finally, read from SD to the specified destination etc.. this will work just fine (as I've tested it manually)
However, I'm unsure how or when I would get a chance to patch the apploader's dvdlowread on the fly, as first you simply read the 0x2460, however after that, its the apploader which does the work. I can patch the DOL on the fly however the apploader i'm not 100% sure about.. I've thought about simulating it like dolwin perhaps but again i'm not 100% sure. I could do all this pre-patched but that wouldn't be fun. :P
Just need a push in the right direction or someone else's thoughts/ideas
====================================
Some progress:
I've simulated the basics of the apploader using code taken from Dolwin 0.10 and modifying it to be used on the GC. Still have some other loading to take care of such as BI2 etc. Getting that done now.
So as it is, I can boot the games DOL file but it won't progress due to nothing else being setup by the simulated apploader.
====================================
I've finished (at least i think i have) implementing the apploader simulator code.. however when the DOL boots, I still see nothing but a green screen.
Surely more must be seen? perhaps an error? because in Dolphin-Emu for PC at least the first screen is shown or the framebuffer will clear to black.
Back i go to figure it out...
====================================
Lets call this a progress thread from this point on..
I've found the bug and now the game boots however I haven't implemented the patched loading routines for the game yet. Still working on that.
Looks like this is moving forward finally
====================================
Some progress.. SDLOAD ISO booting from SD Card.
No retail games yet, only homebrew runs.
Expected release date is unknown at this time.
Project is at 65% completion.
Expect games to boot at 75%. Rest is working bugs out.
=====================================
Okay, seems ive hit a brick wall with this. I cant get the games to boot successfully, something is still failing..
If anyone can help me debug the issue with some knowledge of their own, please let me know and I can send out the exception dump, RAM & code dump and also anything else needed.
I can get Zelda WW to boot up from DVD with the simulated apploader, but I cant get Luigis Mansion and other games working. Any help would be appreciated.
======================================
Update:
New universal solution without patching to be implemented.. using exception handling and a little trick that is used in the ACL loaders. Should be fun implementing this
More details shortly when it gets implemented!
======================================. |
|