Yes. What this book leads you to is a classic UNIX-like OS - drivers in the kernel, a console, paged virtual memory. It doesn't lead you to a microkernel or a hypervisor or a cluster.
There is unfortunately no sample code for each chapter, but you can have a look at https://github.com/helino/aenix (the code in the book is based on aenix).
Thanks! There are no plans for an x86-64 version at the moment. The focus for me right now will be to incorporate all the great feedback we've gotten, fix the issues that have been reported and make it easier to contribute.
Would be lovely if someone try to something similar with Trillek's computer. should be more easy to do a little OS, as there isn't MMU, segments or privileged levels to be worried. A simple 32 bit cpu with a flat memory model, and a simple instruction set.
21 comments
[ 3.0 ms ] story [ 65.5 ms ] threadTo get around the previous-submission url filter. The url you mentioned was posted several hours before this submission, by a different user.
http://hn.algolia.com/legacy#!/story/forever/prefix/0/little...
1. http://books.google.com/books?id=5OZblBzjsJ0C&pg=PA181&lpg=P...
Note that this is 32 bit specific. I'd be very interested in a 64 bit version of this.
ld:link.ld:5: syntax error
Not familiar with GNU ld script syntax, anyone know how to fix this?
Building an OS from scratch is nice, but I think the requirements may have changed since the 80s. :)
then, we can have a USB driver in 1000 lines of code.
All the PCI interrupt shit will be simple.
Hard drive will be ATA on IDE Primary. CDROM will be ATAPI on IDE Secondary.
Then we fix ATA/ATAPI.
Networking protocols will be redone.
HTML will have "goto line number"
Me and Adam, https://github.com/tgwizard, wrote the book based on our experiences writing aenix, https://github.com/helino/aenix. If you find any issues with the text, please file an issue or open a PR at https://github.com/littleosbook/littleosbook
Please be aware that some typos and errors have been discovered, check the issues for more details!