¡Cómo no! Hacer por hacer un sistema operativo, puedes hacer incluso esto:
http://www.codeproject.com/KB/cs/CosmosMS5.aspx
Pero dejémonos de tonterías, al hacer un proyecto serio y un poco grande perderías mucha velocidad e incluso cosas tan básicas como la gestión de archivos. Los propios creadores de FreeBASIC lo dicen:
http://www.codeproject.com/KB/cs/CosmosMS5.aspx
Pero dejémonos de tonterías, al hacer un proyecto serio y un poco grande perderías mucha velocidad e incluso cosas tan básicas como la gestión de archivos. Los propios creadores de FreeBASIC lo dicen:
CitarCan I write an OS in FreeBASIC ?
YES and NO. If you really insist to write an OS and involve FB, the answer is YES. If the question is, whether it is a good idea that you, even more if a beginner, should start coding an OS using FB now, the answer is NO. Several pitfalls apply:
OS development is hard, see http://www.osdev.org/wiki/Getting_Started∞; .
FB won't help you to bypass the need to deal with assembly, also C might be almost impossible to avoid.
You won't be able to use most of the trusted FB features, like graphics, file I/O, threads, memory management, even console I/O ... just control flow, math and logic. If you need those library functions, you will have to reimplement them.
FreeBASIC relies on GCC, and available informations about developing an OS in C apply to FreeBASIC as well. FB will help you neither more nor less than GCC.