Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kotleni/helloos

Hello OS kernel. (home project)
https://github.com/kotleni/helloos

baremetal c kernel linker nasm os x86

Last synced: about 2 months ago
JSON representation

Hello OS kernel. (home project)

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.