Hi, I was just wondering how did you guys created the libnds library?
How did you started? How did you know what to integrate in it, etc.
Also, I downloaded the libnds separately from the devkitPro updater and
when I extract I have two folders: "include" (which has only header files) and "lib" (which has only .a files). What are each of them?
Let me know. Thanks!
-Atenzor-
question about creation of libnds
-
- Site Admin
- Posts: 2003
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: question about creation of libnds
We started a long, long time ago, back in the GBC days if truth be told. Much of the knowledge we acquired from GBC & GBA programming was applicable to the DS due to the similarities in graphics hardware.
As for how we knew what to integrate, mostly we started with simple hardware register macros and slowly built an API on top. We've had a lot of feedback and contributions from the homebrew community.
Not really sure where to start on explaining what the header & library files are tbh, I'd suggest a couple of books on C. It's not hugely complicated, just difficult to know how much you currently understand.
As for how we knew what to integrate, mostly we started with simple hardware register macros and slowly built an API on top. We've had a lot of feedback and contributions from the homebrew community.
Not really sure where to start on explaining what the header & library files are tbh, I'd suggest a couple of books on C. It's not hugely complicated, just difficult to know how much you currently understand.
Re: question about creation of libnds
atenzor wrote:when I extract I have two folders: "include" (which has only header files) and "lib" (which has only .a files). What are each of them?
header files (typically .h for C or .hpp for C++):
http://www.learncpp.com/cpp-tutorial/19-header-files/
library/archive files (.lib or .a)
http://www.learncpp.com/cpp-tutorial/a1 ... libraries/
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests