Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple 32 bit OS, written in NASM and C.
C Assembly Shell Python Matlab
branch: master
Failed to load latest commit information.
files New file representation, updated editor and interpreter. Started writ…
IDT.c Test for git add -u. Should include IDT.c
KFS_builder.py Fixed a longstanding bug with kernel size limits. Added back in old s…
KFS_template.asm including new files: the files folder and the new KFS creation tools
README.md Added a basic malloc, updated build script, various small improvements.
boot.sh Better memory allocation, new shell commands, and unlimited shell his…
bootloader_stage1.asm Shiny new 2-stage bootloader that boots the kernel. Next: add a Kerne…
bootloader_stage2.asm New file representation, updated editor and interpreter. Started writ…
buildData.c New file representation, updated editor and interpreter. Started writ…
compile.sh New file representation, updated editor and interpreter. Started writ…
driver.c New file representation, updated editor and interpreter. Started writ…
driver.h New file representation, updated editor and interpreter. Started writ…
editor.c New file representation, updated editor and interpreter. Started writ…
editor.h New file representation, updated editor and interpreter. Started writ…
int.asm first commit
kernel.c New file representation, updated editor and interpreter. Started writ…
kernel.h New file representation, updated editor and interpreter. Started writ…
kernel_entry.asm first commit
malloc.c New file representation, updated editor and interpreter. Started writ…
malloc.h New file representation, updated editor and interpreter. Started writ…
sh_exec.c New file representation, updated editor and interpreter. Started writ…
sh_lisp.c New file representation, updated editor and interpreter. Started writ…
shell_commands.c New file representation, updated editor and interpreter. Started writ…
shell_commands.h New file representation, updated editor and interpreter. Started writ…
util.c New file representation, updated editor and interpreter. Started writ…
util.h New file representation, updated editor and interpreter. Started writ…

README.md

KevinOS Notes:

Compilation:

  • $ ./compile.sh write overwrites the filesystem of /dev/sdb -- be careful!

  • $ qemu-system-i386 os-image can be used for quicker testing, if recompilation is not necessary.

  • Testing is done with QEMU on a Lenovo T430. Development done on 64-bit Linux Mint Debian Edition with the standard GNU toolchain (GCC, LD, etc).

Features:

KevinOS currently loads a 32-bit C kernel in Protected Mode. It detects all interrupt calls and has basic PIT-handling code. Keypress detection for a standard laptop keyboard is more or less complete and the OS boots to a very basic shell. A basic text-buffer editor is available with edit, and code in a pseudo-assembly language can be run with exec. A very naive malloc is in place, perhaps someday it'll be more than the bare minimum. The shell has a few odds and ends (beeps, PRNG, etc). A custom file system (KFS) is used, just for kicks.

Unlicense:

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to http://unlicense.org/

Something went wrong with that request. Please try again.