Code Monkey home page Code Monkey logo

mc1-doom's Introduction

MC1-DOOM Logo

MC1-DOOM

This is the classic game DOOM (by id Software) ported to the MRISC32-based computer MC1.

Origins & License

MC1-DOOM is based on the original linuxdoom v1.10 code base from 1997, with some bugfixes and alterations to make it work on MRISC32, and of course graphics and I/O routines for the MC1 computer.

Original README.TXT.

The source code is released under the GNU General Public License, as outlined in DOOMLIC.TXT.

Building for MC1

In order to build MC1-DOOM for an MC1 target, you need the MRISC32 GNU toolchain installed. You can find it here.

$ mkdir src/out
$ cd src/out
$ cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=../mc1-toolchain.cmake -DCMAKE_BUILD_TYPE=Release ..
$ ninja

The resulting binary is src/out/mc1doom.bin.

Building for other platforms

For testing purposes, you can also build MC1-DOOM for other platforms, such as Linux.

To install dependencies on Ubuntu:

$ sudo apt install libasound2-dev libsdl2-dev

To build:

$ mkdir src/out-host
$ cd src/out-host
$ cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug ..
$ ninja

Game data

To run Doom you need a game WAD file. For instance the shareware version of Doom 1.

mc1doom will search for a valid WAD file in the current working directory (i.e. the folder from which the program is started).

mc1-doom's People

Contributors

mbitsnbites 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.