A gamebuino "emulator" ?

Libraries, utilities, bootloaders...

Re: A gamebuino "emulator" ?

Postby mougino » Wed Aug 12, 2015 11:28 am

Thanks for the quick response Deneth, I'll try that and keep you updated.

Nicolas
User avatar
mougino
 
Posts: 75
Joined: Sat Jul 25, 2015 8:15 am
Location: Paris, France

Re: A gamebuino "emulator" ?

Postby mougino » Wed Aug 12, 2015 8:53 pm

Well, in the end I went another direction.
I was starting to get high sram alerts after compilation so I moved stuff to PROGMEM but then I climbed to almost 30k quite spectacularly... So I chose to stick with the debug/!debug use cases but with a differential compilation instead of differential C code (i.e. using preprocessor #ifdef debug rather than if(debug)...) I was able to save 6k of flash memory this way!
So I'll keep using two different binaries and switch between the two by commenting or not the first line of my main ino: #define debug.

Nicolas
User avatar
mougino
 
Posts: 75
Joined: Sat Jul 25, 2015 8:15 am
Location: Paris, France

Previous

Return to Software Development

Who is online

Users browsing this forum: No registered users and 15 guests

cron