It is currently Sun May 27, 2018 2:50 pm

All times are UTC - 7 hours



Search found 285 matches
Search these results:

Author Message

 Forum: Newbie Help Center   Topic: Odd / Even issue

 Post subject: Re: Odd / Even issue
Posted: Tue Feb 17, 2015 2:24 pm 

Replies: 3
Views: 967


Thanks - yeah...as soon as I looked at it posted I chuckled. Wow. I've been looking at code too long today, that's the ultimate sign. haha.

Thanks for the input, though! :-) Glad to know my method isn't completely crazy. haha

3. And yeah, the actual code has an RTS there. Thanks!

 Forum: Newbie Help Center   Topic: Odd / Even issue

 Post subject: Odd / Even issue
Posted: Tue Feb 17, 2015 2:15 pm 

Replies: 3
Views: 967


So for this one part of my collision detection routine, I am essentially trying to find out where the point of contact will be on the 8x8 px grid, and then compare it to bits 7-4 of the tile byte, which represents a 16x16px area (each bit corresponding to a 'quadrant'). Seems pretty logical. The met...

 Forum: Homebrew Projects   Topic: Where are all you homebrewers from?

Posted: Thu Jan 29, 2015 1:24 pm 

Replies: 19
Views: 3962


Hey everyone - just curious as to what major cities those of you currently working on homebrew projects are closest to. We'd love to gather some footage as we travel around of some in development NES homebrew projects as we're on the road for the documentary.

Thanks!

 Forum: Newbie Help Center   Topic: Good fade routine?

 Post subject: Re: Good fade routine?
Posted: Sat Jan 17, 2015 6:58 am 

Replies: 11
Views: 2738


Yeah, all this made sense to me. I like the table idea for finer control purposes, and I should have the ROM space for the tables. Right now, I *am* hijacking the resources to run the fade. I already have conceptualized how to change it with just a few tweaks...but right now I'm going to put that on...

 Forum: Newbie Help Center   Topic: Good fade routine?

 Post subject: Re: Good fade routine?
Posted: Fri Jan 16, 2015 12:03 pm 

Replies: 11
Views: 2738


Rainwarrior - thanks for the input. Definitely don't even have to think it out all that much though...I just needed to figure out how to count frames...which I already am doing. As soon as I wrote it out as part of this post, I had a forehead-smacking moment. The fact I am having those tells me I'm ...

 Forum: Newbie Help Center   Topic: Good fade routine?

 Post subject: Re: Good fade routine?
Posted: Fri Jan 16, 2015 9:03 am 

Replies: 11
Views: 2738


I'm perfectly ok with a stepwise fade...I feel it looks very "NES". That's the effect I was going for anyway. How are you counting the frames? That's where my issue is, I think. I was using that method to make X into a timer, but that is not counting frames...it's just decreasing many time...

 Forum: Newbie Help Center   Topic: Good fade routine?

 Post subject: Good fade routine?
Posted: Fri Jan 16, 2015 8:41 am 

Replies: 11
Views: 2738


So just futzing around with a simple fade screen transition. I have the palette in RAM and have a routine that updates that ram. The palette is updated in the NMI. I have a routine (LoadPaletteRam) that I can call which changes a palette (uses variable backgroundPaletteOffset to pull values from the...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

Posted: Wed Jan 14, 2015 4:10 pm 

Replies: 28
Views: 4477


No I got it. Celius, I think he was just using that to abbreviate TAX -> PHA. I knew what he meant. Unless I'm mistaken. But Koitsu, yeah, I get it. I was misreading Rainwarriors meaning (specified in the edit). I get it. I had a moment of revelation when Nostromo posted that visual example. It was ...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

Posted: Wed Jan 14, 2015 1:32 pm 

Replies: 28
Views: 4477


Oooooh! I gotcha now. I think some synapse just fired. So I'd have to RTS back from the JSR, or otherwise get rid of the last value pushed to the stack, as it's hooked to the RTS. It's just still sitting on the stack lingering, and the next time something pulls from the stack, it's pulling that valu...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

Posted: Wed Jan 14, 2015 12:28 pm 

Replies: 28
Views: 4477


Just to be clear, you're not expecting registers to be preserved during JSR and restored at RTS, right? They're not? Hm...that is definitely news to me... So if I were to do something like this: LDX #$01 JSR whatever ....... whatever: TXA RTS ...could I not expect 1 to now be in the accumulator (no...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

Posted: Wed Jan 14, 2015 8:37 am 

Replies: 28
Views: 4477


Great advice. I followed it. I loaded $FF to A at the start of the routine so I could see if it was getting accessed, and then step through to see what the accumulator values were and to make sure things were going where expected. I was able to follow the code line by line, and everything is exactly...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

Posted: Wed Jan 14, 2015 7:07 am 

Replies: 28
Views: 4477


The bug is probably somewhere else, and even if you can get around it by not using JSR/RTS in this particular case, it will probably manifest itself some other way later in development, so you'd better find out what's wrong now. Yeah - that's my inclination too. I don't want to bury the gremlin and...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

Posted: Tue Jan 13, 2015 8:04 pm 

Replies: 28
Views: 4477


No problem - here is some code. Hopefully it's enough context? I have added a acceleration and deceleration method to my movement (works fine). Now I have to update my collision detection. This is where the problem is coming in. Here is the code that works in line. For example, this reads the point ...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

Posted: Tue Jan 13, 2015 6:37 pm 

Replies: 28
Views: 4477


Hey guys - thanks. I push all my stack values at the top of the NMI and pull them at the end. So that's not it... But more importantly, nothing is being pushed or pulled during this routine. I'm mostly perplexed that it works perfectly in line, but not as a routine. Thanks for the suggestions though...

 Forum: Newbie Help Center   Topic: JMP, fine...JSR, nope...

 Post subject: JMP, fine...JSR, nope...
Posted: Tue Jan 13, 2015 5:27 pm 

Replies: 28
Views: 4477


So this is the first time I've experienced this. It's sorta wacky. I have a routine that I'd like to use in a few instances, so I set up a JSR->Routine->RTS scenario. It does not work. I mean, there are no errors returned, however its effect does not work... Now, if I take the meat of the routine (a...
Sort by:  
Page 15 of 19 [ Search found 285 matches ]


All times are UTC - 7 hours


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