Simple Operating System — TLUX_OS

Thiluxan
2 min readJul 10, 2020

--

I have created the simple operating system called TLUX_OS for the educational purpose. It will display the basic hardware information of the computer system. The OS is created by modifying the JOSH operating system which is also an operating system for educational purpose.

To implement this operating system a basic understanding of some functions and operations in assembly language is needed. The final OS can be viewed in virtual box as well as in QEMU emulator. Also a compiler named nasm is needed sometimes, for compiling.To install both of them in Ubuntu:

sudo apt-get install build-essential qemu nasm

I created the kernel.asm using the basic functions and operations provided by the JOSH OS tutorial. Then added the relevant assembly codes for displaying the hardware information. Those things were obtained from the reference materials provided.

For booting the Operating System a bootloader program is needed and i used the same bootload.asm from the JOSH without any modifications. The OS is booted from the floppy image. This can be created manually. But I used the image from the OS named MikeOS. For manually creating, run the below code

mkdosfs -C mikeos.flp 144

Finally for compiling the program, it can be compiled using the compiler. But I used the build-linux.sh from MikeOS which makes it more easier for compiling it. There should be some modifications to be done in the file for making it compact with out OS.

Compiling the program

sudo bash ./build-linux.sh

Running the QEMU emulator

qemu-system-i386 -fda ./disk_images/mikeos.flp

Source Code:

References:

--

--