Search found 84 matches
- Fri May 16, 2014 7:42 pm
- Forum: SNESdev
- Topic: SNES controller code to work properly.
- Replies: 26
- Views: 6293
SNES controller code to work properly.
Hey been having a bitch of a time trying to understand what's up with code for interacting with the controllers on the SNES. I've read bazz's tutorial (http://wiki.superfamicom.org/snes/show/Polling+Controller+Input) and the SNES Developer Manual which has some similar sample code. The issue I am ha...
- Fri May 16, 2014 7:16 pm
- Forum: SNESdev
- Topic: polygon demo
- Replies: 20
- Views: 5257
Re: polygon demo
I think the polygon demo v2 is improved as well.
Interested to see where it goes.
Interested to see where it goes.
- Mon May 12, 2014 3:27 pm
- Forum: SNESdev
- Topic: polygon demo
- Replies: 20
- Views: 5257
Re: polygon demo
Hey this demo as well as the other NES are quite nice. I'm curious, have you tried to run this on real hardware, or at least BSNES? Also what is your end goal with these, are you trying to do some pure 3D stuff ala Star Fox, a 2D game with something triforce like as tepples mentioned, just demos, so...
- Thu May 08, 2014 10:44 pm
- Forum: SNESdev
- Topic: SPC, DSP "Pitch Height" conversion formula
- Replies: 9
- Views: 3070
Re: SPC, DSP "Pitch Height" conversion formula
Hey I got the reason why I created this post working in case you were curious. Here is a link with the source code and smc. I tested it quickly on a clone system with an SNES Power Pak and it works on the hardware. https://drive.google.com/file/d/0B4wfhZPgSasGdGhpNlNEM0F0Mk0/edit?usp=sharing (I clea...
- Thu May 08, 2014 8:37 pm
- Forum: SNESdev
- Topic: SPC, DSP "Pitch Height" conversion formula
- Replies: 9
- Views: 3070
Re: SPC, DSP "Pitch Height" conversion formula
Yeah the only thing that I could think of is something like that, if you had a sample you wanted to extent/"contract" to a specific amount of time the samplerate would be important. Or if you had a sample with a very high pitched (like inaudible) component in the signal that would become p...
- Thu May 08, 2014 8:04 pm
- Forum: SNESdev
- Topic: SPC, DSP "Pitch Height" conversion formula
- Replies: 9
- Views: 3070
Re: SPC, DSP "Pitch Height" conversion formula
I get the mechanics of the formula, I'm just curious what utility it would serve to know the actual new samplerate of the pitched sample (as opposed to the pitch, which you would need for music/chords etc).
- Thu May 08, 2014 12:45 pm
- Forum: SNESdev
- Topic: SPC, DSP "Pitch Height" conversion formula
- Replies: 9
- Views: 3070
Re: SPC, DSP "Pitch Height" conversion formula
I am asking from the perspective of needing to know the Pitch value "p" that has to go into the DSP. If you know the original pitch (assuming you recorded/created the sample) and the desired pitch in Hz which seems like it would be easier to find out, you'd have all you need to get the Pit...
- Thu May 08, 2014 12:32 pm
- Forum: SNESdev
- Topic: SPC, DSP "Pitch Height" conversion formula
- Replies: 9
- Views: 3070
Re: SPC, DSP "Pitch Height" conversion formula
ha, duh. :oops: that makes total sense. Thanks for the clarification. I understand you are talking about the relationship of samplerate to pitch but where as I can see the direct benefit of knowing the frequency (ie getting the pitch of a sample), why would you want to know the samplerate of a re-pi...
- Thu May 08, 2014 11:47 am
- Forum: SNESdev
- Topic: SPC, DSP "Pitch Height" conversion formula
- Replies: 9
- Views: 3070
SPC, DSP "Pitch Height" conversion formula
Hey I am working to try and understand SPC programming. I'm working on an example taking a sample at one frequency and then using it to create a diatonic scale (ie "do re mi"). I understand all the .BRR playback stuff, but I am confused about the conversion of desired pitch in Hz to a 14-b...
- Fri Mar 07, 2014 8:55 pm
- Forum: SNESdev
- Topic: How to re-map control buttons on DKC?
- Replies: 6
- Views: 2432
Re: How to re-map control buttons on DKC?
There was the Tyco Power Plug accessory that added macro features to an existing Super NES controller. ha I think I actually still have one somewhere. I remember it being a bit underwhelming. I think you are right, I'll go the hardware route. THANK YOU for everything you wrote :) Not sure if you ar...
- Fri Feb 28, 2014 10:41 am
- Forum: SNESdev
- Topic: SNES dev newbie questions
- Replies: 63
- Views: 25209
Re: SNES dev newbie questions
True. But isn't it a good idea to disable NMI during the init code and reenable it afterward to make sure the NMI handler doesn't mess things up? I'm not sure all the specifics of how the NMI handler works, but I think it would technically be "okay" if the screen is off and you know you a...
- Fri Feb 28, 2014 10:26 am
- Forum: SNESdev
- Topic: SNES dev newbie questions
- Replies: 63
- Views: 25209
Re: SNES dev newbie questions
I've found that leaving register $4200 at zero will work on really lenient emulators like ZSNES, but won't work for BSNES, SNES9x or on the real hardware, had to learn that the HARD way...heheh...sorry. If you play with the interrupt tables and the routines they call, I think you'll have a more intu...
- Fri Feb 21, 2014 2:44 pm
- Forum: SNESdev
- Topic: How to re-map control buttons on DKC?
- Replies: 6
- Views: 2432
Re: How to re-map control buttons on DKC?
No problem! I'm surprised that there was never a third party controller like that (the times I needed to remap controllers in an options menu I usually felt underwhelmed by my choices). Coincidentally, I took apart a third party SNES controller the other day and it seemed to have extra pads it would...
- Fri Feb 21, 2014 11:20 am
- Forum: SNESdev
- Topic: How to re-map control buttons on DKC?
- Replies: 6
- Views: 2432
Re: How to re-map control buttons on DKC?
You are trying to do this in software? My inclination is to say that it would be easier to build/hack a controller that would remap any of the buttons for you. A schematic for a controller is over here (if you want to do it from scratch): http://www.gamesx.com/controldata/nessnes.htm If not, I'm not...
- Fri Feb 21, 2014 10:38 am
- Forum: General Stuff
- Topic: What schematic/PCB layout tool do you guys use?
- Replies: 7
- Views: 3380
Re: What schematic/PCB layout tool do you guys use?
Design Spark looks pretty pro. I especially like the free part. Thanks for the library link as well.