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 > Console Print from ARM7

#48933 - chishm - Sun Jul 24, 2005 9:23 am

Hi all,
What is the best way to use the Console functions from the ARM7? I want to be able to display a text string. I have tried following Dovoto's example of ARM9 to ARM7 commands in reverse, but it doesn't work. Is there any way to use Console functions directly from the ARM7? Any help is appreciated.
Thanks in Advance,
Chishm

#48951 - gladius - Sun Jul 24, 2005 5:42 pm

Easiest method is probably copying a string over into uncached main ram (in devkitarm r13 and up 0x2400000-0x2800000), then sending a fifo notification over. Also, be sure to check the FIFO recieve register, IPC_FIFO_CR in ipc.h is correct, it should be (*(vu32*)0x4100000).

The caching thing is probably what is catching you if arm9->arm7 stuff works fine, as the arm7 has no data cache to worry about.