A work-in-progress hobby OS for the PC.
Start off by getting some necessary components, which will download larger portions of third-party code as well as automatically build a recent version of QEMU:
Next, make sure docker is installed on your system and run:
docker pull no92/vineyard:test
This will download a larger image (about 2 GiB at the time of writing). Actually building the kernel is done by running:
docker run -v `pwd`:/code -it no92/vineyard:test -c 'make'
If you want to clean the tree from object files and binaries, run
The build process generates a CD image, which is used by QEMU to boot the kernel. Running the emulator is as easy as running
Alternatively, you can run
make test-virtualbox in order to run it on VirtualBox.
vineyard is licensed under the terms of the MIT (Expat) License. For details, see
uni-vga is a UTF-8 VGA font in the Adobe BDF format. It has been converted into the C file at
Copyright © 2001 by Dmitry Yu. Bolkhovityanov
The UNI-VGA font can be distributed and modified freely, according to the X license.
The Basic Latin block was taken almost unchanged from DosEmu's vga.bdf. All the other blocks (except noted) were created mainly from scratch by me, Dmitry Bolkhovityanov.
Letters in the Hebrew block were taken unchanged from a public domain hebrew console font.
Glyphs in Arabic, Arabic Presentation Forms-A, Arabic Presentation Forms-B and U+262B Farsi symbol were kindly donated by Behdad Esfahbod.
Thanks to Birger Langkjer for idea, to Mark Leisher for his wonderful XmBDFEd, and to many others for their support.
dlmalloc is a widely-used memory allocator written by Doug Lea. It is located at
include/mm/dlmalloc.h. It is licensed under the Creative Commons CC0 1.0 Universal:
This is a version (aka dlmalloc) of malloc/free/realloc written by Doug Lea and released to the public domain, as explained at http://creativecommons.org/publicdomain/zero/1.0/ Send questions, comments, complaints, performance data, etc to firstname.lastname@example.org
- Version 2.8.6 Wed Aug 29 06:57:58 2012 Doug Lea Note: There may be an updated version of this malloc obtainable at
Check before installing!
sortix is another hobby OS by a very talented developer. Some code from sortix is used in
kernel/int/isr.s in modified from, specifically the
handler_stack_restore routines. These portions of code, as most of sortix, are licensed under the ISC licence:
Copyright 2011-2016 Jonas 'Sortie' Termansen and contributors.
Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ACPICA is a complete ACPI implementation that is used by Linux and various BSDs. It offers various licenses, but we chose to use it under the 3-clause BSD license:
Some or all of this work - Copyright (c) 1999 - 2017, Intel Corp. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer, without modification.
- Redistributions in binary form must reproduce at minimum a disclaimer substantially similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any redistribution must be conditioned upon including a substantially similar Disclaimer requirement for further binary redistribution.
- Neither the names of the above-listed copyright holders nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.