Search found 31 matches

by mantanz
Tue Aug 08, 2017 11:55 am
Forum: Newbie Help Center
Topic: Question about 8 sprite per scanline limit
Replies: 23
Views: 4985

Re: Question about 8 sprite per scanline limit

You don't get double width (unless you turn your monitor 90 degrees), you get double height. Even if one sprite is made of two tiles in this mode, it's still one sprite. You get 8 per scanline, since the special internal/indirect scanline memory in PPU can hold up to 8 sprites. 16x8 8x16 mode incre...
by mantanz
Tue Aug 08, 2017 11:54 am
Forum: Newbie Help Center
Topic: Question about 8 sprite per scanline limit
Replies: 23
Views: 4985

Re: Question about 8 sprite per scanline limit

Ah sorry, I had my dimensions around the wrong way. Carry on, nothing to see here :P
by mantanz
Tue Aug 08, 2017 2:33 am
Forum: Newbie Help Center
Topic: Question about 8 sprite per scanline limit
Replies: 23
Views: 4985

Question about 8 sprite per scanline limit

Hey folks, I'm just wondering, if I use 16x8 sprites do I still get 8 per scanline? Or because the sprites are double the width do I only get four? The reason I ask is my ship is 3 sprites wide, bullet is 1 with max 2 bullets on screen so that only leaves me with two sprites for any enemies without ...
by mantanz
Sun Aug 06, 2017 1:09 am
Forum: Newbie Help Center
Topic: Super Nintendo palette?
Replies: 5
Views: 2352

Re: Super Nintendo palette?

If there's one thing I regret doing when I was your age (over 20 years ago), it's not focusing on projects. I was easily distracted because there were a million things I wanted to do, so I constantly jumped from project to project, like you're doing now, without ever finishing anything. But then yo...
by mantanz
Sat Aug 05, 2017 12:29 am
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Re: Uber noob question on button presses

Wow thanks! That helps heaps. I was wondering how to inverse the bits too. Cheers :)
by mantanz
Fri Aug 04, 2017 9:13 pm
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Re: Uber noob question on button presses

WOOHOO! I got it working. Probably not the nuicest code and if anyone has any ideas how to streamline It'd be much appreciated but hell, it works! ; A button ReadA: LDA joypad ; player 1 button A AND #%00000001 ; only look at bit 0 - clear all other bits CMP joypad_lastframe ; compare A with button ...
by mantanz
Fri Aug 04, 2017 7:37 pm
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Re: Uber noob question on button presses

EDIT: I'm an idiot - BEQ means branch if equal to zero, doesn't it? I was thinking it meant if the two values compared were equal... EDIT AGAIN: Nope - I was right first time. I'm getting zero confuded with zero flag, right? If the data and registers match, the zero flag is set. I think? It means b...
by mantanz
Fri Aug 04, 2017 7:07 pm
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Re: Uber noob question on button presses

Okay, I've made some progress. Sorry, I'm pretty dumb when it comes to this stuff! I have my shooting working but it works when I press as well as release the button now, so I get two bullets with every press and release. lol . Here's my code: ; A button ReadA: LDA joypad ; player 1 button A AND #%0...
by mantanz
Thu Aug 03, 2017 8:03 pm
Forum: Homebrew Projects
Topic: First Homebrew Project - "Bob" - Early Development
Replies: 10
Views: 4958

Re: First Homebrew Project - "Bob" - Early Development

Nice work, mate! I'm only starting out too and you're MIIILES ahead of me :)
by mantanz
Mon Jul 31, 2017 12:00 pm
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Re: Uber noob question on button presses

Great, I was on the right track. Will have a go tonight after work. Thanks again for your help!
by mantanz
Mon Jul 31, 2017 3:01 am
Forum: NESdev
Topic: What program to use to make Assembly?
Replies: 24
Views: 6157

Re: What program to use to make Assembly?

It's fine to stick everything in one file until later when the program grows large enough, or even keep just a single file assembly through the whole project. Both approaches are currently practical for an NES game. This pleases me. I was worried I might hit issues later but I'll leave everything i...
by mantanz
Mon Jul 31, 2017 2:05 am
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Re: Uber noob question on button presses

Nope still stuck... I cant work out how to check the state of the button on the last frame... I've found a few C examples and asm examples that are using defines but I have no idea what those defines are... How do I go about this in NESASM3? I know the bit I need to check but I'm not sure how to sto...
by mantanz
Sun Jul 30, 2017 3:30 am
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Re: Uber noob question on button presses

You need to save the buttons state from the previous frame. Then simply compare: "if previous=0 AND current=1 => button has been pressed after previously being down". Some related links: http://forums.nesdev.com/viewtopic.php?f=2&t=14809&p=179274#p179274 http://forums.nesdev.com/viewtopic.php?f=10&...
by mantanz
Sun Jul 30, 2017 2:14 am
Forum: Newbie Help Center
Topic: Uber noob question on button presses
Replies: 12
Views: 3000

Uber noob question on button presses

Hey folks, So I have my ship shooting... sort of... but when I press and hold the button down the bullet resets to the ship position as it should but it stays there for as long as the button is held down... I'm using the movement code from Nerdy Nights and it works great for my ship's movement but I...
by mantanz
Tue Jul 25, 2017 1:25 am
Forum: Newbie Help Center
Topic: Is there a better way to INX 4 times?
Replies: 33
Views: 5448

Re: Is there a better way to INX 4 times?

You guys are breaking my 41-year-old brain. LOL