This program take binary GWBASIC programs and dumps them in a text format. Most of the information was taken from this reference: http://www.chebucto.ns.ca/~af380/GW-BASIC-tokens.html A copy of the reference has been put in markdown format in FORMAT.md
The program has been tested with real GWBASIC programs dumped from a DosBox, on the author tests, it provides a 100% match for the text. However it may be very well that some cases are not handled correctly. Please contact me with example of programs that produce invalid results.
Just copy gwbasic_dump.py and docopt.py and execute it.
Usage: gwbasic_dump [options] <filename> gwbasic_dump -h | --help gwbasic_dump --version Options: -h --help Show this screen. --version Show version. --verbose Be more verbose.
Windows, Linux, Python compatible