Re: Commodore PLC TIB DD-001 / Drive 2001

From: Segher Boessenkool <segher_at_kernel.crashing.org>
Date: Wed, 23 May 2018 18:18:03 -0500
Message-ID: <20180523231803.GY17342@gate.crashing.org>
On Thu, May 24, 2018 at 01:08:04AM +0200, groepaz@gmx.net wrote:
> Am Donnerstag, 24. Mai 2018, 00:57:52 CEST schrieb Segher Boessenkool:
> > On Wed, May 23, 2018 at 10:56:13PM +0100, smf wrote:
> > > On 23/05/2018 21:12, Rhialto wrote:
> > > >And there is also the Amiga implementation in the form of MSH:.
> > > >Since recently available from hitgup: https://github.com/Rhialto/MSH
> > > 
> > > If you're not careful you'll use all 64k of memory just on the file
> > > system handler
> > 
> > If you want small, you could try
> > 
> > http://git.infradead.org/users/segher/savezelda.git/blob/HEAD:/loader/fat.c
> > 
> > (which is read-only, but handles FAT12, FAT16, FAT32; no vfat though).  It
> > is made to run in much less than 64kB.
> 
> i am using FatFS (the tiny variant) for the chameleon menu, its about 20k 
> (compiled with cc65)

$ size fat.o
   text    data     bss     dec     hex filename
   2264       4     603    2871     b37 fat.o

(that is not 6502 code but powerpc; would be insteresting to see how
big it is for 6502.  Might be bigger, but not 20kB big I think?)


Segher
Received on 2018-05-24 02:01:18

Archive generated by hypermail 2.2.0.