Git Product home page Git Product logo

nios_ii-vga-out's Introduction

Nios II VGA Out

Various VGA video output projects on the NIOS II processor, written in assembly.

The programs are designed to be compatible with Altera DE0, DE1-SoC, DE2 / DE2-115, and DE10-Lite FPGA boards.
So far, the code has been tested on the DE1-SoC and DE0-CV boards and is confirmed to be working.

In lower-left settings pane, disable: Device-specific warnings and Memory: Suspicious use of cache bypass

Projects so far:

  • Pong

    • Basic two player implementation
    • Switches 9/8 control left paddle and 1/0 control right paddle
    • Switch 3 is used to pause the game
    • Button 0 is used to restart the game
    • With SNES controller support, Up/Down control left paddle, X/B control right paddle, and Start / Select start, pause, and restart the game
    • With two SNES controllers, Up/Down on a controller controls that player's paddle, and both players must press Start / Select to start the game
    • First player to reach a score of 9 wins

    Pong
  • Game of Life

    • Minimal proof of concept implementation for now
    • Preset 2 glider pattern for testing
    • Button 0 is used to start the simulation

    GOL

TODO:

Pong

  1. Figure out double buffering (done on 2018-03-09)
  2. Implement some form of randomness (starting ball directions, etc...)
    • In progress (PRNG implemented but not yet used)
  3. Make the score numbers the same size on different display sizes
  4. Make the ball speed constant on all display sizes
    • In progress
  5. Interface with one SNES controller (done on 2018-03-11)
  6. Interface with two SNES controllers (done on 2018-03-19)
  7. Add Pong AI

GOL

  1. Optimize updates (tune memory access to increase speed)
    • In progress
  2. Add boundry checking and wrap-around mode
    • In progress
  3. Add random fill to init. playfield
  4. Add other rulesets (in a general way)
  5. Add colouring of cells

nios_ii-vga-out's People

Contributors

charasyn avatar vacer25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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