This command is meant for gathering stats across many script files.
Currently breaks due to an oversight in script parsing (if an inline
argument list goes past EOF, everything breaks).
Labels are now their own object instead of just a string. This allows
for a bit more control with them. Labels can also now have comments.
Additionally, add the ability to load user-defined labels from a file.
The format of this file is subject to change, but for now it is just a
simple text file. Each line of the file is a label definition. Each
line has three fields, separated by spaces. The first field is the
address, second is the label name, and the rest of the line is a
comment. If a label name is just a dollar sign ($) it will not have a
name. This is used when adding comments without a bespoke label.
- Fixed instructions that have -3 as the OpCount (count then count
words). There is not an extra word that acts as the default
selection. These instructions do nothing if the argument is out of
range.
- Fixed off-by-one eating the byte following the -3 OpCount
instructions.
- Fixed panic when a -2 op code goes beyond the end of the script.
I need a bunch of tools for studybox related stuff. It makes more sense
to have a separate project for them instead of trying to shove all the
functionality I want into a single command in the go-nes project.
Starting with some script parsing. This script is the Domain Specific
Language that is on the tapes of the studybox. Not every opcode is
fully decoded/named yet.