Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Newby / modd 3 question   Message List  
Reply | Forward Message #10721 of 15019 |
Re: [gbadev] Newby / modd 3 question

>I had this same problem i dont know what it is ether!! is it Bimbo?

As you may or may not have seen, we resolved this problem. The compiler
(correctly) assumes that the array or 'unsigned short int's that Bimbo
produces is destined for RAM. So when the ROM starts up, it take the image
in ROM and copies it to RAM, which isn't large enough to store the image
(which takes up 240*160*2 bytes, or 76,800). The way to work around this is
open up the .C file that Bimbo produces and change 'unsigned short int' to
'const unsigned short int'. Since you specify 'const', the compiler knows
that you don't intend on changing array in code, so it knows to keep it in
ROM instead of copying it to RAM. Problem solved.




Stupid like a fox!
Look ma, I'm an artist: http://aaronstj.deviantart.com


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





Mon Apr 1, 2002 5:16 pm

aaronstj
Offline Offline
Send Email Send Email

Forward
Message #10721 of 15019 |
Expand Messages Author Sort by Date

Hi guys. Just got into GBADev (you may remember me from the GBCDev scene), and I'm running into a problem with simple mode 3 stuff. I'm trying to have a...
Aaron St.John
aaronstj@...
Send Email
Apr 1, 2002
12:44 am

Hi ... scene), ... have ... as ... Yeah, I think what it's doing is trying to store the picture in Ram, which is too small to hold it all. what you should do...
Andrew Crowe
andrew_crowe
Offline Send Email
Apr 1, 2002
1:11 am

... Oh, duh, I should have known that. Works fine, now =) Stupid like a fox! Look ma, I'm an artist: http://aaronstj.deviantart.com ...
Aaron St.John
aaronstj@...
Send Email
Apr 1, 2002
4:06 am

I had this same problem i dont know what it is ether!! is it Bimbo?...
vc6proger@...
vc6proger
Offline Send Email
Apr 1, 2002
1:07 pm

... As you may or may not have seen, we resolved this problem. The compiler (correctly) assumes that the array or 'unsigned short int's that Bimbo produces is...
Aaron St.John
aaronstj
Offline Send Email
Apr 1, 2002
7:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help