stenlik wrote:
I am using the
VASM assembler with the VICE emulator. I have tried to find the answer to my problem on other forums (
https://www.lemon64.com/forum/viewtopic ... 70&start=0) and to figure out that on my own without any succes so far...
I have found that other assemblers, e.g.
64tass has a nice feature when executed with switch
--vice-labels. It generates file with labels and breakpoints that could be loaded by VICE and used in the monitor when started with the
-moncommands switch.
KickAssembler has a similar function (I have never tried it, but it is described in the manual).
Does anyone know if
VASM can do it also? The only thing I found is the
-L <listfile> switch, which generates a file with many parameters, which could theoretically be post-processed into a format that VICE would understand. There is no other option? Anyone using
VASM?
To be more flexible, we implemented this feature in our linker vlink rather than the assembler. If you are already using vlink, you can simply add the option:
-vicelabels <filename>If you are creating the binary directly with vasm, you can do an additional pass, e.g.:
Code:
vasm -Fvobj file.s -o file.o
vlink -b cbmprg file.o -o file.prg -viceleabels file.lab