chore: misc files
This commit is contained in:
parent
670a7f3bb4
commit
d94d9fb5bb
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -24,3 +24,5 @@ a.out
|
||||||
/bx_enh_dbg.ini
|
/bx_enh_dbg.ini
|
||||||
bochsrc.bxrc
|
bochsrc.bxrc
|
||||||
/tmp
|
/tmp
|
||||||
|
*.tar.gz
|
||||||
|
*.sys
|
6
Makefile
6
Makefile
|
@ -6,7 +6,7 @@ RM = echo
|
||||||
|
|
||||||
SUBDIRS := boot kernel lib bin
|
SUBDIRS := boot kernel lib bin
|
||||||
|
|
||||||
TARGET = stupid.tar.gz
|
TARGET = stupid.tar.gz floppy_boot.img
|
||||||
ifneq ($(OS),Windows_NT)
|
ifneq ($(OS),Windows_NT)
|
||||||
TARGET += stupid.iso
|
TARGET += stupid.iso
|
||||||
endif
|
endif
|
||||||
|
@ -30,6 +30,10 @@ stupid.iso: $(SUBDIRS)
|
||||||
stupid.tar.gz: $(SUBDIRS)
|
stupid.tar.gz: $(SUBDIRS)
|
||||||
tar -czvf $@ sysroot
|
tar -czvf $@ sysroot
|
||||||
|
|
||||||
|
.PHONY: floppy_boot.img
|
||||||
|
floppy_boot.img:
|
||||||
|
@ echo
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean: $(SUBDIRS)
|
clean: $(SUBDIRS)
|
||||||
$(RM) $(TARGET) $(SYSROOTDIR)
|
$(RM) $(TARGET) $(SYSROOTDIR)
|
14
README.md
14
README.md
|
@ -3,18 +3,22 @@
|
||||||
# StupidOS
|
# StupidOS
|
||||||
|
|
||||||
[Website](https://stupidos.d0p1.eu)
|
[Website](https://stupidos.d0p1.eu)
|
||||||
![GitHub](https://img.shields.io/github/license/d0p1s4m4/stupidos?logoColor=white&style=flat-square)
|
[![GitHub](https://img.shields.io/github/license/d0p1s4m4/stupidos?logoColor=white&style=flat-square)](LICENSE)
|
||||||
![GitHub issues](https://img.shields.io/github/issues/d0p1s4m4/stupidos?style=flat-square)
|
[![GitHub issues](https://img.shields.io/github/issues/d0p1s4m4/stupidos?style=flat-square)](https://github.com/d0p1s4m4/StupidOS/issues)
|
||||||
[![GitHub Sponsors](https://img.shields.io/github/sponsors/d0p1s4m4?style=flat-square)](https://github.com/sponsors/d0p1s4m4)
|
[![GitHub Sponsors](https://img.shields.io/github/sponsors/d0p1s4m4?style=flat-square)](https://github.com/sponsors/d0p1s4m4)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
32-bit Operating System in assembly.
|
32-bit Operating System written in x86 assembly.
|
||||||
|
|
||||||
|
## Philosophy
|
||||||
|
|
||||||
|
Nowaday, all Software are overengineered bloatware. So let's try to keep things simple, stupid.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo apt install build-essential llvm lld nasm mtools
|
$ sudo apt install build-essential fasm mtools
|
||||||
$ git clone git@github.com:d0p1s4m4/StupidOS.git
|
$ git clone git@github.com:d0p1s4m4/StupidOS.git
|
||||||
$ cd StupidOS
|
$ cd StupidOS
|
||||||
$ make
|
$ make
|
||||||
|
@ -24,7 +28,7 @@ Pretty easy, isn't it?
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
<img src="https://opensource.org/files/OSI_Approved_License.png" align="right" height="128px" alt="OSI Approved License">
|
<img src="https://opensource.org/wp-content/themes/osi/assets/img/osi-badge-light.svg" align="right" height="128px" alt="OSI Approved License">
|
||||||
|
|
||||||
StupidOS is licensed under the 3-Clause BSD License.
|
StupidOS is licensed under the 3-Clause BSD License.
|
||||||
|
|
||||||
|
|
|
@ -20,11 +20,11 @@ hidden_sectors dd 0
|
||||||
large_sector_count dd 0
|
large_sector_count dd 0
|
||||||
|
|
||||||
; Extended Boot Record
|
; Extended Boot Record
|
||||||
drive_number db 0
|
drive_number db 0x0
|
||||||
reserved db 0x90
|
reserved db 0x0
|
||||||
signature db 0x29 ; 0x28 or 0x29
|
signature db 0x29 ; 0x28 or 0x29
|
||||||
volume_id dd 0xB00B135 ; hope mine will grow :'(
|
volume_id dd 0xB00B135 ; hope mine will grow :'(
|
||||||
volume_label db 'StupidOS '
|
volume_label db 'Stupid Boot'
|
||||||
system_id db 'FAT12 '
|
system_id db 'FAT12 '
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue