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.

DS development > New defines in latest libnds?

#119521 - Lupi - Fri Feb 23, 2007 11:48 pm

Well, I have decided to go the Linux way with NDS programming. I have setted the enviroment and I tried compiling all the nds-examples and I got no error.
Then I tried compiling my own code, but I get some errors

Code:
/home/****/NDS/PROYECTOS/DSProyect/arm9/source/main.cpp -o main.o
/home/****/NDS/PROYECTOS/DSProyect/arm9/source/main.cpp: In function 'void IniciaVideo()':
/home/****/NDS/PROYECTOS/DSProyect/arm9/source/main.cpp:94: error: 'VRAM_A_MAIN_BG_0x6000000' was not declared in this scope
/home/****/NDS/PROYECTOS/DSProyect/arm9/source/main.cpp:95: error: 'VRAM_B_MAIN_BG_0x6020000' was not declared in this scope
/home/****/NDS/PROYECTOS/DSProyect/arm9/source/main.cpp:96: error: 'VRAM_C_SUB_BG_0x6200000' was not declared in this scope


I have done a google search and ScuumVM had some issues with the same problem because the old version didn't support devkitpro r20

My question, what are the new names of VRAM registers?

Sorry if this has been asked before

#119523 - wintermute - Sat Feb 24, 2007 12:20 am

I renamed your thread title. devkitPro has no version numbers, and this was a libnds question in any case.

As stated in the release notes the VRAM defines had a leading zero added

VRAM_A_MAIN_BG_0x06000000

etc
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#119527 - Lupi - Sat Feb 24, 2007 12:38 am

Thanks wintermute, it works now :)
Sorry for the wrong thread title, I guess I just got confused :P

Where can I find the release notes on any release of devkitpro/libnds?
I have searched in the sourceforge site of both and I can't find anything.

Thanks in advance

#119531 - GPFerror - Sat Feb 24, 2007 12:56 am

Lupi wrote:
Thanks wintermute, it works now :)
Sorry for the wrong thread title, I guess I just got confused :P

Where can I find the release notes on any release of devkitpro/libnds?
I have searched in the sourceforge site of both and I can't find anything.

Thanks in advance


http://devkitpro.org