About Corex
Corex is my hobby operating system project. It is written mostly in C and x86 Assembly. The goal is not to make a perfect OS, but to learn how everything works: booting, memory, interrupts, keyboard, shell and more.
Right now Corex:
- boots on x86 PCs (and in QEMU/VirtualBox)
- initializes basic kernel stuff (GDT, IDT, interrupts)
- has a small text-mode shell with the prompt
corex> - supports typing commands and using arrow keys
This site is oldschool on purpose. I like the 90's / early 2000's style of personal pages where people just share their projects.
Kernel & Shell Features
- Switches to 32-bit protected mode
- Custom GDT and IDT
- Simple interrupt handlers
- Basic timer / ticks
- Keyboard driver for PS/2
- Text-mode screen printing (C + ASM)
- Command line editing with left/right arrow keys
- Command history with up/down arrows
- Built-in commands like
help,clear,echo,reboot - Cursor stays exactly after the
corex>prefix - Line buffer with length limits to avoid crashes
Shell Example
This is roughly how the Corex shell looks in the emulator (text mode). (This is just a simulated screenshot in HTML.)
Download & Roadmap
Warning: Corex is experimental. It might crash, hang or do strange things. Please only run it in an emulator (QEMU, etc.) if you are not sure what you are doing.
| Version | Description | Status | Link |
|---|---|---|---|
| 0.1 - First boot | Kernel prints text after boot, basic setup. | DONE | Release page |
| 0.2 - Shell build | Shell with arrow keys & history. | WORK IN PROGRESS | (no public file) |
| 0.3 - Drivers | Better keyboard / timer, maybe serial output. | PLANNED | – |
| Source code | All C/ASM files and build scripts. | COMING SOON | Source repo |
Example QEMU command line (32-bit):
qemu-system-i386 -cdrom corex-0.2.iso -m 128M -boot d
Developer Notes
I am still learning OS development. I read a lot of tutorials, OSDev wiki, forum posts and look at other hobby kernels. Corex is like my personal lab.
- Focus right now: make the shell more comfortable (good cursor & history)
- Next steps: clean up the C code and split files better
- Future maybe: simple filesystem, more commands, basic multitasking
If you have ideas, suggestions or you like this project, you can write me an email. walter.muller.1708@gmail.com