Search found 87 matches

by gravelstudios
Sat Mar 09, 2019 1:23 pm
Forum: NESdev
Topic: Maximum Scroll Speeds
Replies: 11
Views: 5645

Re: Maximum Scroll Speeds

The engine I've made for my current project has a maximum of 8 pixels per frame. It only scrolls horizontally. I check every frame to see if the seam is on a new tile column (8 pixels) or metatile column (16 pixels). Then I only update whatever needs to be updated on that frame. I update the whole 3...
by gravelstudios
Mon Mar 04, 2019 6:53 am
Forum: NESdev
Topic: have you ever used recursion on the NES?
Replies: 23
Views: 12340

have you ever used recursion on the NES?

Just curious. I was thinking about this. Are there really any problems in NES programming that would be solved better through recursion than some other means? I got really into SNES SimCity for a while and I read a post on another blog/forum once (I forget where) about how power propagates out from ...
by gravelstudios
Sat Mar 02, 2019 6:59 am
Forum: NESdev
Topic: moving the :p cursor
Replies: 4
Views: 4061

Re: moving the :p cursor

Just reading $4016 isn't enough (it would be nice if it were though). You need to tell $4016 that you want it to give you the data from the controller: .LatchController: ;Storing 1 then 0 to $4016 tells the controllers to send button data LDA #$01 STA $4016 LDA #$00 STA $4016 ; tell both the control...
by gravelstudios
Thu Feb 28, 2019 6:08 pm
Forum: NESdev
Topic: Is a good think make my own Sound Engine?
Replies: 37
Views: 18404

Re: Nerdy Nights Tutorial Source Code

I can see it from both sides. On one hand, getting an audio engine working correctly can be an incredibly difficult, time consuming, and frustrating chore. I wouldn't blame anybody for deciding to use an existing tool to deal with this task. On the other hand, there were assembly programming skills ...
by gravelstudios
Thu Feb 28, 2019 5:58 pm
Forum: NES Music
Topic: Poll, What music driver do you use?
Replies: 15
Views: 24001

Re: Poll, What music driver do you use?

Other, because I also write my own audio drivers based more or less on the Nerdy Nights tutorials. The audio driver in Get It! is a spaghetti code mess, but it works more or less to play the only song in that game. The one I'm writing for my current project has way more features (vibrato, arpeggios,...
by gravelstudios
Wed Feb 27, 2019 5:51 pm
Forum: NES Music
Topic: The best way to create Music for a complete noob?
Replies: 7
Views: 12839

Re: The best way to create Music for a complete noob?

If you don't want to use a tool like famitracker: Just doing simple sound effects is pretty easy. when the event occurs in your game that you want to make the sound, just write the correct values to the registers for the channel that you want it to play on (pulse1 is $4000 - $4003, etc.). A little e...
by gravelstudios
Sat Feb 23, 2019 4:07 pm
Forum: 2017 NESdev Competition
Topic: Action 53 volume 4
Replies: 72
Views: 92751

Re: Action 53 volume 4

This is pretty exciting. after I gave permission for the inclusion of Get It!, I sort of just forgot about it. It's really nice to see it in this context.
by gravelstudios
Wed Feb 20, 2019 4:53 pm
Forum: Newbie Help Center
Topic: What came first the chicken or the egg? (Updating v Drawing)
Replies: 7
Views: 5704

Re: What came first the chicken or the egg? (Updating v Draw

The only way I can think about it that makes sense to me is that the game state has to be determined first, and then the NMI updates the PPU and APU based on the game state. Thinking about it the other way around just doesn't make sense. You can't display stuff that hasn't happened yet. I think the ...
by gravelstudios
Wed Feb 20, 2019 4:38 pm
Forum: Newbie Help Center
Topic: Guidance for creating a pong game (New here)
Replies: 51
Views: 27966

Re: Guidance for creating a pong game (New here)

Offtopic but, what in FCEUX makes you say it is easier to debug at this point? I believe I've essentially incorporated all of its debugging features (and added a lot more on top of them), with the exception of a TAS editor, if that counts as one. (I don't mean this as a complaint, by the way, just ...
by gravelstudios
Wed Feb 20, 2019 6:20 am
Forum: Newbie Help Center
Topic: Guidance for creating a pong game (New here)
Replies: 51
Views: 27966

Re: Guidance for creating a pong game (New here)

The best place to start is probably the Nerdy Nights NES programming tutorials: http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=7155 Not all the information is totally accurate or up-to-date, but I think it's still a great place to start. I taught me enough to make my first game. You'...
by gravelstudios
Tue Feb 19, 2019 6:36 pm
Forum: NESdev
Topic: NES graphics issues
Replies: 21
Views: 13324

Re: NES graphics issues

May be completely unrelated. I was getting a glitch similar to this when using my Everdrive. I deleted the rom on which the glitch was happening and re-copied it onto the SD card. it seems fine now. I don't know whether that's helpful information or not.
by gravelstudios
Mon Feb 18, 2019 6:15 am
Forum: NESemdev
Topic: DPCM/Controller Glitch emulation
Replies: 19
Views: 14527

Re: DPCM/Controller Glitch emulation

I'd love to get into SNES development at some point, and you're right about the lack of documentation. Something like that would be a great tool.
by gravelstudios
Sun Feb 17, 2019 3:19 pm
Forum: NES Graphics
Topic: Article on Game Graphics w/ Details on Era Workstations
Replies: 17
Views: 20385

Re: Article on Game Graphics w/ Details on Era Workstations

I still use Mario Paint as a quick, easy way to see what tiles will look like on an old CRT TV. It doesn't have as large a palette as I would like, but it does the trick for the most part.
by gravelstudios
Sun Feb 17, 2019 11:08 am
Forum: NESemdev
Topic: DPCM/Controller Glitch emulation
Replies: 19
Views: 14527

Re: DPCM/Controller Glitch emulation

I was also aware of reads from $2007 being corrupted as well, but I never read from $2007 in my current project, so it's not an issue.

Thanks for the info about the other controllers. I'll have to remember that if I ever use them in the future.
by gravelstudios
Sun Feb 17, 2019 9:17 am
Forum: NESemdev
Topic: DPCM/Controller Glitch emulation
Replies: 19
Views: 14527

Re: DPCM/Controller Glitch emulation

I am currently reading the controller in a loop until I get two identical reads in a row. I'm happy with that. It required the least modification to my existing code, and it works fast enough for my needs. I just wanted to make sure I wasn't going to encounter any more surprises. I think I am going ...