GithubHelp home page GithubHelp logo

bugwhacker / mega-jvs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from winteriscomingpinball/mega-jvs

0.0 0.0 0.0 12 MB

Jamma Video Standard (JVS) IO board implemented using a MEGA 2560

C++ 39.11% Python 60.85% Batchfile 0.05%

mega-jvs's Introduction

MEGA-JVS

Jamma Video Standard (JVS) IO board implemented using a MEGA 2560

Based on TeensyJVS by charcole: https://github.com/charcole/TeensyJVS

The included Arduino code is intended to be used with a MEGA 2560 and a MEGA JVS V2, V3, and V3.1 boards (created by winteriscoming), and the MultiJVS board by Darksoft which contains all components in a single board (i.e. this version has all Arduino components built in, so no extra components are needed): https://www.arcade-projects.com/forums/index.php?thread/13532-multi-jvs-v1-0/

The MEGA JVS V2, V3, and V3.1, and MultiJVS boards have a micro SD slot. Profiles are stored on the card. The directory called SD Card Contents needs to go in the root of the Micro SD card. This includes PROFILES.HEX, LASTPROF.HEX, ID.HEX and DISPLAY.HEX. If DISPLAY.HEX is present and contains a value of 0x01, then screen will be rotated 180 degrees.

In order to create more mapping profiles and edit existing ones, use profiles.py and open PROFILES.HEX (and optionally IDS.HEX) from the micro SD card.

The use of profiles.py is not well documented yet. It requires python3 and pyserial.

You can install pyserial after installing python3 by using this command: python -m pip install pyserial

The board uses a profile button to switch profiles on-the-fly. It also uses a small OLED display like the one found here.

The creation of the MEGA JVS board is documented here: Custom JVS I/O - MEGA JVS

There is a compiled binary included in this repository. This is the firmware that can be uploaded to the board. You can use a standalone program such as Xloader, which has a GUI, but may not work on newer Windows versions, or the command line tool Arduino Sketch Uploader: https://github.com/twinearthsoftware/ArduinoSketchUploader Otherwise, the source code can be compiled and uploaded directly within the Arduino IDE.

As of code version 1.2.1, the profiles data structure has been updated and is no longer backwards compatible with profiles created previously. A separate converter has been created to update an older PROFILES.HEX to be compatible. A batch file is included that runs the converter against PROFILES.HEX. Place PROFILES.HEX in the same directory as the converter and run the .bat file one time. It will overwrite the file. Do not run it multiple times against the same file or the file will be corrupted.

mega-jvs's People

Contributors

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