What example files / tutorial are you working from? Tepples perhaps?
Do you know how to set up a .cfg file for NROM size NES ROM, or how to include a header?
EDIT, also, ca65 doesn't (by itself) assemble to an executable. It assembles to an object file. And ld65 links the object file(s) to an executable (using a cfg file as a map). It is not the easiest for a newb, and please ask questions, you will have lots of them.
Code: Select all
.segment "CODE" lda #1 sta $1
type "ca65 filename.txt" (replace filename with actual filename, of course)
it should generate a .o file in the same directory. The file itself will look like gibberish, that's normal, this is just a simple test to confirm to you that it does work. If it generates a .o file, with no errors, this is a successful test.
If you get an error, print the entire error message here, so we know what you are talking about.