Quietust wrote: ↑Wed Mar 10, 2021 10:14 am
turboxray wrote: ↑Wed Mar 10, 2021 10:01 am
Quietust wrote: ↑Wed Mar 10, 2021 9:52 am
To be clear, there
are scenarios in which you would want to use TXS like that, but those scenarios are
extremely specific and so rare as to be effectively non-applicable to NES development.
I thought that was kinda evident though. But practically non-applicable and never applicable are not the same thing. It's also a good mental exercise to think of solutions outside the box, if you care about performance or pushing the system. But calling it insane is just ignorant.
Keep in mind that this is the "
Newbie Help Center" forum, and any advanced coding techniques that involve the usage of the stack pointer as a general-purpose register are all but guaranteed to be wholly inappropriate for newbies, so there's little point in discussing them here, much less actively
recommending their use.
Hmmm... Quietust, I purposely refrained from
recommending use of txs. However, my post was a shedding of light into DRW’s claim that there are only 3 registers and pha and pla.
DRW wrote: ↑Mon Mar 08, 2021 6:22 pm
Sure, it's a bit less efficient, but what do you want to do if you have only two registers, but three or more loop dimensions?
(^That quote is not currently being responded to.)
I did say, “feel free to use” txs, but, in my opinion at least, that is completely shy of a recommendation.
A lot Some of this community seems to forcefully dump newbies in a dumb box, chain that box, feed them untruthful info, and only allow that restrictive box to be opened after the “newbie” has wholeheartedly proven themselves.
Sorry, for this late response. Was away from nesdev forum for a few days.