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 > Screens flipped

#69759 - genfish - Wed Feb 01, 2006 6:22 pm

Hey all, im new to this scene, and im doing a project on DS development at the moment for uni. I managed to do the hello world and get it running, however, when i use an emulator, the text is on the correct screen, but when i transfer it to my flash cart, using the neoflash kit, the text that should be on the main screen is on the touchscreen. Anyone know why?


thanks in advance :)

chris

#69773 - SeanMon - Wed Feb 01, 2006 7:52 pm

call lcdSwap(); in the beginning of main()
_________________
null

#69782 - pepsiman - Wed Feb 01, 2006 9:14 pm

SeanMon wrote:
call lcdSwap(); in the beginning of main()

It would be better to call lcdMainOnTop() or lcdMainOnBottom().

Or just use POWER_SWAP_LCDS when you powerON() the 2D core (required for M3/G6).

#69868 - genfish - Thu Feb 02, 2006 4:47 pm

cool, thanks guys