Skip to content
/ radius Public

6502 / 65816 Merlin-style assembly code indenter tool.

License

Notifications You must be signed in to change notification settings

digarok/radius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

RADIUS

Really, Another Developer Indentation Utility Software?

Basic useful feature list:

  • Indents Assembly source files
  • Supports the idea of set columns that get pushed or bumped to the right
  • Balances consistency with sanity for spacing rule

This is a really quickly thrown together indenter for Merlin32 assembly files (but really all Merlin files and many other formats of 6502 code). I currently use CADIUS, a really much more impressive tool that supports indentation as one feature, but it doesn't let me set my own column widths so I've decided to make my own software to address this.

Currently, the options allow you to set a column 0, 1 and 2. Those represent the Opcode, Operand and Comment columns respectively.

Usage

radius.rb [-h] [-c0 nn] [-c1 nn] [-c2 nn] filename.

  -h  : help
  -c0 : column 0 indent (start of opcode column)
  -c1 : column 1 indent (start of operand column)
  -c2 : column 2 indent (start of comment column)
  -s  : redirect to standard out only (default overwrites source file)

About

6502 / 65816 Merlin-style assembly code indenter tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages