muta...@gmail.com
2021-03-09 17:11:04 UTC
If we simplify everything to a 32-bit BIOS and a
32-bit OS and 32-bit applications, I can't see any
reason why the OS can't contains the entire C
library, and applications access that via some
appropriate pointer.
But can we go one step further and make the
BIOS a C library? So all hard disks are presented
as a single file. Perhaps the boot disk can be
already open at boot time so that you can start
doing fread() to read sectors straight away in
the boot sector. This will also avoid the need to
invent a BIOS interface. Perhaps internally things
will be smoother if people stick to buffer sizes
that are equal to or a multiple of the sector size
or cluster size. I think this will also cover CKD
mainframe disks where I currently use a "sector
size" of 18452 bytes to semi-optimize for a 3390.
I think we need 3 levels of privilege level - user,
OS and BIOS.
I also think that even on the 80386 we should
allow 64-bit longs to be used by applications
such as the OS which would ideally be able
to access disks greater than 4 GiB in size.
The applications that run under the OS could
still use 32-bit longs, and the OS should be able
to cope with the different memory models in
use.
BFN. Paul.
32-bit OS and 32-bit applications, I can't see any
reason why the OS can't contains the entire C
library, and applications access that via some
appropriate pointer.
But can we go one step further and make the
BIOS a C library? So all hard disks are presented
as a single file. Perhaps the boot disk can be
already open at boot time so that you can start
doing fread() to read sectors straight away in
the boot sector. This will also avoid the need to
invent a BIOS interface. Perhaps internally things
will be smoother if people stick to buffer sizes
that are equal to or a multiple of the sector size
or cluster size. I think this will also cover CKD
mainframe disks where I currently use a "sector
size" of 18452 bytes to semi-optimize for a 3390.
I think we need 3 levels of privilege level - user,
OS and BIOS.
I also think that even on the 80386 we should
allow 64-bit longs to be used by applications
such as the OS which would ideally be able
to access disks greater than 4 GiB in size.
The applications that run under the OS could
still use 32-bit longs, and the OS should be able
to cope with the different memory models in
use.
BFN. Paul.