Skip to content

charleX is a simple OS.The kernel is written with c programming language and the reference of this code is "codeproject.com". I still working to make a better kernel than this one!

License

amzyei/charlex-os

Repository files navigation

charleX OS logo :

              %%  %%                      %%  %%      
             %%      %%                  %%      %%   
             %%        %%              %%        %%   
             %%          %%%%%%%%%%%%%%          %%   
             %%                                  %%   
             %%                                  %%   
           %%        %%%%              %%%%        %% 
         %%          %%%%%%          %%%%%%          %%
         %%                                          %%
         %%                  %%%%%%                  %%
         %%            %%      %%      %%            %%
           %%            %%%%%%%%%%%%%%            %%  
            %%                                    %%  
               %%                              %%      
                 %%%%%%%%              %%%%%%%%     
                         %%%%%%%%%%%%%%               

charleX OS

CharleX is a simple OS. The kernel is written in the C and the reference is codeproject.com. I am still working on the source code to make a better kernel. Many features will be added. I want to create a free and open-source operating system like Linux, FreeBSD, etc. You can support us with contribute and making better code to this project or giving stars.

screenshots

screenshots

screenshots

Logo changed (2022)

screenshots

compile and run :

$ as --32 boot.s -o boot.o

$ gcc -m32 -c kernel.c -o kernel.o -std=gnu99 -ffreestanding -O1 -Wall -Wextra

$ gcc -m32 -c about.c -o about.o -std=gnu99 -ffreestanding -O1 -Wall -Wextra

$ gcc -m32 -c utils.c -o utils.o -std=gnu99 -ffreestanding -O1 -Wall -Wextra

$ gcc -m32 -c char.c -o char.o -std=gnu99 -ffreestanding -O1 -Wall -Wextra

$ gcc -m32 -c logo.c -o logo.o -std=gnu99 -ffreestanding -O1 -Wall -Wextra

$ ld -m elf_i386 -T linker.ld kernel.o utils.o char.o logo.o boot.o -o charleX.bin -nostdlib

$ ld -m elf_i386 -T linker.ld about.o utils.o char.o logo.o boot.o -o about.bin -nostdlib

$ grub-file --is-x86-multiboot charleX.bin

$ mkdir -p iso/boot/grub

$ mkdir -p iso/about/

$ cp charleX.bin iso/boot/charleX.bin

$ cp about.bin iso/about/about.bin

$ cp grub.cfg iso/boot/grub/grub.cfg

$ grub-mkrescue -o charleX.iso iso

$ rm *.bin *.o

$sudo qemu-system-i386 ./charleX.iso

Automatic compile and run

$ chmod +x run.sh

$ ./run.sh

GCC Cross Compiler :

$ chmod +x ./gccCrossCompiler

$./gccCrossComplier

About

charleX is a simple OS.The kernel is written with c programming language and the reference of this code is "codeproject.com". I still working to make a better kernel than this one!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published