Simple Operating System

Tdeshananda
2 min readJul 26, 2020

--

A small operating system which is called TDeshanandaOS is a education purpose Operating System that displays hardware information of the computer which it runs. The Operating system displays information such as CPU vendor, CPU description, number of Hard Drives available, number of Serial Ports etc.

The OS uses the bootloader of the MikeOS operating system. The kernel.asm contains the code to acquire CPU information and System information. keyboard.asm contains the procedures for getting keyboard input; screen.asm contains procedures for handling display output, Printing and drawing backgrounds and rectangles for welcome screen.

The BIOS interrupts were used for cursor movement, displaying strings, colors and making color filled rectangles. The CPU information such as CPU vendor ,Description were acquired by using CPUID instruction.

The NASM assembler was used to assemble code files and the build-linux.sh script was used with some modifications in order to build the image file. And also the Oracle VM VirtualBox was used to boot the image file and test the Operating system.

References:

MikeOS:

JOSH OS:

Medium Article:

https://medium.com/setublog/hands-on-to-operating-systems-a847e9dc75f7

--

--

Tdeshananda
Tdeshananda

No responses yet