September 03, 2010, 12:56:02 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new SCdev forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Homebrew not loading when binary over 3MB  (Read 631 times)
crs
Member
*

Props: 0
Offline Offline

Posts: 2


View Profile
« on: June 21, 2007, 03:15:37 AM »

Hi all,

Bit of a unique problem here, I've started adding level data to my game and suddenly the game is no longer booting up.

I'm using a supercard one (the 'About' screen shows: moonshell 1.41, SuperCard 2.00)

I have narrowed it down to the binary working when at 3,478,080 bytes  but anything more and it hangs moonshell.

The strange thing is that while my game doesn't work on the supercard one, with all the level data, it works fine on my supercard rumble (slot2 card) ?

Is moonshell taking up precious RAM which it wont release?

Any solution to this limitation? (apart from using a fat lib type thing).

Thanks.
Logged
arctic_flame
Member
*

Props: 1
Offline Offline

Posts: 4


View Profile
« Reply #1 on: June 24, 2007, 09:03:48 PM »

The DS has 4MB of RAM. Therefore the binary has to fit into this ram, not all of which is available. I would recommend loading the levels on the fly with libfat.
Logged
crs
Member
*

Props: 0
Offline Offline

Posts: 2


View Profile
« Reply #2 on: June 26, 2007, 08:47:40 AM »

Thought as much, weird that it worked fine from the SC rumble cart though.  Got it working fine with DLDI.

Thanks for your reply, wasn't sure anyone would answer for a sec there Smiley
Logged
dantheman
Global Moderator
*

Props: 41
Offline Offline

Posts: 1792


DanTheManMS@hotmail.com DanTheManMS
View Profile WWW
« Reply #3 on: June 26, 2007, 06:11:06 PM »

Complete guess ahead:
I'd imagine that your guess about Moonshell taking up the remaining space is probably correct.  Moonshell is a full-fledged homebrew program, while the slot-2 Supercard loaders are meant to be just loaders, so they take up less RAM.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC