Skip to content
This repository was archived by the owner on Oct 11, 2021. It is now read-only.

Commit 2a0eeaf

Browse files
committed
πŸŒ³πŸ“  Organised Layout + Docs
1 parent 8befbec commit 2a0eeaf

35 files changed

+42
-12
lines changed

β€ŽMakefileβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
C_SOURCES = $(wildcard os/kernel/*.c os/drivers/*.c os/cpu/*.c os/libc/*.c)
2-
HEADERS = $(wildcard os/kernel/*.h os/drivers/*.h os/cpu/*.h os/libc/*.h)
3-
OBJ = ${C_SOURCES:.c=.o os/cpu/interrupt.o}
1+
C_SOURCES = $(wildcard src/kernel/*.c src/drivers/*.c src/cpu/*.c src/libc/*.c)
2+
HEADERS = $(wildcard src/kernel/*.h src/drivers/*.h src/cpu/*.h src/libc/*.h)
3+
OBJ = ${C_SOURCES:.c=.o srccpu/interrupt.o}
44

55
CC = /usr/local/i386elfgcc/bin/i386-elf-gcc
66
GDB = /usr/local/i386elfgcc/bin/i386-elf-gdb
@@ -34,4 +34,4 @@ debug: drippleos.bin bin/kernel.elf
3434
nasm $< -f bin -o $@
3535

3636
clean:
37-
rm -rf bin/*.o bin/*.bin os/cpu/*.o *.o *.bin *.elf os/kernel/*.bin os/drivers/*.o drippleos.bin *.dis *.bin os/lib/*.o os/libc/*.o
37+
rm -rf bin/*.o bin/*.bin src/cpu/*.o *.o *.bin *.elf src/kernel/*.bin src/drivers/*.o drippleos.bin *.dis *.bin src/lib/*.o src/libc/*.o os/drippleos.bin

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,10 @@ Moving on to run this, make sure you have installed **[qemu](https://www.qemu.or
1313
```
1414
$ git clone https://github.com/BaseProgrammer/drippleMini # Download repo
1515
$ cd drippleMini/ # Change directory to repo
16-
$ cat bin/bootsect.bin bin/kernel.bin > drippleos.bin # Merge into one file
17-
$ qemu-system-i386 -fda drippleos.bin # Run it
16+
$ qemu-system-i386 -fda os/drippleos.bin # Run it
1817
```
1918

2019
Additionally if the `qemu-system-i386` command doesn't work, the presumably alternative way to solve this is by just running `qemu -fda drippleos.bin`
2120

22-
### What's New?
23-
24-
- Kernel Allocator
25-
26-
### FILE SYSTEM SOON!
27-
2821
### How can I create my own OS?
2922
One of the main GitHub repositories that helped me quite a lot is the [os-tutorial](https://github.com/cfenollosa/os-tutorial/) one, made by [cfenollosa](https://github.com/cfenollosa). It quite briefly explains what each commands are, in Assembly and how to use them; I also recommend learning the basics of Assembly.

β€Ždocs/ComingSoon.mdβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# What's Coming Soon?
2+
3+
Hopefully, if possible, with the help of other developers; we can successfully add a proper file system and an upgraded kernel where you can play audio and use the microphone (which might not happen on **all** boots because if you are trying to dual-boot into it, because some operating systems [mainly some Linux distros] have unfunctional audio input/output kernels which may enhance difficulty into doing so).
4+
5+
Once the file system has been added, maybe a XFCE desktop environment will be added onto `drippleMini Desktop`.

β€Ždocs/Features.mdβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# What are the current features?
2+
3+
A list of current/new features are...
4+
5+
- Kernel Memory Allocator
6+
- Kernel Printing
7+
- VGA i/o Ports Communication
8+
- Shell with input
9+
- CPU Timer
10+
- Interrupt [detector]

β€Žos/drippleos.binβ€Ž

8.88 KB
Binary file not shown.

0 commit comments

Comments
Β (0)