Convert 6502 Assembler 2500AD Cross Assembler, Commodore Macro Assembler, Programmers Development System (PDS) to ACME Cross Assembler
Convert 6502 Assembler source from
Visual Studio Code has an excellent extension for working with the ACME Cross assembler. ACME VS Code Extension
In addition, this template Ingo Hinterding Assemble 6502 in VS Code makes it easy.
The conversion does not support all features, just enough to get my source code translated. The most signification limitations are:
convertoacme.exe INPUT.ASM conversion.json > OUTPUT.ASM
Or using a simple batch:
for %%i in (*.ASM) do converttoacme.exe %%1 conversion.json > converted\%%1
See the samplesetting folder for some simple examples
{
"Format":"AD2500 | MADS | PDS",
"Modules":[
{
"File":"FILENAME.ASM",
"abr":"XX", // Prefix to uniquify a colliding symbol
"Renames": [
"SYMBOL_TO_UNIQUIFY", . . .
]
}, . . .
],
"Macros":["MacroName", . . . ],
"EmitOriginal":true // Emit a copy of modified lines as a comment
}
If you have a binary of your original program, comparing the original to ACME’s
build in a good hex diff tool can really help.