#72310 - VortexDS - Fri Feb 17, 2006 4:03 pm
Hi all,
I have recently acquired a DS and am currently thinking about ways of running DS Code. I feel that the hacks involving passmes and such while useful for preliminary experiments is not very practical (and I need the GBA slot for other projects). So I started thinking about other options and the one that I have come up with is this:
The only reason that the flash cartridge/memory storage adapter is used is for the menu/loader code. surely this can be implemented in hardware. I was thinking about using a system with a CPLD to act as a passme type device as well as a cache controller. Data would come off SD card and be cached in SRAM in blocks of 512 bytes, the standard read write block for the SD cards. On boot the user would select an image some how, at the moment I am thinking of LCD display though thats a bit of a waste, maybe dip switches. a microprocessor would handle reading the FAT of the card and compiling a table of file start locations, which would then be given to the CPLD and the CPLD would handle the translation from NDS address request to SD card location, data retreival, from cache or loading a page from the SD card. The fact that the game data is stored in a ROM form makes the job of cache implementation easy, no cache poisoning or other nasties.
In my head it is a nice, fast solution but I wonder what others think.
Also I am trying to wrap my head around how the passme actually works, especially what actually occurs on boot up and how and when transfer is switched from the NDS to the GBA rom. Specifically related to the passme2 as my new DS shows a magenta screen when doing the firmware test.
If someone could give me a simple idea of the steps of the code that I can compare with the VHDL on the sites to get a feel for the code I would be greatful.
If others have started down a similar path and been stopped I would also like to hear there experiances.
thanks
Vortex
I have recently acquired a DS and am currently thinking about ways of running DS Code. I feel that the hacks involving passmes and such while useful for preliminary experiments is not very practical (and I need the GBA slot for other projects). So I started thinking about other options and the one that I have come up with is this:
The only reason that the flash cartridge/memory storage adapter is used is for the menu/loader code. surely this can be implemented in hardware. I was thinking about using a system with a CPLD to act as a passme type device as well as a cache controller. Data would come off SD card and be cached in SRAM in blocks of 512 bytes, the standard read write block for the SD cards. On boot the user would select an image some how, at the moment I am thinking of LCD display though thats a bit of a waste, maybe dip switches. a microprocessor would handle reading the FAT of the card and compiling a table of file start locations, which would then be given to the CPLD and the CPLD would handle the translation from NDS address request to SD card location, data retreival, from cache or loading a page from the SD card. The fact that the game data is stored in a ROM form makes the job of cache implementation easy, no cache poisoning or other nasties.
In my head it is a nice, fast solution but I wonder what others think.
Also I am trying to wrap my head around how the passme actually works, especially what actually occurs on boot up and how and when transfer is switched from the NDS to the GBA rom. Specifically related to the passme2 as my new DS shows a magenta screen when doing the firmware test.
If someone could give me a simple idea of the steps of the code that I can compare with the VHDL on the sites to get a feel for the code I would be greatful.
If others have started down a similar path and been stopped I would also like to hear there experiances.
thanks
Vortex