Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Add community health files #7

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Global attributes for forcing line endings normalization of specific files

* text=auto

# Sources
*.asm text eol=lf encoding=utf-8
*.asc text eol=lf encoding=utf-8
*.inc text eol=lf encoding=utf-8

# Scripts
*.lua text eol=crlf encoding=utf-8
*.py text eol=crlf encoding=utf-8

# Configs
*.cfg text eol=crlf encoding=utf-8
*.ini text eol=crlf encoding=utf-8

# Assets
*.cur binary
*.fnt binary
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Proposed changes:

<!--
Please insert below the list of changes in this pull request. For example:

- Added some functionality
- Deleted old things
- Fixed bug_name bug
-->

-

Associated issue:

<!--
If this pull request is associated to any issue, then put its number here please. For example:

- #8
-->
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Global ignoring of different binaries and another temporary files

*.mnt*
*.raw
*.iso
Expand All @@ -16,3 +18,7 @@ lang.inc
*.efi
*.krn
*.f32
*.img
__pycache__
*.log

4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"MD013": false,
"MD041": false
}
8 changes: 8 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Default assignment
* @turbocat2001 @rgimad
Cleverking2003 marked this conversation as resolved.
Show resolved Hide resolved

# Kernel testing framework - @mkostoevr
/kernel/test @mkostoevr
/kernel/runtests.py @mkostoevr
/kernel/asmxygen.py @mkostoevr
/kernel/docs/doxygen @mkostoevr
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Kolibri OS

__Kolibri__ is a very tiny and incredibly fast operating system

## Overview

The speed and compactness is achieved due to the fact that the kernel and most programs are written in the __FASM__ assembler, thereby optimized for __x86__ processors as much as possible. Only 8 megabytes of RAM is enough to run

__Kolibri__ separated from __MenuetOS__ in 2004, and since then has been developed by an international community of programmers. Work is underway to make life easier for developers and users

## License

Contents of this repository licensed under terms of the __GNU GPL 2 license__ unless otherwise specified. See [this](./LICENSE) file for details
20 changes: 10 additions & 10 deletions kernel/Tupfile.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
if tup.getconfig("NO_FASM") ~= "" then return end
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("git rev-parse HEAD > %o", {"rev.inc"})
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o ", "bootbios.bin")
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dextended_primary_loader=1", "bootbios.bin.ext_loader")
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dpretest_build=1", "bootbios.bin.pretest")
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o " .. tup.getconfig("KERPACK_CMD"), "kernel.mnt")
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.ext_loader", "lang.inc", "rev.inc"}}, "fasm -m 131072 %f %o -s %o.fas -dextended_primary_loader=1" .. tup.getconfig("KERPACK_CMD"), {"kernel.mnt.ext_loader", extra_outputs = {"kernel.mnt.ext_loader.fas"}})
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.pretest", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dpretest_build=1 -ddebug_com_base=0xe9", "kernel.mnt.pretest")
tup.rule({"kernel.asm", extra_inputs = {"lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dUEFI=1 -dextended_primary_loader=1", "kolibri.krn")
if tup.getconfig("NO_FASM") ~= "" then return end
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("git rev-parse HEAD > %o", {"rev.inc"})
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o ", "bootbios.bin")
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dextended_primary_loader=1", "bootbios.bin.ext_loader")
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dpretest_build=1", "bootbios.bin.pretest")
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o " .. tup.getconfig("KERPACK_CMD"), "kernel.mnt")
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.ext_loader", "lang.inc", "rev.inc"}}, "fasm -m 131072 %f %o -s %o.fas -dextended_primary_loader=1" .. tup.getconfig("KERPACK_CMD"), {"kernel.mnt.ext_loader", extra_outputs = {"kernel.mnt.ext_loader.fas"}})
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.pretest", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dpretest_build=1 -ddebug_com_base=0xe9", "kernel.mnt.pretest")
tup.rule({"kernel.asm", extra_inputs = {"lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dUEFI=1 -dextended_primary_loader=1", "kolibri.krn")
Loading