Re: [Freedos-devel] Porting the FAT filesystem

2007-04-14 Thread [EMAIL PROTECTED]
> Hello can you mail me your code? > Thanks, ed. The code is here: www.fatti.com/ffs/ffs.zip That's the plain port of the FAT12/FAT16 filesystem which was included 4 years ago in FreeDOS. Allow a couple of days and I'll post the whole test suite, complete with an exaple project compileable w

Re: [Freedos-devel] Porting the FAT filesystem

2007-04-14 Thread Eric Auer
Hi Enrico, Bart, > > The starting point of my port should be the following set of functions: > > "DosOpen()", "DosClose(), "DosRead", "DosWrite",... Those are how the kernel implements the basic int21 functions. The int21 handler is only a thin wrapper in this area. > > And not the following se

Re: [Freedos-devel] Porting the FAT filesystem

2007-04-14 Thread Bart Oldeman
On 4/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Please, correct me if I'm wrong: > The starting point of my port should be the following set of functions: > > "DosOpen()", "DosClose(), "DosRead", "DosWrite",... > > And not the following set: > > "dos_open()", "dos_close(), "dos_read", "d

Re: [Freedos-devel] Porting the FAT filesystem

2007-04-14 Thread edwin rhodes
Hello can you mail me your code? Thanks, ed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 14 April 2007 17:05 To: freedos-devel Subject: Re: [Freedos-devel] Porting the FAT filesystem Hi Eric, thanks for your detailed and clear

Re: [Freedos-devel] Porting the FAT filesystem

2007-04-14 Thread [EMAIL PROTECTED]
Hi Eric, thanks for your detailed and clear answer. What I'm doing is "borrowing" (with respect to the license) the filesystem and producing a, freestanding (i.e. NO OS dependancies), run-to-completion (no semaphores, no critical sections...), self-consistent, pure ANSI C filesystem for embe

Re: [Freedos-devel] Porting the FAT filesystem

2007-04-14 Thread Eric Auer
Hi Enrico, for porting the FreeDOS implementation of FAT to another operating systems, you should simplify many things. In particular, each disk access goes through several layers, basically because this is what MS DOS does as well and we have to be compatible to drivers written for MS DOS. > C

[Freedos-devel] Porting the FAT filesystem

2007-04-14 Thread [EMAIL PROTECTED]
Hello, I don't know if this is the right place to post my question. I'm porting the FAT filesystem included in the latest release (20.36) of FreeDOS to two embedded platforms (ARM and Renesas M16C). Actually, it's gonna be a pure ANSI C port. I already ported successfuly the FreeDOS's filesyst