unhelpfulzeromus wrote:that code should work. you must be confused, or you must have no c: drive. unless, of course, by running on PC, you mean, running on an emulator. in which case you are very badly confused.
Search found 18 matches
- Mon May 30, 2011 3:08 pm
- Forum: DS/DSi Development
- Topic: Saving game data
- Replies: 13
- Views: 12520
Re: Saving game data
- Wed May 11, 2011 8:36 pm
- Forum: DS/DSi Development
- Topic: Help with fixed point numbers
- Replies: 11
- Views: 8847
Re: Help with fixed point numbers
The term "sign bit" has a very specific meaning which does not include the sign offset in an integer value. Floating point representation has a sign bit as do some DSP chips, most processors use 2s complement to represent signed numbers. This is neither semantics nor unimportant and drives me nuts ...
- Tue Apr 05, 2011 3:07 pm
- Forum: DS/DSi Development
- Topic: Help with fixed point numbers
- Replies: 11
- Views: 8847
Re: Help with fixed point numbers
Well it seems that negative numbers are stored in signed integers using 2s compliment. Since fixed point numbers are just integers with a scale factor (for a x.y fixed point number the scale is the entire number / 2^y ) they work the same as integers with regards negative number storing. For a nibbl...
- Tue Mar 29, 2011 10:15 pm
- Forum: DS/DSi Development
- Topic: Help with fixed point numbers
- Replies: 11
- Views: 8847
Help with fixed point numbers
If sinLerp and other trig functions return signed values in 4.12, shouldn't one of those bits (the most signifigant bit usually isn't it) be the sign bit? So shouldn't it be 3.12 or 4.11 for a signed number?
- Tue Mar 29, 2011 10:14 pm
- Forum: maxmod
- Topic: MaxMod Stream Format
- Replies: 2
- Views: 5762
Re: MaxMod Stream Format
I suppose that's logical. I'll stick to PCM format then.
- Mon Mar 28, 2011 1:02 am
- Forum: maxmod
- Topic: MaxMod Stream Format
- Replies: 2
- Views: 5762
MaxMod Stream Format
In the MaxMod streaming example the actual sample data is derived from the function sinLerp() which returns a "4.12 fixed point number with the range [-1, 1]". This implies that the stream data format is also in 4.12 fixed format. My question is what is the format for raw sound data to be put in the...
- Mon Mar 14, 2011 3:41 pm
- Forum: DS/DSi Development
- Topic: Saving game data
- Replies: 13
- Views: 12520
Re: Saving game data
Cheers!
- Fri Mar 11, 2011 2:28 pm
- Forum: DS/DSi Development
- Topic: Saving game data
- Replies: 13
- Views: 12520
Re: Saving game data
Thanks a lot for help on this one. I've another problem though! I've only just tried to get this to work and I'm getting a linker error saying game.cpp:(.text+0x2): undefined reference to `fatInitDefault' Everything seems to be in order. Maybe I have to modify my makefile to link an extra library? A...
- Tue Mar 01, 2011 8:51 pm
- Forum: devkitARM
- Topic: Makefile can't find ds_rules any more
- Replies: 2
- Views: 3190
Re: Makefile can't find ds_rules any more
Ok, don't know what happened but I uninstalled devkit and reinstalled it, fixed it somehow.
Mysterious computer spirits....
Mysterious computer spirits....
- Tue Mar 01, 2011 7:09 pm
- Forum: devkitARM
- Topic: Makefile can't find ds_rules any more
- Replies: 2
- Views: 3190
Makefile can't find ds_rules any more
Hi, I've been tinkering away at a program I'm writing and I haven't done a build in over a week. I tried to build my project and for some reason I'm getting this error: > "make" Makefile:9: /c/devkitPro/devkitARM/ds_rules: No such file or directory make: *** No rule to make target `/c/devkitPro/devk...