I wrote this a while ago. It takes code that has had all formatting removed and turns it into nicely tabulated code. For it to decide what are valid opcodes it uses a file called Codes.csv but this can be overridden by a command line switch. Operation is pretty obvious except for the Auto button. Auto copies code from the clipboard, tidies it up and places it back on the clipboard.
The command line switches are,
/f"Filename.csv" = new opcode file
/t = use tabs
/s = use spaces
/a = auto
To use the switches, make a shortcut to the executable and add the switches to it. (ex "C:\Projects\CodeTidy.exe" /f"Z80.csv" /t)
The opcode override is so you can have a version for other processors.
If the /a command line switch is used then you won't see anything. It will run, do it's job and exit.
The zip file contains a setup program. If anyone just wants the exe then just ask.
Have fun.
Mike.
It won't let me post an attachment at the moment so I'll try again later.
The command line switches are,
/f"Filename.csv" = new opcode file
/t = use tabs
/s = use spaces
/a = auto
To use the switches, make a shortcut to the executable and add the switches to it. (ex "C:\Projects\CodeTidy.exe" /f"Z80.csv" /t)
The opcode override is so you can have a version for other processors.
If the /a command line switch is used then you won't see anything. It will run, do it's job and exit.
The zip file contains a setup program. If anyone just wants the exe then just ask.
Have fun.
Mike.
It won't let me post an attachment at the moment so I'll try again later.