> On Fri, 18 Aug 1995 14:40:32 +0200, Frode Tenneboe said:
> > But the SAM is stil insensible enough to differ between the filetypes
> > BASIC, CODE, SCREEN, OPENTYPE, etc.
> 
> These distinctions are not in the name, but in the directory entry.  There
> is only a small difference between that and putting the difference in a
> magic number at the start of the file.

I'm not talking about the name. The name should be anything you want
without the restriction some crappy OS puts on the filesystem. The
point of having a magic number in the start of the file or in the
directory entry is almost equaly insensible.

> 
> > But you can call a BASIC-program "foo.c" if you want to - the ".c"
> 
> True.
> 
> > does not have anything to do with the filetype. The filetype is
> > determined from the first byte of the directory-entry. The postfix
> > should not be important for the operating system - an excelent example
> > of the oposite is MessDos....
> 
> But lots of utilities use file suffixes for convenience.  You _can_ get the
> Unix C compiler to compile a C program that doesn't end with ".c", but it's
> nontrivial.

Neither am I talking about the utilities. I'm talking about the DOS.

The situation for the SAM is a bit special as it have to separate
BASIC-programs from other files. However, this is the only distinction
I think a future DOS for the SAM should have. No more SCREEN files, 
OPENTYPE, bla bla....

 -Frode

Reply via email to