Nanoos - A C++ asm(x86) Hobby OS developed using g++

  •        353

Nano OSAn object oriented OS written in C++ and assembly. How toI recommend trying out the floppy disk image(very recent) first. Please download the disk image. use qemu or bochs to boot the image. After you satisfied your self please join the project and checkout the source. Play around and understand what is happening where. then discuss here and try to implement small chunks and small functionality. I will suggest try out modifying the shell code to add few more commands. Next modify IStream subsystem to handle int, pointer, HEX etc... Present FeaturesMulti boot compliant (tested with GRUB) Hope it will work with syslinux too C++ minimal run time is present written as object oriented kernel 32-bit protected mode Memory manager for physical memory only CPU detection, Memory detection and IDE hard disk detection IDE hard disk read is possible Partion table parsing is in-built to IDE code FAT16 Partitions are recognised now Multi Tasking(kernel threads) round-robin scheduling with priority To DoMemory manager will be re-written using paging(first priority) Chris Gheezee's Malloc implementation based on heap implemented. Multi tasking (second priority) thread join need to be proper (see thread_catcher()) application loading atleast elf and coff binary.(third priority) I am planning to create a driver template so that it will be easy to write drivers floppy driver IDE driver ( See changelog bellow) network stack (might be mu-tcp/ip) ether net driver for rtl series and NE2k NFS client side (too ambitious ) Modify IStream and OStream for better functionality. specially implemet getstring() in cin Filesystem atleast FAT-16 will be nice. (any help on this with reference to the present code will be highly appreciated) Somany more Note Help me to grow this embryo remember this is not going to compete with any other OS This is purely for Experimentation and Learning, Covered under GNU GPL-V2 if you find this interesting and want to contribute, I will be happy to accept your code Screen ShotsNanoOS Booting the GRUB screen NanoOS Shell with remains of other tasks NanoOS Shell Prompt ready NanoOS Shell Showing Tasks with there states and parent and number of children NanoOS shell showing pci info in qemu( my BOCHS doesnt have PCI ???) change log9th december 2008: Kmalloc kfre krealloc implementation based on Chris gheeze's Heap based first fit allocator 18th december 2008: rudimentary dma and fdc code ported. 5th January 2009 : IDE hard disk driver is implmented. ( Only Reading) This works under BOCHS but not Under Qemu, I don't know Why??? 7th January 2009 : IDE driver in read_sector a minor bug is fixed, Partition Scanning is implemented. 13th January 2009 : IDE driver now works fine under BOCHS and qemu. cpuinfo now displays properly. 9th February 209 : A rudimentary FAT16 is implmented, It now only be used to check if the Kernel recognizes FAT16 partition or not. The Image Works with qemu. For details how to PLease Check the Wiki. 11th March 2010 : Few modification to malloc family in kheap.cpp Initial PCI code but not working, initial tasking code not tested, Use of class template for singleton class. multiboot class is derived from singleton template. 20th March 2010 : Multitasking of 4 task for done. This is just to test the context switch is working correctly. :) enjoy. 30th April 2010 : Task/thread functions are accepting parameter. And thread exit is handled, 7th June 2010 : Basic Thread join is working. 10th June 2010: the Directory structure is changed and the build process is changed from Bash script to Makefile. 19th June 2010 : Initial PCI stuff added pci.cpp pci.h pcidef.h



Related Projects


raspBerry+ is a web-based administration platform for Blackberry Enterprise Server for MS Exchange (BES). You can group-based activate/kill/delete/add and get status of users, their handhelds and services. With a little download-area and a comment-system


RASP's A Sneakernet Proxy; download using a thumbdrive.


RasmusDSP is an embeddable Audio/MIDI processor. It contains various filters and generators (including SoundFont 2.0 compatible synthesizer). Has a script interpreter which is used to describe instruments, route Audio/MIDI signal between processor units.


An acronym for cRoss-plAtform accesS control for Enterprise Applications. Rasea aims to become a reference in access control as a service based on the RBAC model.


Rascal, the Advanced Scientific CALculator, is a platform independent modular calculator. Based on modules for integer, doubles, strings, vectors and matrices it can be easily extended with existing C or C++ code.


RARS is the Robot Auto Racing Simulation, in which the drivers are robot programs. It is intended as a competition among programmers. It consists of a simulation of the physics of cars, a graphic display of the race, and a robot driver for each car.


This small program allows you to play a video directly from a RAR file and do so in real-time. Both VLC and MPlayer are supported video players.


RAReXtract is a Front-End for the UnRAR command line utility for Mac OS X 10.5 (Leopard). Its purpose is the rapid and convenient extraction of RAR archives with a double click.

RAR Expander

Rar Expander is a MacOSX program which extracts the files contained in single or multi-volume RAR archives. It uses the official unRAR library internally so it is fully compatible with archives produced by WinRAR.


This program uses a brute force algorithm to guess your encrypted compressed file\'s password. If you forget your encrypted file password, this program is the solution. This program can crack zip,7z and rar file passwords.


RArcInfo is a package for R ( to import data from binary Arc/Info V7.X coverages and E00 files . This will allow R users to used it as a primary GIS tool.

rar brute force shell script - rarbrute

This is rarbrute, a shell script to brute force encrypted rar files under unix and linux. A long wordlist and a paper about security in internet cafes is included.

Raquel Database System

The system will : 1. use RAQUEL (= Relational Algebra Query, Update and Executive Language) for programming, implementing Third Manifesto principles. 2. have a 'Lego-like' architecture of building blocks and plug-ins, for wider applicability.


RAPv4 is an engine for building web application with only a business description (in XML format). NEW 04/2006 : Stable 2006 release. Add new functions like mail, sms, web services, graph, map engine (GIS), Excel output, QBE... and also a beta release of


2d Scroller. Clone of Raptor: Call of the Shadows and Tyrian. Fun game written in c++ using allegro.


Lightweight XML based transformation tool written in C that builds upon expat, tidylib and XSLT to tranform authored web content (incl. Word processor generated HTML) into styled web content suitable for publication.


RapidSMS is an open-source internet and communications platform


RapidSmith is a research-based FPGA CAD tool framework written in Java for modern Xilinx FPGAs. Based on XDL, its objective is to serve as a rapid prototyping platform for research ideas and algorithms relating to low level FPGA CAD tools.

Rapidshare Mass Downloader

What this program does is bringing out human interaction while downloading files from rapidshare(without premium account). It downloads all the rapidshare links sequentially to the specified location.

rapido visual profiler

rapido is a visual profiler for linux-x86. It traces function call using the ptrace interface and displays the information collected in a nice visual flow chart. rapido does not require the re-compilation of the application.