Re: FAT32 Code in 6502 or 6809 assembly language?

From: Jim Brain (brain_at_jbrain.com)
Date: 2008-12-05 22:03:24

Rainer Buchty wrote:
> I experimented with efsl (->32kB) and Larwe's DOSFS (->8kB). Thanks for 
> the pointer to FatFS, so far I was looking into this one to be adopted:
>
> 	http://www.robs-projects.com/filelib.html
>   
I'll check out this one, but the others I looked at all had significant 
restrictions (only 1 file open, inability to open multiple files with a 
shared buffer, etc.  My tuned copy of FatFS can open multiple files on 
multiple drives/partitions and share 1 512 byte block of RAM among all 
the files.  You can turn LFN support off at compile time, if you don't 
need or want it.
>   
>> I would look to it as you code up ML, though, as I think the code is very
>> nice.  I made a Long Filename variant of it called FatFS-LFN that we use in
>> uIEC and sd2iec.
>>     
>
> Not sure whether I need LFN (what a crude hack... I was amazed when I 
> read the FAT-related documentation how it was fiddled into FAT) as the 
> target architecture supports only 10-char filenames, hence mingling that 
> into 8+3 should be fairly easy (apart from some non-standard symbols).
>   
np.  It's optional to compile in, as some people want the single buffer 
option without LFN support.
> Not sure, though, whether I'll be able to mingle everything (FAT32, 
> SD/MMC access, system integration/menu) into the 4kB bank of the target 
> machine's ROM.
>   
Yeah, that's gonna be tight.  The uIEC/SD2IEC bootloader is 4K, and it's 
all we can do to cram FAT (no LFN) and physical access routines in there.
> Thanks for the input from both of you! (Wolfram, you got mail ;)
>
> Rainer
>
>
>        Message was sent through the cbm-hackers mailing list
>   


-- 
Jim Brain, Brain Innovations                                      (X)
brain@jbrain.com 
Dabbling in WWW, Embedded Systems, Old CBM computers, and Good Times! 
Home: http://www.jbrain.com


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.