Search found 88 matches

by Anders_A
Sat Aug 25, 2018 7:00 am
Forum: NES Music
Topic: NSF Extensions, NSF2 and NSFe (2018)
Replies: 84
Views: 65739

Re: NSF Extensions, NSF2 and NSFe (2018)

Why is calling INIT twice preferrable over having two separate functions? One for INIT and one that's expected to be called after init and to never return?
by Anders_A
Thu May 03, 2018 3:00 am
Forum: NESdev
Topic: nes-starter-kit: A Quickstart guide for homebrew in C (WIP)
Replies: 22
Views: 16396

Re: nes-starter-kit: A Quickstart guide for homebrew in C (W

This is great stuff!

I wouldn't use it though. But that's simply because doing the low level stuff myself on the nes is part of the fun for me.
by Anders_A
Mon Nov 20, 2017 10:59 am
Forum: NESdev
Topic: Weird PPU writes
Replies: 8
Views: 2925

Re: Weird PPU writes

Any write of $3F $00 $00 $00 to $2006 is cargo-cult programming. This exact thing is mentioned in a (not publicly available AFAIK) excerpt from a Nintendo doc, dated from 1993. It doesn't say why, it just one sentence saying to do that when you write the palette. Then it shows the sequence from tha...
by Anders_A
Mon May 08, 2017 11:29 am
Forum: NESdev
Topic: NORTH
Replies: 25
Views: 7334

Re: NORTH

Except for "all in NMI" games like Super Mario Bros. , the NMI thread is usually limited to a couple things: pushing queued video memory updates and running a music engine. These would typically be in assembly language and thus not need their own Forth stack. Yes. Of course you could write the two ...
by Anders_A
Mon May 08, 2017 4:05 am
Forum: NESdev
Topic: FDS or not to FDS
Replies: 35
Views: 11604

Re: FDS or not to FDS

There is nothing stopping you from putting 32k of RAM on a cart.

The FDS is something pretty much only collectors would have.
by Anders_A
Mon May 08, 2017 12:53 am
Forum: NESdev
Topic: NORTH
Replies: 25
Views: 7334

Re: NORTH

This is really interesting! I had never really looked at forth before, but I see that it's very well suited for the 6502. How could you handle the fact that almost all nes games has to have two threads (main thread and nmi thread)? Should each thread have its own stack? How would the two threads com...
by Anders_A
Mon Apr 24, 2017 1:46 pm
Forum: 2017 NESdev Competition
Topic: Planning
Replies: 33
Views: 29928

Re: Planning

I had plans for a 4 player party style game for last year's compo. Unfortunately I never put in enough time to actually get it done, even though I'd really like to for this years compo. (One compo rule I had some trouble working around was the no prg-ram one. I needed some extra ram on the cart to g...
by Anders_A
Tue Sep 06, 2016 9:46 am
Forum: NES Graphics
Topic: Custom 3+bpp font
Replies: 16
Views: 7694

Re: Custom 3+bpp font

How do you intend to display this in game? Using sprite overlays won't work very well if you have more than 8 characters on a line unfortunately :/.
by Anders_A
Sun Aug 28, 2016 5:20 am
Forum: NESdev
Topic: Sound synthesizer using $4011, 2a03 only
Replies: 47
Views: 9258

Re: Sound synthesizer using $4011, 2a03 only

"Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems."

This is very much a thread about a technichal issue related to programming the NES imho.

Much more so than related to NES music.
by Anders_A
Sun Aug 28, 2016 5:11 am
Forum: NESdev
Topic: Basic 6502 Trigonometry
Replies: 7
Views: 3049

Re: Basic 6502 Trigonometry

* Get angle from arctan(dy/dx) * Get speed from distance formula I would probably store the vector as angle and speed instead of dy and dx to get rid of this step, and simply represent your angle change as an addition. For optimization I'd guess you'd want to store dx and dy everytime you recalcula...
by Anders_A
Tue Dec 22, 2015 10:03 am
Forum: Homebrew Projects
Topic: Ngin (my NES game engine)
Replies: 34
Views: 16411

Re: Ngin (my NES game engine)

Looking good as always thefox :). I've been playing around a bit with a game idea I have lately, and the ability to prototype in lua and have it run in Nintendulator sounds enticing, the link to NDX on github, and in the NDX thread here is broken though :(. Do you have a repo for NDX somehwere or an...
by Anders_A
Wed Aug 10, 2011 6:45 am
Forum: Homebrew Projects
Topic: Mind Control Trilogy (Preview) (NES Demo)
Replies: 46
Views: 16256

The glitching is most likely by design. That's what I thought at first, but after seeing how the program behaves differently across emulators and an actual console, I'm pretty sure this was just badly coded. I mean, even if you want a program to LOOK glitchy, you should simulate all the effects int...
by Anders_A
Wed Aug 10, 2011 4:17 am
Forum: Homebrew Projects
Topic: Mind Control Trilogy (Preview) (NES Demo)
Replies: 46
Views: 16256

The glitching is most likely by design.
by Anders_A
Thu Jul 21, 2011 12:24 am
Forum: Homebrew Projects
Topic: A simple sprite demo for teaching
Replies: 21
Views: 27855

Re: A simple sprite demo for teaching

Using dex instead of ldx #$FF to set the stack pointer is a bit unnecessary as you're aiming for clarity here. Also, imo, it's bad practice to clear memory on init (as you do with the zeropage). The only reason to do it is so that you can assume it's set to 0 whenever you want to use memory on the z...
by Anders_A
Thu Mar 31, 2011 2:30 am
Forum: Homebrew Projects
Topic: I Want To Do Music For An NES Game
Replies: 25
Views: 11847

I don't get this at all. You publish your name and stuff for J. Random Stranger who stumbles across your site to see, but you want to keep it secret from the nesdev community. Do you believe the members of the nesdev community are more likely to be dangerous sexual predators wishing to break into yo...