sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
probe.c
1#include <irx.h>
2#include <stdio.h>
3
4IRX_ID("probe", 1, 1);
5
6stdio_IMPORTS_start
7I_printf
8stdio_IMPORTS_end
9
10static volatile struct { int a, b, c, d; } g = {1, 2, 3, 4};
11
12int _start(int argc, char *argv[])
13{
14 (void)argc;
15 (void)argv;
16 g.a = g.b + 1;
17 g.c = g.d + 1;
18 g.b = g.a + g.c;
19 printf("probe: loaded\n");
20 return 100 + g.b + g.c;
21}