chore: misc files

This commit is contained in:
d0p1 🏳️‍⚧️ 2024-02-06 17:08:45 +01:00
parent 670a7f3bb4
commit d94d9fb5bb
5 changed files with 21 additions and 11 deletions

2
.gitignore vendored
View file

@ -24,3 +24,5 @@ a.out
/bx_enh_dbg.ini
bochsrc.bxrc
/tmp
*.tar.gz
*.sys

View file

@ -6,7 +6,7 @@ RM = echo
SUBDIRS := boot kernel lib bin
TARGET = stupid.tar.gz
TARGET = stupid.tar.gz floppy_boot.img
ifneq ($(OS),Windows_NT)
TARGET += stupid.iso
endif
@ -30,6 +30,10 @@ stupid.iso: $(SUBDIRS)
stupid.tar.gz: $(SUBDIRS)
tar -czvf $@ sysroot
.PHONY: floppy_boot.img
floppy_boot.img:
@ echo
.PHONY: clean
clean: $(SUBDIRS)
$(RM) $(TARGET) $(SYSROOTDIR)

View file

@ -3,18 +3,22 @@
# StupidOS
[Website](https://stupidos.d0p1.eu)
![GitHub](https://img.shields.io/github/license/d0p1s4m4/stupidos?logoColor=white&style=flat-square)
![GitHub issues](https://img.shields.io/github/issues/d0p1s4m4/stupidos?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)](https://github.com/d0p1s4m4/StupidOS/issues)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/d0p1s4m4?style=flat-square)](https://github.com/sponsors/d0p1s4m4)
</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
```
$ sudo apt install build-essential llvm lld nasm mtools
$ sudo apt install build-essential fasm mtools
$ git clone git@github.com:d0p1s4m4/StupidOS.git
$ cd StupidOS
$ make
@ -24,7 +28,7 @@ Pretty easy, isn't it?
## 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.

View file

@ -5,7 +5,7 @@
nop
; Boot Record
OEM_identifier db 'STUPID '
OEM_identifier db 'STUPID '
bytes_per_sector dw 512
sectors_per_cluster db 1
reserved_sectors dw 1
@ -20,11 +20,11 @@ hidden_sectors dd 0
large_sector_count dd 0
; Extended Boot Record
drive_number db 0
reserved db 0x90
drive_number db 0x0
reserved db 0x0
signature db 0x29 ; 0x28 or 0x29
volume_id dd 0xB00B135 ; hope mine will grow :'(
volume_label db 'StupidOS '
volume_label db 'Stupid Boot'
system_id db 'FAT12 '