charlex-os
所属分类:驱动编程
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-09-22 22:23:30
上 传 者:
sh-1993
说明: charleX是一个简单的操作系统。。。用c编程语言编写的内核,该代码的引用是codeproject.com。我仍在为......工作...,
(charleX is a simple OS ... kernel written with c programming language and reference of this code is codeproject.com . I still working to make a better kernel than this one ...)
文件列表:
LICENSE (35149, 2022-06-13)
about.c (410, 2022-06-13)
boot.s (763, 2022-06-13)
char.c (1531, 2022-06-13)
charleX.iso (6232064, 2022-06-13)
gccCrossCompiler (519, 2022-06-13)
grub.cfg (139, 2022-06-13)
includes/ (0, 2022-06-13)
includes/char.h (117, 2022-06-13)
includes/kernel.h (406, 2022-06-13)
includes/kernelutils.h (5571, 2022-06-13)
includes/keyboard.h (1767, 2022-06-13)
includes/reqs.h (52, 2022-06-13)
includes/types.h (132, 2022-06-13)
includes/utils.h (160, 2022-06-13)
kernel.c (761, 2022-06-13)
linker.ld (1026, 2022-06-13)
logo.c (1737, 2022-06-13)
run.sh (1082, 2022-06-13)
screenshots/ (0, 2022-06-13)
screenshots/charleXGrub.png (58512, 2022-06-13)
screenshots/charleXLoadingAndLogo(new).png (80075, 2022-06-13)
screenshots/charleXLoadingAndLogo.png (38355, 2022-06-13)
screenshots/charleXPrompt.png (7045, 2022-06-13)
utils.c (628, 2022-06-13)
# 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](https://github.com/lilmicr0/charlex-os/blob/master/screenshots/charleXGrub.png)
![screenshots](https://github.com/lilmicr0/charlex-os/blob/master/screenshots/charleXLoadingAndLogo.png)
![screenshots](https://github.com/lilmicr0/charlex-os/blob/master/screenshots/charleXPrompt.png)
### Logo changed (2022)
![screenshots](https://github.com/lilmicr0/charlex-os/blob/master/screenshots/charleXLoadingAndLogo(new).png)
# 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
近期下载者:
相关文件:
收藏者: