Search found 15 matches

by Tron
Mon Feb 08, 2010 11:12 am
Forum: DS/DSi Development
Topic: Homebrew Project Questions
Replies: 23
Views: 16766

Re: Homebrew Project

New questions: 2. There are many places in the libnds source code where a prototype for a function, but no actual definition, is given. Where are the definitions for these functions? For example, in nds/interrupts.h there are prototypes for the functions, irqInit(), irqSet(), irqClear(), etc. are gi...
by Tron
Fri Feb 05, 2010 9:59 am
Forum: DS/DSi Development
Topic: Homebrew Project Questions
Replies: 23
Views: 16766

Re: Homebrew Project

That is unfortunate about the tutorials. Then I will rely mostly on devoto's and soon on experimentation and perusal of the API. As for the answer to my question: It is as I thought, then - there is usually ample time as the processor is so much faster than the rendering hardware. And I understand t...
by Tron
Thu Feb 04, 2010 11:00 pm
Forum: DS/DSi Development
Topic: Homebrew Project Questions
Replies: 23
Views: 16766

Homebrew Project Questions

I'm writing a simple word game as a school project, and I figured it would be best to post questions I have all in one thread. The blog for the project is located here , where there is currently a short specification of the game. Questions: 9. Can hardware scrolling be done on tiled backgrounds, and...
by Tron
Fri Jan 22, 2010 11:23 am
Forum: DS/DSi Development
Topic: Screen Size vs VRAM Bank Size
Replies: 2
Views: 2974

Re: Screen Size vs VRAM Bank Size

Ok, I calculated the wrong number of bits. Instead of 8192 (way too small), there are 1048576, so 1048576 / 16 = 65536 or 2^16 uint16 values (or from bytes, 131072 / 2 = 65536, so there are more than enough to fill the screen, as you said.
by Tron
Fri Jan 22, 2010 9:47 am
Forum: DS/DSi Development
Topic: Screen Size vs VRAM Bank Size
Replies: 2
Views: 2974

Screen Size vs VRAM Bank Size

While reading about framebuffer mode graphics from this tutorial, the following question arose: How can just one main VRAM bank be used to render an entire DS screen, when the number of pixels far exceeds the number of uint16 values that can be stored in one bank? ((SCREEN_WIDTH * SCREEN_HEIGHT) / (...