Search found 333 matches

by JoeGtake2
Wed Jul 09, 2014 8:29 pm
Forum: Newbie Help Center
Topic: Just a curious thing - more with nametables
Replies: 14
Views: 3592

Re: Just a curious thing - more with nametables

You guys are being incredibly helpful in this regard. And it brings me to another source of confusion, which is sort of related. I thought I had it figured out, but now things are acting funky. So if I have a variable, load it to A, and want to compare it's value to, say, another variable's value, i...
by JoeGtake2
Wed Jul 09, 2014 3:57 pm
Forum: Newbie Help Center
Topic: Just a curious thing - more with nametables
Replies: 14
Views: 3592

Re: Just a curious thing - more with nametables

Haha, sure - the logic is sound. I'll have to play with it to make sure it works, but that should achieve what I'm trying to make happen.

**EDIT**
Yes, that works like a charm! Thanks guys!
by JoeGtake2
Wed Jul 09, 2014 2:39 pm
Forum: Newbie Help Center
Topic: Just a curious thing - more with nametables
Replies: 14
Views: 3592

Re: Just a curious thing - more with nametables

Essentially, I was attempting a subroutine to handle screen changes (different name tables). The idea was to have a variable to determine what 'next screen' to draw. So if I was at SCREEN00, i could change the variable to SCREEN01 (and if at SCREEN01, change it to SCREEN02, etc etc etc) so when that...
by JoeGtake2
Wed Jul 09, 2014 1:59 pm
Forum: Newbie Help Center
Topic: Just a curious thing - more with nametables
Replies: 14
Views: 3592

Just a curious thing - more with nametables

So this is a pretty simple one - I'd like to have a variable determine which nametable to draw in my subroutine. What does work is if I make a constant (SCREEN00 = Nametable00) and then load my nametable through my subroutine, it works fine. There is an intermediary step, however...if I set constant...
by JoeGtake2
Tue Jul 08, 2014 6:40 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

Ah, thanks Kasumi! In context now, that makes more sense (from previous PM).

I shall trudge ever forward. Thanks all for the assistance!
by JoeGtake2
Tue Jul 08, 2014 6:05 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

Thank you very much. I have played with these ideas from the posts, but the result is exactly the same, unfortunately. Let me show you how I have essentially put the Nametable Load into the NMI and made the adjustments you all suggested: The scroll is still off. Now, all of this 'problem' is contain...
by JoeGtake2
Tue Jul 08, 2014 2:42 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

Gotcha - will absolutely do that, then! So last night, we fixed the issue I was having. Today, I completely rewrote my code (to better align with what I'm understanding of a good file structure, and commenting things out to better help me understand what is happening). Rainwarrior , you suggested pu...
by JoeGtake2
Tue Jul 08, 2014 6:59 am
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

Thanks Rainwarrior - later today, I'm going to attempt to iterate through a basic file structure and try to build it from scratch and referencing your link as little as possible. If I have pressing questions while I do, would you mind if I PM you? I appreciate the help and the lengthy explanation. Y...
by JoeGtake2
Tue Jul 08, 2014 4:47 am
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

Wow - Rainwarrior, that example has a ton of great stuff in it! Thanks so much for that, I'm really going to dissect it. Most of it makes perfect sense to me as I read it sort of casually...which is good! Haha. Tokumaru, thanks for clarifying. All in all, this problem is officially solved thanks to ...
by JoeGtake2
Mon Jul 07, 2014 8:29 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

The Fox - yup. I landed on that one...thanks for the suggestion. I managed to figure that out through trial and error. Also, Memblers and Tokumaru - the solution was in a combination of what you two said. I WAS doing the write to the PPU register correct to read from $1000, but that was never being ...
by JoeGtake2
Mon Jul 07, 2014 8:16 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

You guys are awesome. Seriously. I fully realize I'm asking some newbish questions, and not a single troll or impatient response yet. What a wonderful part of the interwebs this is! Tokumaru - you nailed it on the clearing the scrolling. That fixed the issue 100% as far as that weird offset I was ge...
by JoeGtake2
Mon Jul 07, 2014 7:02 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

My mistake for not including that. Yes, from Tokumaru's template, I actually have a 'header.asm' file which has this header, and then its body includes this file. This has been working for the other things I've been messing around with fine (setting up a meta-sprite character, making character move,...
by JoeGtake2
Mon Jul 07, 2014 6:18 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

Alright, the plot thickens... I did a few more things based on your suggestions. 1. I handled the accumulator to push the values to the stack and then restore them at the end of the NMI (is this what you meant?). I think I did that right. 2. Palette issue is fixed. That's just me being an idiot...pl...
by JoeGtake2
Mon Jul 07, 2014 5:05 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

Re: ASM6 and trouble with nametables...

Thanks so much, both of you guys. Rainwarrior - debugging shows that the nametable is not filled with the right data (all with tile 0 instead). Also, I noticed that my palette file only seemed to load sprite palette and not bkg palette, so I just threw up the longhand way for now...I think that was ...
by JoeGtake2
Mon Jul 07, 2014 3:06 pm
Forum: Newbie Help Center
Topic: ASM6 and trouble with nametables...
Replies: 30
Views: 8771

ASM6 and trouble with nametables...

I'm bashing my head against ASM at the moment, (using ASM6 to assemble) and I'd like to reach out and thank those who have given in depth responses. I'm very competent in high level languages such as javascript and C# for development, and generally get the logic in ASM after a few days of muscling t...