Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
/ flowchart.gb Public archive

Interactive disassembler for GameBoy ROM.

License

Notifications You must be signed in to change notification settings

akatsuki105/flowchart.gb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

# for gb file
cargo run

# for asm file
cargo run INIT_LABEL

usage for examples

examples/hello

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

cargo run start # start: is ok.

examples/picture

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

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!