Skip to content

energyc0/energyc_OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

energyc0's OS

This is my hobby OS. It is a quite interesting project where I learned a lot about boot sequence, BIOS, elf-format, x86 architecture, interrupts and more!

Screenshot from 2025-06-19 15-03-55

How to build on Ubuntu/Debian

Install dependencies.

$ sudo apt update
$ sudo apt install qemu-system-x86 nasm gdb

and run

$ make

How to run

$ make qemu

If you want to debug the project run

$ make debug

This will create a local tcp socket with port 1234, you can connect to it using gdb. You need to configure gdb before running it. I recommend using .gdbinit file containing:

define hook-stop
x/1i $pc
end

target remote localhost:1234
layout split
set architecture i8086
symbol-file build/kernel/kernel.dbg
b kmain

Now run

$ gdb

and write c command.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published