项目作者: pokemium

项目描述 :
Interactive disassembler for GameBoy ROM.
高级语言: Rust
项目地址: git://github.com/pokemium/flowchart.gb.git
创建时间: 2020-02-26T01:05:46Z
项目社区:https://github.com/pokemium/flowchart.gb

开源协议:MIT License

下载


flowchart.gb

flowchart.gb is a flowchart generator for GameBoy binary.

Given a GameBoy ROM file or RGBASM file, a DSL file for flowchart.js will be generated.

requirements

  • Rust
  • Python3 (To disassemble a .gb file)

usage

When you execute cargo run, a file dialog will appear, so select the target file there.
The output DSL file is for flowchart.js. Please see flowchart.js for details.

  1. # for gb file
  2. cargo run
  3. # for asm file
  4. cargo run INIT_LABEL

usage for examples

examples/hello

This is rgbasm source file, so you need to input init label “start”.

  1. cargo run start # start: is ok.

examples/picture

This is gameboy ROM file, so you don’t need to input init label.

  1. cargo run

Warning

  1. The flowchart may be interrupted due to bank switch. In that case, execute the command again with the label at the break point as the init label.
  2. mgbdis is used for disassemble of gb file. Thank you!