Page 1 of 1

Mega Everdrive SDRAM access

Posted: Fri Oct 11, 2013 2:16 am
by Zontar
According to the specifications page for the Mega Everdrive, there is 128Mbits of SDRAM on the cart. Is this SDRAM accessible by programs? Does SGDK provide any functions to malloc on the Everdrive RAM?

Posted: Fri Oct 11, 2013 8:10 am
by Stef
I replied the same in the other topic as well :

Not sure that is what you are looking for but there is everdrive support in SGDK which allow you to program the everdrive flash cart :
https://code.google.com/p/sgdk/source/b ... verdrive.c

But as the mega everdrive is totally different i guess it does work in a complete different way.

Posted: Fri Oct 11, 2013 7:43 pm
by Zontar
Stef wrote:I replied the same in the other topic as well :

Not sure that is what you are looking for but there is everdrive support in SGDK which allow you to program the everdrive flash cart :
https://code.google.com/p/sgdk/source/b ... verdrive.c

But as the mega everdrive is totally different i guess it does work in a complete different way.
I asked KRIKzz on his forum and the SDRAM is indeed usable; you write to it like ROM. He linked me this document which provides the specifics of it: very helpful for me to write custom methods. Mega Everdrive provides up to 32MB (!) of usable memory on some newer models...most will probably be 16MB. Uses the SSF2 mapper.

http://krikzz.com/pub/support/mega-ed/d ... ed_ssf.txt