Giter Site home page Giter Site logo

theperkinrex / percosv2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 13.22 MB

Fork from https://github.com/ashleygwilliams/x86-kernel, v1 @ https://github.com/ThePerkinrex/PercOS

License: MIT License

Makefile 1.17% Shell 0.04% Assembly 3.41% Rust 5.67% C 19.92% C++ 0.70% HTML 69.08%
os rust assembly percos percosv2

percosv2's Introduction

PercOS v2

PercOS v2 is the successor to PercOS, a python3 virtual machine that just simulated a UNIX-like OS.

PercOS v2 is barebones x86-64 bit kernel written in rust.

For now it has a module to write to the VGA buffer implementing the print! and println! macros as well as a macro for panicking. It implements simple paging & very rough shell.


To set up the environment, you'll need vagrant, lldb (The rust-lldb version), make, rust & a lot of things.

To set up vagrant follow the instructions on the vagrant docs

To setup the lldb debugger, run the script setup.sh, you may need to run chmod +x setup.sh to be able to run the script.

If you're not on osx, you may need to install qemu & edit th makefile to make the qemu variable point to your installation As well you can use gdb on linux, but follow this instructions to use it: https://os.phil-opp.com/set-up-gdb/


To use the environment, everything goes through the makefile.

To start, start the vagrant vm with make up
To stop the vm: make halt
To build everything: make iso
To run it with qemu: make run To start lldb & qemu: make lldb To start lldb & qemu connecting to qemu from the start: make lldb-d To start qemu and make it wait for a debugger to connect use: make debug

percosv2's People

Contributors

theperkinrex avatar ashleygwilliams avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.