Antti wrote:mikegonta wrote:Please explain what specifically about the open, close, read, write, rename and delete DOS functions is policy.
It may be hard to draw a line between
mechanism and
policy. If you have a method for accessing disk sectors, it could be
considered as a mechanism. Having those relatively high-level functions is more than (that).
Simple systems expose the mechanism in their policy, but the implementation of a file system specification is not policy.
Antti wrote:- File system. A policy in itself, like file attributes, file name format, date stamps. etc.
- State. How many open files? Read/write pointers? Caches? etc.
- Error handling. How many times you retry if there is a read/write error? etc.
- Fragmentation. How do you handle file fragmentation? Pick up always a first free cluster? etc.
All implementation mechanism of an ubiquitous file system, no matter how it is implemented internally it is still a driver.
Antti wrote:- Extra features. Long-name support? etc.
There is actually no LFN support in the
io.sys (the last "real"
DOS) that came with Windows98, but
doslfn.com or similar
can take care of that (with
mouse.com providing USB mouse support). I would say that the best extra feature would be indirection.
The user "indirection" experience policy is very similar in
DOS and
Linux and is implemented in
command.com/
bash. These two
system's mechanisms and UI implementation policies are different from each other, and the functions which are used to implement
the policy are not the policy itself.
Antti wrote:Please also note that I am probably only one here who admitted that your idea was not totally pointless (see my previous post).
Thanks for the support. However, I think you got the wrong point.
Antti wrote:Still, it should be noted that you would build your work on some other operating system. Of course, it is possible to use it as an
intermediate step, like a boot loader for the real operating system?
My point is that for a simple system (standalone utility, game, hobby OS) that is typically using the
BIOS function drivers it could just
as easily use the "DOS BIOS", which includes the input/output and basic file functions, without being considered a
DOS application/appliance/operating system. The
DOS functions for loading/executing programs and memory allocation etc. are the
actual
DOS operating system kernel. It's this OS functionality that would be implemented in the OS and not the
DOS kernel functions
being used. The ones being used are only drivers and
BIOS wrappers.
I'm not distributing any MS executables nor am I distributing any MS source code (original, modified or derived). The moral/legal issues
of an individual using (for their own personal/private/non commercial use) a bootable USB
DOS flash drive are
pointless - who cares -
certainly not Microsoft. Some people actually use
DOS as their development environment, others use
DPMI, others use an
MZ
executable/loader for their kernel, etc.
The consensus here, (majority or otherwise) that
BIOS based systems are pointless - is
pointless since the subject is
when DOD is not DOS.