It is currently Thu Feb 22, 2018 7:55 pm

All times are UTC - 7 hours



Search found 270 matches
Search these results:

Author Message

 Forum: Newbie Help Center   Topic: Just a curious thing - more with nametables

Posted: Wed Jul 09, 2014 1:59 pm 

Replies: 14
Views: 1796


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...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Tue Jul 08, 2014 6:40 pm 

Replies: 30
Views: 3755


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

I shall trudge ever forward. Thanks all for the assistance!

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Tue Jul 08, 2014 6:05 pm 

Replies: 30
Views: 3755


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...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Tue Jul 08, 2014 2:42 pm 

Replies: 30
Views: 3755


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...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Tue Jul 08, 2014 6:59 am 

Replies: 30
Views: 3755


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...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Tue Jul 08, 2014 4:47 am 

Replies: 30
Views: 3755


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 ...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Mon Jul 07, 2014 8:29 pm 

Replies: 30
Views: 3755


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 ...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Mon Jul 07, 2014 8:16 pm 

Replies: 30
Views: 3755


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...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Mon Jul 07, 2014 7:02 pm 

Replies: 30
Views: 3755


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,...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Mon Jul 07, 2014 6:18 pm 

Replies: 30
Views: 3755


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...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Mon Jul 07, 2014 5:05 pm 

Replies: 30
Views: 3755


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 ...

 Forum: Newbie Help Center   Topic: ASM6 and trouble with nametables...

Posted: Mon Jul 07, 2014 3:06 pm 

Replies: 30
Views: 3755


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...

 Forum: NESdev   Topic: Left button crashing code when checking position...

Posted: Wed Jul 02, 2014 10:08 am 

Replies: 12
Views: 1951


Alright, the plot thickens... With some help from Kasumi, I did a little housekeeping with the code. It's a tiny bit cleaner, and I have found the one line that is causing the problem. Setting the carry flag (SEC) in the left direction is what causes the 'crash' (the game freezes, the emulator does ...

 Forum: NESdev   Topic: Left button crashing code when checking position...

Posted: Tue Jul 01, 2014 4:22 pm 

Replies: 12
Views: 1951


Yes, I am using NESASM3. What you're suggesting is possible, I suppose, but I don't think so. Again, this is not the last direction...the two that follow work flawlessly (and jump the same distance in the code), unless I am misunderstanding. Also, when I tried to diagnose the problem by trying to ju...

 Forum: NESdev   Topic: Left button crashing code when checking position...

Posted: Tue Jul 01, 2014 4:14 pm 

Replies: 12
Views: 1951


Hello, all. Relatively new to Assembly, but actually very proud of some headway I've made. I'm absolutely positive there are more efficient ways to do what I am doing, but as I learn the code, I am muscling through on my own trying to really understand what it is I am doing. Thanks to a plethora of ...
Sort by:  
Page 18 of 18 [ Search found 270 matches ]


All times are UTC - 7 hours


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