Giter VIP home page Giter VIP logo

noobos's Introduction

NoobOS

A simple OS template for developers to get started with OS dev

What does this do?

This is a simple and minimalistic implementation of a bootloader and a kernel to boot the OS from the disk, load the kernel, and indicate the same by printing a message on the screen.

Purpose

If you want to learn more about OS dev but can't find any simple source on the same, then you can use this repository as a reference. Modern operating systems are much more complex compared to this implementation, so it is advisable to refer to other sources such as OSdev Wiki once you have a better understanding of OS dev

Building the project

If your system needs to set file permissions for the build script, use the command below:

chmod +x build.sh

Once permissions are set, run the command below to compile the source files and boot the OS:

./build.sh

See dependencies for more info on required libraries and software installed

Working Screenshot

NoobOS

Dependencies

  • QEMU
  • gcc
  • NASM
  • WSL (Windows machines only)

Pre-requisites

  • Knowledge of C programming
  • Basics of Assembly x86
  • Basics of operating systems
  • Registers and flags (x86 architecture)

References

Alternative sources

Credits

noobos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

noobos's Issues

build.sh is not working properly.

I ran the build.sh file after running chmod +x build.sh of course but it fails, here is the log:

image

ld: cannot open output file ./bin/kernel.bin: No such file or directory
qemu: could not open kernel file './bin/kernel.bin': No such file or directory 

No files is deleted or modified... Here's what ls reports:

boot.asm  boot.o  build.sh  include  kernel.c  kernel.o  LICENSE  link.ld  README.md  screenshot  src

I cloned the git and then ran chmod +x build.sh and ran build.sh but then it fails...

Add basic system commands

Add commands to perform the following elementary functions:

  1. Persistence required:
  • Set timezone
  • Set location
  • Set current Username
  1. Persistence is not required:
  • Get available memory
  • Get Username
  • Get the date and time
  • Get the current location
  • Perform simple arithmetic operations on expressions
  • Power off

Note: By persistence, I mean that the data should be stored somewhere and must be retrievable and modifiable whenever needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.