Giter VIP home page Giter VIP logo

turnstone's Introduction

TURNSTONE: The fUnny opeRatiNg SysTem Of uNivErse

This is a custom os project.

The roadmap is at @ref roadmap.

The architecture is at @ref architecture.

Building On OSX

You need packages with macports:

x86_64-elf-gcc x86_64-w64-mingw32-gcc
make clean gendirs qemu

Building On Linux

There is two options install gcc and gcc-mingw-w64 and:

make clean gendirs qemu

Or build with container. First build the turnstone-builder image:

podman build -t localhost/turnstone-builder:latest -f scripts/container-build/Containerfile .

Then build turnstone and generate 1GiB raw disk output/qem-hda, which will be used as disk of qemu.

podman run --rm -v ./:/osdev:Z localhost/turnstone-builder:latest

If you don't use selinux you can omit the Z parameter at volume mount.

Running

On both OSX and Linux you need qemu.

On Linux you need edk2-ovmf package for efi files for qemu. On OSX macports provides them with qemu.

For starting a networkless (may be with default network) qemu with OVMF EDK2 uefi bios:

scripts/osx-hacks/qemu-efi-hda.sh

The qemu terminal will be openned at console and video output will be at

tmp/qemu-video.log

Shell

After boot completes a ring-0 shell opens. If the press an enter you can see the prompt. You can write help for supported commands.

$ help
Commands:
	help		: prints this help
	clear		: clears the screen
	poweroff	: powers off the system alias shutdown
	reboot		: reboots the system
	color		: changes the color first argument foreground second is background in hex
	ps		    : prints the current processes
	date		: prints the current date with time alias time
	usbprobe	: probes the USB bus
	free		: prints the frame usage
	wm	     	: opens test window
	vm	    	: vm commands
	rdtsc		: read timestamp counter
	tosdb		: tosdb commands
	kill		: kills a process with pid
	module		: module(library) utils

For details please look the page @ref shell.

Docs

You can find docs at projects website

For discustions please visit discord channel.

turnstone's People

Contributors

kazimsarikaya avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nomadarchitect

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.