gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Framebuffer help

#149156 - Cave Johnson - Wed Jan 16, 2008 1:50 am

Im very new to programming, and i want to start basic. In the frame buffer, i would like to make a blue square. Thats it. Very simple. I understand how to create my square in the framebuffer, but how do i create the very first file that i create the program on? (If it matters, ive downloaded only DevkitPro onto my windows Xp. Am i missing any necessary programs?) Thanks for your help.

#149164 - Cave Johnson - Wed Jan 16, 2008 3:12 am

Nevermind, i figured out that i must use a makefile. So does anyone know where i can download a good one?

#149207 - strager - Wed Jan 16, 2008 7:40 pm

If you haven't already, download the libnds example projects. I think they are installed when using the DKP updater. Look through the various examples. All of them are independent of each other, so it's easy to copy-paste the project into your own project directory and start editing away.

#149210 - Cave Johnson - Wed Jan 16, 2008 8:29 pm

I downloaded them, but they just lead to another of my problems, how do i create a project directory that i can work on in a shell/ how do i access it? Thanks for the help.

#149212 - nipil - Wed Jan 16, 2008 8:47 pm

Windows+R key, "cmd" enter.
Then "cd" to the place your makefile is
example "cd c:\devkitpro\examples\gba\graphics\ansi_console"
finally type "make"

#149221 - Cave Johnson - Wed Jan 16, 2008 9:54 pm

Thank you so much nipil, your a god. (Tepples your still a god too)