User talk:Zzo38/Hardware NSF: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
Rainwarrior (talk | contribs) No edit summary |
Rainwarrior (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
:I agree with you, however, that doesn't count because of: The value of $8000 storing the current song number is only when the main routine ROM is turned on. When the main routine ROM is disabled, it becomes other ROM (if FDS is not used) or RAM (if FDS is used). --[[User:Zzo38|Zzo38]] 00:20, 25 August 2012 (MDT) | :I agree with you, however, that doesn't count because of: The value of $8000 storing the current song number is only when the main routine ROM is turned on. When the main routine ROM is disabled, it becomes other ROM (if FDS is not used) or RAM (if FDS is used). --[[User:Zzo38|Zzo38]] 00:20, 25 August 2012 (MDT) | ||
::I still don't see any reason it should be at $8000. If you put it elsewhere (e.g. on the stack, or some other internal register mapped to $4xxx somewhere) you don't have to build a complicated switching device for this single address. Are you actually planning to build this in hardware? - [[User:Rainwarrior|Rainwarrior]] 09:20, 25 August 2012 (MDT) | ::I still don't see any reason it should be at $8000. If you put it elsewhere (e.g. on the stack, or some other internal register mapped to $4xxx somewhere) you don't have to build a complicated switching device for this single address. What's the purpose of making this one particular address special, when everything else in $8000-FFFF otherwise acts in only one way? Are you actually planning to build this in hardware? - [[User:Rainwarrior|Rainwarrior]] 09:20, 25 August 2012 (MDT) |
Revision as of 15:29, 25 August 2012
You can push some space at the top of the stack on startup if you need to reserve some RAM for your own variables. $8000 is probably not a good location to override; lots of NSFs use it for code. - Rainwarrior 23:15, 24 August 2012 (MDT)
- I agree with you, however, that doesn't count because of: The value of $8000 storing the current song number is only when the main routine ROM is turned on. When the main routine ROM is disabled, it becomes other ROM (if FDS is not used) or RAM (if FDS is used). --Zzo38 00:20, 25 August 2012 (MDT)
- I still don't see any reason it should be at $8000. If you put it elsewhere (e.g. on the stack, or some other internal register mapped to $4xxx somewhere) you don't have to build a complicated switching device for this single address. What's the purpose of making this one particular address special, when everything else in $8000-FFFF otherwise acts in only one way? Are you actually planning to build this in hardware? - Rainwarrior 09:20, 25 August 2012 (MDT)