https://github.com/kotleni/helloos
Hello OS kernel. (home project)
https://github.com/kotleni/helloos
baremetal c kernel linker nasm os x86
Last synced: 11 months ago
JSON representation
Hello OS kernel. (home project)
- Host: GitHub
- URL: https://github.com/kotleni/helloos
- Owner: kotleni
- License: gpl-3.0
- Created: 2020-03-17T10:45:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-02T14:24:18.000Z (over 1 year ago)
- Last Synced: 2025-07-08T05:51:58.716Z (11 months ago)
- Topics: baremetal, c, kernel, linker, nasm, os, x86
- Language: C
- Homepage:
- Size: 244 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## helloos
Simple home made OS for x86.

### Whats working?
- [x] Memory allocator
- [x] Multiboot loader support
- [x] Text mode video driver
- [x] ATA driver
- [x] Keyboard driver
- [x] Serial driver
- [x] FAT32 filesystem
### Dependecies
Ubuntu:
```bash
apt install qemu-system-x86 gcc-multilib nasm
```
Fedora:
```bash
dnf install qemu glibc-devel nasm
# and something else?
```
Arch:
```bash
pacman -Syu qemu-full base-devel nasm mtools dosfstools
```
MacOS:
```bash
brew install x86_64-elf-gcc nasm qemu-system-x86
# and something else?
```
### Build
```bash
git clone https://github.com/kotleni/helloos
cd helloos
mkdir build
make floppy
make base
```
### Run on qemu
```bash
qemu-system-x86_64 -m 512 -drive file=build/floppy.img,index=0,if=ide,format=raw -kernel build/kernel
```
** Floppy driver using as root fs drive.