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
#include <math.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// Compile with "gcc -std=c17 -O2 -fstrict-aliasing -ffunction-sections -Wall -Wl,--gc-sections codecCoeffConvert.c -o codecCoeffConvert -lm" | |
int main(int argc, char *argv[]) |
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
... | |
int main(void) // send test | |
{ | |
irqInit(); | |
irqEnable(IRQ_VBLANK); | |
consoleDemoInit(); | |
REG_KEYCNT = 0; | |
iprintf("reg align 16 test value: %X\n", 0xCAFE); |
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
//#include "types.h" | |
#include <stdio.h> | |
#include <inttypes.h> | |
#include "pico/stdlib.h" | |
#include "hardware/gpio.h" | |
#include "hardware/spi.h" | |
#include "pico/bootrom.h" | |
#define LED_PIN (25u) |
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
#include "types.h" | |
#include "arm11/debug.h" | |
// Needs to be marked as used to work with LTO. | |
// The used attribute also overrides the newlib symbol. | |
// This is for debugging purposes only. For security this value needs to be random! | |
__attribute__((used)) uintptr_t __stack_chk_guard = 0x2D9B1A0E; | |
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
"BRXJB2" 2899 - Vattroller X - Taikenban (Japan) (Demo) (Kiosk, GameCube) | |
"BMVE01" 2898 - Mario Pinball Land (USA) (Kiosk, GameCube) | |
"!none" 2900 - Commandos 2 (Japan) (Proto) | |
"!none" x325 - Metal Slug - Super Vehicle-001 (Japan) (En) (Proto) | |
"MRDK01" x114 - Mario vs. Donkey Kong (USA) (Demo) (Kiosk, GameCube) | |
"AZWJ01" 2901 - Made in Wario (Japan) (Demo) (Kiosk, GameCube) | |
"!none" x326 - Metal Slug Advance (Japan) (Beta) | |
1, 2 and 5, 6 have their maker code mistakenly included in the game code ("serial"). |
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
text:FFFFB088 @ FirmBlacklist firmSectionBlacklist[8] | |
text:FFFFB088 firmSectionBlacklist:FirmBlacklist <0x7FFB800, 0x7FFFC00> | |
text:FFFFB088 @ DATA XREF: verifyFirmSections+A↑o | |
text:FFFFB088 @ text:off_FFFFA4A0↑o ... | |
text:FFFFB088 FirmBlacklist <0xFFF00000, 0xFFF03000> | |
text:FFFFB088 FirmBlacklist <0xFFF03000, 0xFFF04000> | |
text:FFFFB088 FirmBlacklist <0x80F8000, 0x8100000> | |
text:FFFFB088 FirmBlacklist <0x8000000, 0x8000040> | |
text:FFFFB088 FirmBlacklist <0x20000000, 0x28000000> | |
text:FFFFB088 FirmBlacklist <0xFFF00000, 0x20000000> |
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
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// Compile with "gcc -std=c17 -O2 -fstrict-aliasing -ffunction-sections -Wall -Wl,--gc-sections gbaEepromSaveFix.c -o gbaEepromSaveFix" | |
int main(int argc, char *argv[]) | |
{ | |
int res = 0; |
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
#include <math.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <3ds.h> | |
#include <citro3d.h> | |
#include <string.h> | |
#include "vshader_shbin.h" | |
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
static u32 counter = 1; | |
stopProfiling(); | |
GFX_deinit(false); | |
TIMER_sleepMs(1000); | |
*((vu32*)0x10140140) = 0; // REG_CFG11_GPUPROT | |
*((vu32*)0x10141200) = 0x1007F; // REG_CFG11_GPU_CNT | |
IRQ_registerHandler(IRQ_PPF, 14, 0, true, NULL); | |
__cpsid(i); | |
static void *const dsts[4] = {(void*)VRAM_BASE, (void*)0x1F000000, (void*)DSP_MEM_BASE, (void*)FCRAM_BASE}; |
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
#include "asmfunc.h" | |
.arm | |
.cpu mpcore | |
.fpu vfpv2 | |
@ u32 vblankTest(void) | |
ASM_FUNC vblankTest |