From d94d9fb5bbd70e63792f6e231e4239d615a498fd Mon Sep 17 00:00:00 2001 From: d0p1 Date: Tue, 6 Feb 2024 17:08:45 +0100 Subject: [PATCH] chore: misc files --- .gitignore | 2 ++ Makefile | 6 +++++- README.md | 14 +++++++++----- boot/boot.asm | 8 ++++---- docs/intro.txt | 2 +- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index f96e679..c497785 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ a.out /bx_enh_dbg.ini bochsrc.bxrc /tmp +*.tar.gz +*.sys \ No newline at end of file diff --git a/Makefile b/Makefile index 54f0e14..edc49bf 100644 --- a/Makefile +++ b/Makefile @@ -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) \ No newline at end of file diff --git a/README.md b/README.md index 4205278..849bf87 100644 --- a/README.md +++ b/README.md @@ -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) -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 -OSI Approved License +OSI Approved License StupidOS is licensed under the 3-Clause BSD License. diff --git a/boot/boot.asm b/boot/boot.asm index 668bb76..c5a4e86 100644 --- a/boot/boot.asm +++ b/boot/boot.asm @@ -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 ' diff --git a/docs/intro.txt b/docs/intro.txt index fe96824..9d3fcea 100644 --- a/docs/intro.txt +++ b/docs/intro.txt @@ -2,7 +2,7 @@ File: Introduction About: StupidOS -(see logo.png) +(see logo.png) Donate: