Git Product home page Git Product logo

pifox's Introduction

PiFox

Video of the game in action: https://www.youtube.com/watch?v=-5n9IxSQH1M

Developed as an extension to a first year group project at Imperial College London.

Bare Metal 3D rail shooter game

Dependencies

Using your favourite Linux package manager, install:

  • arm-none-eabi-binutils
  • cmake

Build

The project uses CMake and requires an ARM assembler supporting GNU as syntax.

mkdir build
cd build
cmake ..
make

Emulation

PiEmu (https://github.com/ICTeam28/PiEmu) can run the game without sound. Assuming PiFox and PiEmu have been cloned in the same directory and both are built, PiEmu must be invoked with the following command inside PiFox's build directory:

../../PiEmu/build/piemu --graphics --quiet --memory=256M --addr=65536 --nes kernel.img 

A qemu branch can be used to emulate the game at a higher framerate, but sound must be disabled. (https://github.com/Torlus/qemu/tree/rpi)

config.txt

In order to be compatible with qemu, the kernel must be loaded at address 0x10000.

disable_overscan=1
disable_pvt=1
force_turbo=1
gpu_mem_256=160
gpu_mem_512=316
cma_lwm=16
cma_hwm=32
kernel_address=65536

Wiring the controller

NES Raspberry Pi
GND Ground
VCC 3v3
CUP GPIO 10
OUT 0 GPIO 11
D1 GPIO 4

NES Pinout

Raspberry PI Pinout

Authors

Nandor Licker

  • Email: nandor.licker13[at]imperial.ac.uk
  • Github @nandor

Ilija Radosavovic

  • Email: ilija.radosavovic13[at]imperial.ac.uk
  • Github @ir413

David Avedissian

Nic Prettejohn

  • Email: nicolas.prettejohn13[at]imperial.ac.uk
  • Github @nkp
  • Twitter @thisisnkp

Special thanks

Special thanks to chpatrick (Patrick Chilton) for his advice.

pifox's People

Contributors

nkp avatar nandor avatar ir413 avatar aaron1011 avatar briansidebotham 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.