In order to fit other ROMs alongside the stock firmware data, a few sacrifices have to be made, namely:
- Remove all sleeping images.
- Remove all languages of Link's Awakening.
With these consessions, 2 of the following 3 will fit at the same time:
- Oracle of Ages
- Oracle of Seasons
- Link's Awakening (DX or non-DX)
With further development, more ROMs will be able to fit in the stock flash, but this is what we have for now.
Run the following in this repo:
make clean
make PATCH_PARAMS="--device=zelda --no-la --no-sleep-images" flash
make clean
make -j8 INTFLASH_BANK=2 EXTFLASH_SIZE=1794336 EXTFLASH_OFFSET=860160 ADAPTER=stlink GNW_TARGET=zelda flash
If you want to run additional homebrew, such as Zelda3 (LttP), in Bank 2, it's possible to have both retro-go and the stock firmware in Bank 1.
Run the following in this repo:
make clean
make PATCH_PARAMS="--device=zelda --no-la --no-sleep-images --triple-boot" flash
This will setup storage in the following way:
- INTFLASH BANK 1 - First 128KB - Stock Firmware
- INTFLASH Bank 1 - Second 128KB - Free (put Retro-Go intflash here)
- INTFLASH BANK 2 - Full 256KB - Free (put Zelda3 intflash here)
- EXTFLASH OFFSET 3301376; 794624 Free (put retro-go extflash here)
- EXTFLASH OFFSET 860160; 1794336 Free (put Zelda3 extflash here)
Run the following in the sylverb/game-and-watch-retro-go repo:
make clean
make -j8 INTFLASH_ADDRESS=0x08020000 EXTFLASH_SIZE=794624 EXTFLASH_OFFSET=3301376 GNW_TARGET=zelda BIG_BANK=0 flash
In the Zelda3 repo, after copying zelda3.sfc
to zelda3/tables/zelda3.sfc
, run the following commands:
make -j8 INTFLASH_BANK=2 EXTFLASH_SIZE=1703936 EXTFLASH_OFFSET=868352 ADAPTER=stlink GNW_TARGET=zelda flash