I personnaly use signed rather than unsigned types for fixed point - which I believe is more common. though it is certainly possible to use unsigned.Sepreath wrote:[all of this assumed you are using unsigned ints]
Wow, thanks for explaining all that. Zeromus just assumes that everybody knows what a fifo is and how to use one. Thanks again for explaining that!vuurrobin wrote:as for the temperature itself: the temperature registers can only be read from the arm7 processor while you normally program just for the arm9 and use a default arm7 binary. so you would have to write a custom arm7 binary to read the temperature, use the fifo (which, in the context of libnds, is the mechanism that libnds uses for arm7<->arm9 communication) to send the temperature to the arm9 and print it from there. creating custom arm7 code and processor communication isn't exactly beginners stuff.
I was going to try and read the temperature at some point in my first-ever program, but I guess I won't be learning that stuff for a long while.
- Stryker AKA Jordan
could be discovered by pasting the code from the arm7 example i provided into the arm9 and observing that it doesnt work; or reflecting that such a roundabout way wouldnt be chosen to read the temperature if it weren't neededthe temperature registers can only be read from the arm7 processor
could be discovered by comparing all the libnds examples to the arm9 and arm7 programs in the example i provided and recognizing that they share more in common with the arm9while you normally program just for the arm9
could have observed the critical functions performed by the arm7 example program i provided and deduced that similar functions must be going on behind the scenes if you hadnt overridden them.and use a default arm7 binary
i did that in my example of reading the temperature so it should be no surpriseso you would have to write a custom arm7 binary to read the temperature
i doubt you even looked at the code solution I provided, but if you had, you would see that large regions of code on both programs are full of nothing but things involving temperature, the word FIFO, and 'send' and 'receive'use the fifo (which, in the context of libnds, is the mechanism that libnds uses for arm7<->arm9 communication), to send the temperature to the arm9 and print it from there.
but copying and pasting it iscreating custom arm7 code and processor communication isn't exactly beginners stuff.
so tell me again, what did I assume? nothing more than that you would spend as long contemplating the example I provided as I did providing it. but your web browser is broken so you give up and expect other folks to double and treble the wasted time by explaining what was already succinctly explained by the example? Youve also wanted us not to use "vocabulary" of amazing words like GLUT and SDL without providing some kind of in-line glossary for your convenience. grow up.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest