ROM Hack How to Compile Files into a .nds file?

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
That source code is ancient. You need someone to update that codebase. And that could take days or months of work.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
for NDS specific development:

devkitarm before 2008:
Anything that uses IPC (pre 2008) is ancient code. IPC is a shared memory address where ARM7 and ARM9 can write/read to, problem is alignment and cache coherence with ARM9.


devkitarm after 2008:
Instead, IIRC devkitarm uses:

example: Say you want to send a u32 value from ARM9 to ARM7 using the FIFO_SYSTEM channel

//Send u32value
u32 u32value = 0x11110000;

//ARM7
fifoSetValue32Handler(FIFO_SYSTEM, powerValueHandler, 0);

//ARM9
fifoSendValue32(FIFO_SYSTEM, u32value); //now powerValueHandler method in ARM7 receives a u32value


That aside the video init/IRQ init is the biggest difference I see in there.
 
Last edited by Coto,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    cearp @ cearp: and Psi - I had a cd player / radio that played mp3 cds once, very cool