Skip to content

A UNIX-like operating written 💿 for i686 and legacy BIOS systems.

Notifications You must be signed in to change notification settings

ica574/newtonix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Newtonix is an elementary operating system built from tutorials across the internet. I am working on it primarily to learn more about low-level programming, however, it may be developed further into a mature operating system in the future. The design is meant to be UNIX-like, for stability and portability purposes.

Target Platform

The operating system is primarily designed for i686 processors and legacy BIOS systems, therefore, it is to be built using a cross-compiler, and a legacy version of GRUB as a bootloader.

Pre-requisites

To build Newtonix, it is important to have a version of i686-elf-gcc, and i686-elf-as installed. These could be made by downloading and compiling source files from the GCC, and Binutils websites, however, a quicker way would be to install these from Debian repositories.

It is also important to have grub-pc-bin, especially if you have a UEFI system. xorriso and qemu are needed to create a disc image and emulate i686 on your host computer.

NOTE: If installed from Debian repositories, a symlink must be created in the host's /bin from the 'apt-installed' cross-compilers i686-linux-elf-gcc, and i686-linux-elf-as to i686-elf-gcc, and i686-elf-as. This is necessary to avoid issues with the make script.

Building and Running

Once all prerequisites are satisfied, clone this repository locally by invoking git clone <GitHub URL>, and running the provided scripts. Compile Newtonix with ./build.sh, generate an ISO image with ./iso.sh, and boot into it with ./qemu.sh.

Objectives

It would be splendid to have a version of GCC ported to Newtonix, however, this must succeed in getting all fundamental system functions like memory management in working order. After this is accomplished, the OS can then be ported to more modern platforms, such as x86_64, and aarch64, with UEFI firmware. Initially, however, the system will be designed on more simple, legacy hardware.

Sources

Here are some of the websites I'm using to build this project:

About

A UNIX-like operating written 💿 for i686 and legacy BIOS systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published