This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" | |
| OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))" | |
| $OBJDUMP $OPTIONS baserom.gba > baserom.dump | |
| $OBJDUMP $OPTIONS pokeruby.gba > pokeruby.dump | |
| diff baserom.dump pokeruby.dump |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function KickWd(){ | |
| if(!BTN1.read())E.kickWatchdog(); | |
| } | |
| var wdint=setInterval(KickWd,5000); // 5 secs | |
| E.enableWatchdog(20, false); // 20 secs | |
| E.kickWatchdog(); | |
| /* | |
| // MIT License (c) 2020 fanoush https://github.com/fanoush | |
| // see full license text at https://choosealicense.com/licenses/mit/ | |
| var SPI2 = E.compiledC(` |
OlderNewer