Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature Requests
#17
(05-07-2012, 04:26 PM)mic_ Wrote: Having implemented SD card reading on 65C816 and Z80-based systems, I'd say the crucial point would be to find a C compiler that can compile FF or PFF (FAT parsing library). You could certainly rewrite PFF in assembly, but it only takes a quick glance at the code to see why that would suck Tongue

The low level SD card I/O code that sends MMC commands and reads sector data could be done mostly in C except for the most performance-critical parts (though I've used assembly exclusively in my implementations).

So, I have actually worked on this a bit, but I am also working on several other things, so it's not progressed too much.

I have a SD card that I interface through the Linkmasta. In this way, the code acts as if it is on a NGPC cartridge, but the code runs on the PC (as opposed to the NGPC itself).

I can read and write the SD using PFF. It's pretty slow, though. I have yet to figure out where the slowdown is. I think it may just be how I interface with it through the Linkmasta. On the NGPC, it would be able to talk direct to the cartridge. The SD card would be just one level abstracted from that.

In my current setup, it has to go through USB, then through the Linkmasta, then to the cartridge, then the SD. USB or Linkmasta both could be slowing it down.

I haven't written any code to run PFF on the NGPC at all. If you've got something that could easily work, that'd be awesome.

Making the Linkmasta is definitely something that I think is important, as it does support the Bung owners. However, I agree that it's the part that takes the most effort, because it has the custom-cut pieces. I'm not sure I'd want to completely stop making them, but maybe they wouldn't be bundled if they weren't 100% necessary.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Messages In This Thread
Feature Requests - by Flavor - 02-17-2012, 08:43 AM
RE: Feature Requests - by WilsonWad - 02-17-2012, 09:39 PM
RE: Feature Requests - by Morden - 02-18-2012, 08:27 AM
RE: Feature Requests - by NiN^_^NiN - 02-22-2012, 09:30 PM
RE: Feature Requests - by mr.spiv - 02-23-2012, 06:17 AM
RE: Feature Requests - by Flavor - 02-23-2012, 08:56 AM
RE: Feature Requests - by Flavor - 03-28-2012, 02:34 AM
RE: Feature Requests - by mat - 04-05-2012, 03:05 AM
RE: Feature Requests - by Flavor - 04-06-2012, 01:16 AM
RE: Feature Requests - by mat - 04-06-2012, 05:54 AM
RE: Feature Requests - by Flavor - 04-06-2012, 07:43 AM
RE: Feature Requests - by mat - 04-07-2012, 09:04 AM
RE: Feature Requests - by Flavor - 04-10-2012, 01:10 AM
RE: Feature Requests - by -SD- - 05-07-2012, 02:30 PM
RE: Feature Requests - by Morden - 05-07-2012, 06:12 PM
RE: Feature Requests - by mic_ - 05-07-2012, 04:26 PM
RE: Feature Requests - by Flavor - 05-10-2012, 02:41 AM
RE: Feature Requests - by mic_ - 05-10-2012, 07:07 PM
RE: Feature Requests - by Flavor - 05-10-2012, 11:44 PM
RE: Feature Requests - by sodthor - 05-11-2012, 01:12 AM
RE: Feature Requests - by Flavor - 05-15-2012, 11:55 PM
RE: Feature Requests - by mic_ - 05-11-2012, 04:36 AM
RE: Feature Requests - by -SD- - 05-28-2012, 08:57 AM
RE: Feature Requests - by Morden - 05-28-2012, 05:58 PM
RE: Feature Requests - by fpcreator2000 - 06-20-2012, 04:53 AM
RE: Feature Requests - by mic_ - 05-28-2012, 09:19 PM
RE: Feature Requests - by Morden - 05-29-2012, 01:17 AM
RE: Feature Requests - by Flavor - 05-30-2012, 02:28 PM
RE: Feature Requests - by Morden - 06-16-2012, 11:22 PM
RE: Feature Requests - by Flavor - 06-19-2012, 06:01 AM
RE: Feature Requests - by Morden - 06-19-2012, 08:14 AM
RE: Feature Requests - by mic_ - 06-20-2012, 06:57 PM
RE: Feature Requests - by Flavor - 06-20-2012, 11:34 PM
RE: Feature Requests - by mic_ - 06-21-2012, 12:21 AM
RE: Feature Requests - by Flavor - 06-21-2012, 12:54 AM
RE: Feature Requests - by mic_ - 08-29-2012, 05:43 AM
RE: Feature Requests - by Flavor - 08-29-2012, 06:25 AM
RE: Feature Requests - by Senk - 09-04-2012, 08:57 AM
RE: Feature Requests - by Flavor - 11-10-2012, 06:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)