dear nesdev folks,
i started learning asm code just a few weeks ago, as a first language.
i've been wading through the nerdy nights tutorials, but doing it the ca65 way, thanks to the "The Nerdy Nights ca65 Remix" made for mac users.
thing is im trying to do it on ubuntu.
anyway it all went pretty well, i completed most of the first part about graphics, making my .nes file with this command : cl65 -t nes -o myfile.nes myfile.asm
so now im learning the part about sound,
and im stuck at the point where i have several files to bind :
periods.asm ; the main code file
notetable.h
notetable.asm
periods.ch
when i try this command "cl65 -t nes -o periods.nes periods.asm" i get the following error :
note_table.h(1)
ld65: Error: 1 unresolved external(s) found - cannot create output file
i have also tried using the makefile provided with the tutorial, it doesn't work (or i dont know how it works) i suspect it works only for mac ?
can someone tell me how to assemble this to a .nes file ? i've been blocking on this for a week :/
do i have to write a "makefile" specific to linux ? if so how ?
the tutorial page and files im following are here
https://bitbucket.org/ddribin/nerdy-nig ... 3-periods/
thanks for your time
J.
i started learning asm code just a few weeks ago, as a first language.
i've been wading through the nerdy nights tutorials, but doing it the ca65 way, thanks to the "The Nerdy Nights ca65 Remix" made for mac users.
thing is im trying to do it on ubuntu.
anyway it all went pretty well, i completed most of the first part about graphics, making my .nes file with this command : cl65 -t nes -o myfile.nes myfile.asm
so now im learning the part about sound,
and im stuck at the point where i have several files to bind :
periods.asm ; the main code file
notetable.h
notetable.asm
periods.ch
when i try this command "cl65 -t nes -o periods.nes periods.asm" i get the following error :
note_table.h(1)
ld65: Error: 1 unresolved external(s) found - cannot create output file
i have also tried using the makefile provided with the tutorial, it doesn't work (or i dont know how it works) i suspect it works only for mac ?
can someone tell me how to assemble this to a .nes file ? i've been blocking on this for a week :/
do i have to write a "makefile" specific to linux ? if so how ?
the tutorial page and files im following are here
https://bitbucket.org/ddribin/nerdy-nig ... 3-periods/
thanks for your time
J.