Make Gamebuino Classic games with more RAM

Academy

STUDIOCRAFTapps

1 month ago

INTRODUCTION

You don't have received your Gamebuino Meta yet? Try to simply make a game for the Gamebuino Classic and port it later. I tried to do that but I ended up needing more memory. To allow me to continue the development of my game, I needed to have more flash memory and RAM. Since I don't know how to modify the hardware of my Gamebuino Classic, I ended up modifying the Simbuino4Web emulator itself. The emulator was now emulating 32kb of ram and 256kb of flash The problem was the compilation on the IDE, It wasn't allowing me to compile my game because the project took more RAM than the 2kb limit. By editing the board file in the App Data, I was now able to compile game up to 32kb of RAM and 256kb, the memory limit of the Gamebuino Meta.


STEPS

*Make sure your Arduino IDE is updated with the latest update

Arduino IDE:

1. In the toolbar, go to "Tools/Board Type/Board Manager (The first option)" In the "Arduino AVR Board" section, choose the 1.6.19 update and click "Install" (Or Update if Install isn't available). Wait for the installation to be done.

2. Close the software.

3. Go to the Arduino15 folder, this folder can be found at a different place, it depends on your OS. 

On a Mac; Open Finder, Click on "Go/Go to a Folder" and enter this: "~/Library/". The folder should be somewhere at the top of the page.

On Windows; Search for "\Arduino15\"

On Linux; Search for "~/.arduino15"

Once you're done, open the folder and go to "packages/arduino/hardware/avr/1.6.19". Open the board file, go to the bottom and copy/paste those lines:

##############################################################


unoplus.name=Arduino/Genuino Uno 32kb SRAM


unoplus.vid.0=0x2341
unoplus.pid.0=0x0043
unoplus.vid.1=0x2341
unoplus.pid.1=0x0001
unoplus.vid.2=0x2A03
unoplus.pid.2=0x0043
unoplus.vid.3=0x2341
unoplus.pid.3=0x0243


unoplus.upload.tool=avrdude
unoplus.upload.protocol=arduino
unoplus.upload.maximum_size=262144
unoplus.upload.maximum_data_size=32768
unoplus.upload.speed=115200


unoplus.bootloader.tool=avrdude
unoplus.bootloader.low_fuses=0xFF
unoplus.bootloader.high_fuses=0xDE
unoplus.bootloader.extended_fuses=0xFD
unoplus.bootloader.unlock_bits=0x3F
unoplus.bootloader.lock_bits=0x0F
unoplus.bootloader.file=optiboot/optiboot_atmega328.hex


unoplus.build.mcu=atmega328p
unoplus.build.f_cpu=16000000L
unoplus.build.board=AVR_UNO
unoplus.build.core=arduino
unoplus.build.variant=standard

Now you can save, exit the folder and go restart the Arduino IDE.

5. A new Board should appear in "Tools/Board Type" called "Arduino/Genuino Uno 32kb SRAM", select it

The Arduino IDE software is now ready! What you need to do next is follow these steps:

Emulator:

1. Download the file.

EDIT: The file upload function dosen't work anymore, I hosted the file in this strange website here.

2. Open the zip file

3. Open the html file

4. Enjoy!


View full creation

DFX2KX

NEW 1 month ago

Hmmm, I'm tempted to do this to prepare for the Missile command clone I never quite finished. Since it was RAM I kept running out of. (limiting the number of missiles on screen, basically)

You must be logged in in order to post a message on the forum

Log in