On Sun, 20 Aug 1995 10:53:25 +0100 (BST), R J Partington said:
> Personally though, I'm opposed to any sort of imposed filetyping (from
> the OS), but that's probably because I'm used to unix (which doesn't
> have any filetypes imposed by the OS AFAICT).

Yes it does - executables.  In fact there are several kinds of executable:
as well as ZMAGIC, NMAGIC and OMAGIC there are also interpreted files which
start with "#!".  Each of these is recognised by the kernel when you do an
execve().

The same will probably be true of the Sam: BASIC "executables" will have a
magic number which is recognised by the system.  Machine code executables
might have one.  Other random pieces of code will have magic numbers that
are not recognised by the base OS.

> Probably, but how are you going to fit a reasonable number of 32.8
> filenames on the SAM's screen? :)

Mode 3?  :-)

imc

Reply via email to