Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If the human brain were so simple that we could understand it, we would be so simple we couldn't.


devel / comp.lang.c / ideal BIOS

SubjectAuthor
o ideal BIOSmuta...@gmail.com

1
ideal BIOS

<77712d6e-1ab2-416c-adf2-e07bcccc63f5n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19669&group=comp.lang.c++#19669

  copy link   Newsgroups: comp.lang.c
 by: muta...@gmail.com - Wed, 29 Dec 2021 21:50 UTC

I think a fundamental aspect of application programming
in C is that devices like disks that are read as blocks
(sectors) are presented to the application as character
streams.

What I think would be good is for the operating system
to have the same benefit, with a BIOS that makes an
entire disk look like a file that can be opened with
fopen("0x80", "r+b");

The BIOS can't return FILE * though, as FILE is defined
independently by the OS's C library. The BIOS needs to
be defined to return void * instead.

Another thing is that stdin should come as setvbuf
no-buffering with the implication that that means keys
are not being echoed, so the OS is responsible for the
echoing.

So what I envisage is something similar to UEFI but done
with C90-like functions.

Am I missing anything?

Thanks. Paul.


devel / comp.lang.c / ideal BIOS

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor