It is currently Thu Jan 17, 2019 3:55 am

All times are UTC - 7 hours



Search found 327 matches
Search these results:

Author Message

 Forum: Newbie Help Center   Topic: Score, etc

 Post subject: Re: Score, etc
Posted: Wed Dec 09, 2015 5:57 pm 

Replies: 15
Views: 3060


Rain - that's pretty simple, but now if I had 50 possible 'increase amounts', this would require 50 mini routines, right? KillMonster0-KillMonster50. Again, that seems a little bloated...like the LUTs. Not that it's a huge issue, just wondering what method makes more sense.

 Forum: Newbie Help Center   Topic: Score, etc

 Post subject: Re: Score, etc
Posted: Wed Dec 09, 2015 2:26 pm 

Replies: 15
Views: 3060


Perfect - that makes it a lot easier to read. Thanks for the clarification...I'll try to implement this. It's simple enough to navigate and should work just fine for my purpose.

 Forum: Newbie Help Center   Topic: Score, etc

 Post subject: Re: Score, etc
Posted: Wed Dec 09, 2015 10:40 am 

Replies: 15
Views: 3060


Hackfresh - I'm guessing those JSRs are supposed to be to divide_8_bit, and there's not some other divide_8 routine being called, correct?

And I'm guessing $42-$45 are just your memory locations for the 'score' variable or whatever? I'm a bit confused by that part of it.

Thanks!

 Forum: Newbie Help Center   Topic: Score, etc

 Post subject: Score, etc
Posted: Wed Dec 09, 2015 8:39 am 

Replies: 15
Views: 3060


I've seen lots of posts on this. Trying to keep it very simple. Was wondering if anyone had any thoughts. Trying to essentially keep a score tallying (no problem with drawing or using a digit-based solution). I can make it work by seeding the additive...like, if I'm adding a three digit number to a ...

 Forum: Newbie Help Center   Topic: Famitone skips ahead

 Post subject: Re: Famitone woes?
Posted: Sat Nov 07, 2015 7:58 pm 

Replies: 15
Views: 3930


Ha! Now I'm glad I asked. Added a read of $2002 during the NMI and it seems to have fixed the problem completely!

That was easy. Good instinct! haha

 Forum: Newbie Help Center   Topic: Famitone skips ahead

 Post subject: Famitone skips ahead
Posted: Sat Nov 07, 2015 7:37 pm 

Replies: 15
Views: 3930


So, this is a subtle thing but it's driving me crazy. I know without much more, it'll likely be hard to answer, but curious if anyone has run into this before. I am using FamiTone, and have my FamiTone update at the end of the NMI. Ironically, on my screen transitions, it seems to 'skip forward' a b...

 Forum: Newbie Help Center   Topic: Simple edge-checking, best method?

Posted: Wed Nov 04, 2015 6:03 pm 

Replies: 15
Views: 3152


Good advice, guys - I've gone ahead and tried it with various sized objects with different widths, from 8 to 48 pixels wide, and can't recreate the original probal with it coded this way, so I'm going to do the foolish thing and pray that if and when it does manifest again, something will be more ov...

 Forum: Newbie Help Center   Topic: Simple edge-checking, best method?

Posted: Wed Nov 04, 2015 5:14 pm 

Replies: 15
Views: 3152


Dude. Kasumi. I have no idea what the general difference was between your code and mine other than just the names of some damned variables...I literally have gone over and over and over it trying to make sense of what was wrong with mine. I jumped passed mine and re-wrote it in terms of yours, it wo...

 Forum: Newbie Help Center   Topic: Simple edge-checking, best method?

Posted: Wed Nov 04, 2015 9:59 am 

Replies: 15
Views: 3152


Thanks for the clarification. There is still one anomalous thing. I have updated the code to this, using clearly identifiable labels from your explanation: LDA ObjectXhi CLC EOR #$80 ADC ObjectHSpeedHi EOR #$80 BVC thisMoveWasValid BPL wrappedRight ;; if not, wrapped left JMP RESET ;; do what happen...

 Forum: Newbie Help Center   Topic: Simple edge-checking, best method?

Posted: Wed Nov 04, 2015 8:07 am 

Replies: 15
Views: 3152


So here is how I've attempted to adapt the code you guys provided. Still having trouble, however. LDA ObjectXhi CLC EOR #$80 ADC HSpeedHi EOR #$80 BVS beyondBoundsCheck JMP updateObjectPosition ;; not beyond bounds, carry on with pos update beyondBoundsCheck: BPL checkLeftBounds CMP #BOUNDS_RIGHT BC...

 Forum: Newbie Help Center   Topic: Simple edge-checking, best method?

Posted: Tue Nov 03, 2015 6:01 pm 

Replies: 15
Views: 3152


Sure - I've got essentially a horizontal velocity and a vertical velocity for the movement, so yeah - it sort of generates signed movement. Gets the signed hvelocity, adds it to the current x value, does the same for the y. I get the new potential position, then check that against the screen bounds....

 Forum: Newbie Help Center   Topic: Simple edge-checking, best method?

Posted: Tue Nov 03, 2015 5:25 pm 

Replies: 15
Views: 3152


So, I have a routine that does this, obviously, but was one of the early things I worked on and knowing much more, I know there is a better way to do it. I am trying to check the position offset by the potential movement in the next step (stored into temp, let's say) against the edges of the screen ...

 Forum: Newbie Help Center   Topic: LUT table pointer redirect issue

Posted: Sun Nov 01, 2015 4:11 pm 

Replies: 40
Views: 6089


Thanks for all the great replies. This was the only instance so far where I've been sort of using multiple levels of indirect addressing like this, and I think I was just getting brain-crossed a bit, but the replies have been stellar and taught me a few things that I didn't know (or that I knew and ...

 Forum: Newbie Help Center   Topic: LUT table pointer redirect issue

Posted: Sat Oct 31, 2015 7:19 am 

Replies: 40
Views: 6089


Well, even without it should've pointed to the first in the table...but it doesn't do that either. I've amended with added the variable value...this still isn't right. If the idea looks sound to you guys, then I know something funny is happening elsewhere...just wanted to make sure this looked right.

 Forum: Newbie Help Center   Topic: LUT table pointer redirect issue

Posted: Sat Oct 31, 2015 7:07 am 

Replies: 40
Views: 6089


So I'm reworking a few things, and this thing I feel *should* be working just fine is returning the wrong values. Just wondering if anyone sees anything funny about it. There also may be an easier way. I need a LUT table to point to a variable LUT table with an offset, so in trying to get the addres...
Sort by:  
Page 13 of 22 [ Search found 327 matches ]


All times are UTC - 7 hours


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