GithubHelp home page GithubHelp logo

cs161 / pugos Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 2.0 6.87 MB

cs161-s18-psets-lcassels created by GitHub Classroom

Makefile 3.32% C++ 87.97% Assembly 3.42% GDB 0.05% Shell 0.08% C 4.98% Awk 0.18%

pugos's Introduction

PugOS for DOOM

This is a modified version of Harvard's Operating Systems class teaching OS done by Lucas Cassels and Max Levenson as our final project for the course. See our DOOM repo for the DOOM port that runs on this OS!

Major OS additions:

  • Implemented numerous Linux syscalls needed by DOOM, such as alloca, various string manipulation functions, free, lseek, etc.
  • Added a compile-time switch (-GFX) for MMIO graphics interfacing via VGA mode 13h for a 320x200x8 screen
  • Added support for programming the graphics card's color palette via the I/O port
  • Created a system for de-activating debug messages by file and function (de-activated debug messages are compiled out of the executable) using macros and const functions
  • The stack will automatically grow when/if it runs out of allocated memory
  • Implemented real-time keyboard input for DOOM controls

Dependencies

  • QEMU
  • GCC
  • Linux (tested on Ubuntu)

Running DOOM

Make sure you have fetched the DOOM submodule source, then run:

make GFX=1 run-doom

This should build both the kernel and DOOM, link them, and run the game!

pugos's People

Contributors

kohler avatar lcassels avatar

Watchers

James Cloos avatar Richard Cho avatar Max Levenson avatar James Mickens avatar Victor Domene 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.