It is currently Thu Dec 14, 2017 8:25 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue Oct 31, 2017 12:19 am 
Online
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7314
Location: Chexbres, VD, Switzerland
Why do you insist using a shitty broken nesasm when you could use another tool instead ?


Top
 Profile  
 
PostPosted: Tue Oct 31, 2017 1:09 am 
Offline
User avatar

Joined: Thu Sep 15, 2016 6:29 am
Posts: 464
Location: Denmark (PAL)
Also, as a more basic solution - since "LDA $xxxx,Y" doesn't support ZP addressing mode either, why not just use a different area of RAM for this purpose? As far as I can tell, that would circumvent the supposed bug, and still work as intended with the same amount of CPU cycles?

I agree though - I don't see any reason to even use NESASM in the first place, but I have little experience with anything other than CA65 which I have come to become a great fan of, so maybe I'm missing out of NESASM features I don't even know anything about?


Top
 Profile  
 
PostPosted: Tue Oct 31, 2017 1:45 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5898
Location: Canada
The feature you're missing is that OP is learning by modifying an existing project that was already written in NESASM. :P


Top
 Profile  
 
PostPosted: Tue Oct 31, 2017 5:44 am 
Offline

Joined: Mon May 25, 2009 2:20 pm
Posts: 38
https://pastebin.com/nsp241uQ

This is one of puresabe's files from Rockman 4 Minus Inifnity that i use. (i dont know how any of this stuff would be translated to other assemblers, so i dont touch it, thats why i only use nesasm personally, to be honest)

I most frequently use all the branch-jump/jsr/rts ones, and i really love the "LONG_CALL" jsr, for example :)


Top
 Profile  
 
PostPosted: Tue Oct 31, 2017 7:31 am 
Offline
User avatar

Joined: Sat Jan 09, 2016 9:21 pm
Posts: 263
Location: Central Illinois, USA
Bregalad wrote:
Why do you insist using a shitty broken nesasm when you could use another tool instead ?


This kind of tone is what drives newcomers away from this site.

_________________
My games: http://www.bitethechili.com


Top
 Profile  
 
PostPosted: Tue Oct 31, 2017 11:03 am 
Offline
User avatar

Joined: Tue Apr 04, 2017 1:22 pm
Posts: 19
Location: Ohio, USA
kuja killer wrote:
i dont have a clue how they would be made to work with ASM6 or whatever.


Shiru's famitone2 library comes with a program to convert nesasm code to asm6 and ca65, it's called "nesasmc".
It's specifically designed to convert the famitone2 library itself, but you might be able to modify it to your own use-case (famitone2 includes the source for nesasmc).
https://shiru.untergrund.net/code.shtml

...Or you could try rolling your own code converter in something like Python.

_________________
http://zutanogames.com/ <-- my dev blog


Top
 Profile  
 
PostPosted: Tue Oct 31, 2017 3:01 pm 
Offline
User avatar

Joined: Thu Sep 15, 2016 6:29 am
Posts: 464
Location: Denmark (PAL)
I actually had to make a few changes to the CA65 version of famitone2 to make it work properly - mostly related to symbols that were defined inside code that was ignored as a result of other symbols. I figured something like this was the culprit. :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group