Re: Proper way of waiting for vblank without NMI
Posted: Thu Feb 07, 2019 12:42 am
Amending koitsu's last reply:
cc65 is the C compiler (C to assembly, or C to object)
ca65 is the assembler (assembly to object)
ld65 is the linker (objects to output)
cl65 is the combo "compile and link" (or assemble and link, in this case)
Also, the current documentation is here: https://cc65.github.io/doc/
(The old documents from several years ago that were left up for archival purposes are still unfortunately higher in google results. You should use the new ones.)
Though to be honest I avoid using cl65 in general and prefer to do separate steps for assemble and link. It may seem like an unnecessary step for a single file, but you can get better feedback about what's going on this way.
cc65 is the C compiler (C to assembly, or C to object)
ca65 is the assembler (assembly to object)
ld65 is the linker (objects to output)
cl65 is the combo "compile and link" (or assemble and link, in this case)
Also, the current documentation is here: https://cc65.github.io/doc/
(The old documents from several years ago that were left up for archival purposes are still unfortunately higher in google results. You should use the new ones.)
Though to be honest I avoid using cl65 in general and prefer to do separate steps for assemble and link. It may seem like an unnecessary step for a single file, but you can get better feedback about what's going on this way.