We're going to have to provide a standard 16-bit BIOS interface if we want to support DOS and Windows users. There's not a lot of chance of making the BIOS go straight into 32-bit mode and stay there.
We can still use C in 16-bit mode - take a look at the elks development utils, which are quite suitable for this task.
I think we want to write most of it in C, with some critical sections in ASM - after http://dwmw2.robinson.cam.ac.uk/devload/ I really don't want to think about large projects written solely in assembly.
---- ---- ---- David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355 Dave@imladris.demon.co.uk http://dwmw2.robinson.cam.ac.uk finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.
--- OpenBIOS -- http://www.linkscape.net/openbios/ openbios-request@linkscape.net Body: un/subscribe Problems? dcinege@psychosis.com
On Tue, 17 Feb 1998, David Woodhouse wrote:
We're going to have to provide a standard 16-bit BIOS interface if we want to support DOS and Windows users. There's not a lot of chance of making the BIOS go straight into 32-bit mode and stay there.
This might be a really bad idea but let me know what you think anyway :) How about doing a really low level boot loader of some sort so if your booting linux it goes into 32bit protected mode early where as if you boot dos or win it loads into 16-bit mode with all the int's that are needed?
I think we want to write most of it in C, with some critical sections in ASM - after http://dwmw2.robinson.cam.ac.uk/devload/ I really don't want to think about large projects written solely in assembly.
:)
--- OpenBIOS -- http://www.linkscape.net/openbios/ openbios-request@linkscape.net Body: un/subscribe Problems? dcinege@psychosis.com
Adam Wiggins wrote:
On Tue, 17 Feb 1998, David Woodhouse wrote:
We're going to have to provide a standard 16-bit BIOS interface if we want to support DOS and Windows users. There's not a lot of chance of making the BIOS go straight into 32-bit mode and stay there.
This might be a really bad idea but let me know what you think
anyway :) How about doing a really low level boot loader of some sort so if your booting linux it goes into 32bit protected mode early where as if you boot dos or win it loads into 16-bit mode with all the int's that are needed?
Boot entry with DOS compatibility option??
--- OpenBIOS -- http://www.linkscape.net/openbios/ openbios-request@linkscape.net Body: un/subscribe Problems? dcinege@psychosis.com
On Wed, 18 Feb 1998, Adam Wiggins wrote:
On Tue, 17 Feb 1998, David Woodhouse wrote:
We're going to have to provide a standard 16-bit BIOS interface if we want to support DOS and Windows users. There's not a lot of chance of making the BIOS go straight into 32-bit mode and stay there.
This might be a really bad idea but let me know what you think anyway :) How about doing a really low level boot loader of some sort so if your booting linux it goes into 32bit protected mode early where as if you boot dos or win it loads into 16-bit mode with all the int's that are needed?
what is so wrong with it just booting 16bit mode? we KNOW we can't force standards like 32bit BIOS upon the already overwhelming MS crowd
I think we want to write most of it in C, with some critical sections in ASM - after http://dwmw2.robinson.cam.ac.uk/devload/ I really don't want to think about large projects written solely in assembly.
:)
OpenBIOS -- http://www.linkscape.net/openbios/ openbios-request@linkscape.net Body: un/subscribe Problems? dcinege@psychosis.com
_ _ __ __ _ _ _ | / |/ /_ __/ /_____ | Nuke Skyjumper | | / / // / '_/ -_) | "Master of the Farce" | |_ /_/|_/_,_/_/_\__/ _|_ nuke@bayside.net _|
--- OpenBIOS -- http://www.linkscape.net/openbios/ openbios-request@linkscape.net Body: un/subscribe Problems? dcinege@psychosis.com
On Wed, 18 Feb 1998 nuke@bayside.net wrote:
On Wed, 18 Feb 1998, Adam Wiggins wrote:
This might be a really bad idea but let me know what you think anyway :) How about doing a really low level boot loader of some sort so if your booting linux it goes into 32bit protected mode early where as if you boot dos or win it loads into 16-bit mode with all the int's that are needed?
what is so wrong with it just booting 16bit mode? we KNOW we can't force standards like 32bit BIOS upon the already overwhelming MS crowd
Well, some of us want to use our BIOS for better things :)
Some people (mostly Linux users, but eventually HURD, BEos, and whatever Sun is whipping up) can go without all the old stuff still supported. If it is a compile-time option to support them, then we can use the spare room in the BIOS for something like the Alpha's SRM console.
I guess I would envision 'DOS Support' as a device to be included :) Most people, myself included, would include it. But if we are gonna let them compile the BIOS, we might as well give them the choice.
Yes, I realize that the Linux kernel would have to be slightly rewritten to use the new BIOS, but why not?
-- Chris Arguin | "Multiple exclamation marks are a sure sign of a Chris.Arguin@unh.edu | diseased mind." - Eric, Terry Pratchett
--- OpenBIOS -- http://www.linkscape.net/openbios/ openbios-request@linkscape.net Body: un/subscribe Problems? dcinege@psychosis.com