/supercon-2022-badge-vm

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

BVM

Hackaday Supercon 2022 Badge Virtual Machine

This project aims to provide a vm for the 2022 Hackaday Supercon Badge to aid in programming and debugging. It is not fully tested and is a work-in-progress.

Python 3.10 (or greater) is required.

Run the program with python bvm.py. The following options are available:

  • -t Terminal mode. Run without a GUI, and print the values of R0-R15 at each step.
  • -b Binary mode. Expect 1's and 0's in the input file instead of assembly
  • -i Input. The file to be opened.

Example: python bvm.py -i heart.bvm will launch the BVM with a GUI, reading a text file called heart.bvm which is written in assembly.