Operating systems programming
where can i find fairly simple information on how to create my own simple operating system that can be copied to a disk and booted when the computer boots?
I really am looking forward to create my own text based OS just for the fun of it or maybee even more.
It is VERY hard to produce a working OS (I tried it myself), but if you are REALLY into programming an OS, try
www.gaztek.org
os-dev.isa.net.au
The Intel platform is VERY HARD to program, you have to handle PIC, PIT, disk controller, ... Interrupts are just fun ;-), around 40k source code to set basic things....
Darkening
www.gaztek.org
os-dev.isa.net.au
The Intel platform is VERY HARD to program, you have to handle PIC, PIT, disk controller, ... Interrupts are just fun ;-), around 40k source code to set basic things....
Darkening
well i believe if im correct, that a unix based os can be created entirely of C or C++ on an x86 platform or was that just for the pdp-11 that unix was originally ported to?
http://www.mega-tokyo.com/os/os-faq.html
http://www.acm.uiuc.edu/sigops/roll_your_own/
http://www.nondot.org/sabre/os/articles
http://www.execpc.com/~geezer/osd/
http://www.thesky.demon.co.uk/os-development/index.html
Darkening, I think your 40k estimate may be a bit too high. Especially for a simple text-based OS.
http://www.acm.uiuc.edu/sigops/roll_your_own/
http://www.nondot.org/sabre/os/articles
http://www.execpc.com/~geezer/osd/
http://www.thesky.demon.co.uk/os-development/index.html
Darkening, I think your 40k estimate may be a bit too high. Especially for a simple text-based OS.
quote:Original post by Phillk6751
well i believe if im correct, that a unix based os can be created entirely of C or C++ on an x86 platform or was that just for the pdp-11 that unix was originally ported to?
You can write most of the OS in C, but there are a few things that will need to be assembly.
quote:Original post by Phillk6751
well i believe if im correct, that a unix based os can be created entirely of C or C++ on an x86 platform
Except for such things as the boot sector, the IVT, and other low-level items, yes, you are correct. The rest of the OS can be written in a high-level language.
I have a book that is pretty good. Its called something like "Programming 32-bit operating systems". When I get home, I can post the exact name/auther/publisher.
Overall, it was a pretty good book. However, its pretty deep, and covers a lot of ground (memory management models and stuff) before even getting to any real stuff. I have to admit, I only read about 1/2 to 2/3 of the book, and I never actually implemented anything with it. I bought it more as a learning guide, to get some inside perspective on how the hardware and os interact, and I learned a bundle from it. So I guess Im saying, Im not sure whether or not it would be helpful in implementing your own simple OS.
Overall, it was a pretty good book. However, its pretty deep, and covers a lot of ground (memory management models and stuff) before even getting to any real stuff. I have to admit, I only read about 1/2 to 2/3 of the book, and I never actually implemented anything with it. I bought it more as a learning guide, to get some inside perspective on how the hardware and os interact, and I learned a bundle from it. So I guess Im saying, Im not sure whether or not it would be helpful in implementing your own simple OS.
My OS bible is Operating Systems: Design and Implementation. It's written by someone (Andrew Tanenbaum, if I recall correctly) that dislikes Linux, but apart from that, it's fine.
Signatures? We don't need no steenking signatures!
Edited by - Mayrel on November 1, 2001 2:41:21 PM
Signatures? We don't need no steenking signatures!
Edited by - Mayrel on November 1, 2001 2:41:21 PM
Ok, the book is
Developing Your Own 32-bit Operating System
by Richard A. Burgess
published by Sams Publishing
Its pretty decent. It comes with a sample OS which is built throughout the book. He covers pretty much everything: boot sector, multitasking, file system, device drivers, memory management, etc.
Developing Your Own 32-bit Operating System
by Richard A. Burgess
published by Sams Publishing
Its pretty decent. It comes with a sample OS which is built throughout the book. He covers pretty much everything: boot sector, multitasking, file system, device drivers, memory management, etc.
You might want to check out V2OS. A buddy of mine was into it for a while and I guess it allows you to boot off of a floppy and execute a program... or something like that. Maybe thats all you need.
http://v2os.v2.nl/
--Buzzy
http://v2os.v2.nl/
--Buzzy
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement