NintendoAge http://nintendoage.com/forum/ -Sqooner Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-26T05:12:57 -05.00 hudini16 16 Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-26T01:53:43 -05.00 hudini16 16
NESHLA sounds like a good idea, but there are really no docs on how to use it and nobody available to help. I was never able to get anything that actually worked out of it. Best options for absolute beginners are still nesasm and asm6 because they need no initial configuration. Once you learn the basics then you can check out other assemblers like ca65, p65, or wla-dx. ]]>
Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-26T00:57:35 -05.00 hudini16 16 I guess you can only have the one nameless label like that defined between main labels, whereas the other assemblers will allow multiple, but that's still a tidy way to do those small loops ]]> Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-26T00:10:13 -05.00 hudini16 16 Originally posted by: Zzap

I'm with Sivak, nesasm is quite useful, and not as bad as people make out.

I've recently discovered that nesasm will let you use local labels, which can be handy to have more generic, shorter labels between main labels. Any label that begins with a full stop (.) is a local label thats context is only between the labels that don't have full stops. For example, the below code reuses the label .Loop, but the assembler understands which one you're talking about.

MainGame:
Do Stuff
.Loop:
Do more stuff
JMP .Loop
JMP MainGame

NMI:
Stuff
.Loop:

JMP Loop


Nesasm will also allow the use of macros which could be quite powerful if I could work out the best way to use them

Wow. I just changed my vblank wait routine to having


.:
  BIT $2002
  BPL .
I think game #3 will be even easier now! Nameless labels exist! ]]>
Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-25T22:19:48 -05.00 hudini16 16
I've recently discovered that nesasm will let you use local labels, which can be handy to have more generic, shorter labels between main labels. Any label that begins with a full stop (.) is a local label thats context is only between the labels that don't have full stops. For example, the below code reuses the label .Loop, but the assembler understands which one you're talking about.

MainGame:
Do Stuff
.Loop:
Do more stuff
JMP .Loop
JMP MainGame

NMI:
Stuff
.Loop:

JMP Loop


Nesasm will also allow the use of macros which could be quite powerful if I could work out the best way to use them ]]>
Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-25T21:41:03 -05.00 hudini16 16 One of the big things involves the use of labels. Some assemblers let you have nameless labels and that's one feature I'd love. You'll have tons of need for labels in your program and having to assign unique names to ALL of them can get tedious. Though I've developed a system that works, it's still tedious. I may look into another assembler, though I haven't decided on that yet.

My first program was a simple palette tester. It drew a background and changed things on input. Nothing to it. My game Geminim was a tough program as I learned things as I went. Siamond, however, was very, very easy to do. Just do things and see what you can do. ]]>
Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-25T18:22:45 -05.00 hudini16 16 Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-25T17:44:23 -05.00 hudini16 16 Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-25T15:28:37 -05.00 hudini16 16 ]]> Tools and Resources http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=6875 2008-03-25T13:42:59 -05.00 hudini16 16 The only reason I suggest nesasm is because of the nerdy nights tutorials on here by bunnyboy.
CA65 is also a popular choice but is intimidating to get setup.
Al ]]>