Data in EWRAM

Post Reply
TheRealFluBBa
Posts: 1
Joined: Sat Jul 06, 2019 9:23 pm

Data in EWRAM

Post by TheRealFluBBa » Sat Jul 06, 2019 9:31 pm

Trying to port some asm stuff to the GBA again and I'm having problems with including data/code in EWRAM.
Is that supposed to work and in that case how do I do it?

Just doing
.section .ewram
.incbin "somedata.bin"
The rom file size shows that the data should be included but it's all zeroed.

Instead doing
.section .sbss
.incbin "somedata.bin"
The size of the rom file doesn't reflect the data
No warnings or errors.

WinterMute
Site Admin
Posts: 1403
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Data in EWRAM

Post by WinterMute » Wed Jul 17, 2019 1:21 am

I've checked this with our stock GBA template & it works fine.
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest