SummerCart64/fw/btldr/btldr.c
Polprzewodnikowy e61d06275d whatever
2021-08-05 19:50:29 +02:00

18 lines
295 B
C

#define LED *((volatile unsigned int *) 0x80000000)
volatile int counter = 0;
int main (void) {
while (1) {
if (counter++ == 0x000FFFFF) {
LED ^= 1;
counter = 0;
}
}
}
void irq_handler(void) {
LED = 1;
while (1);
}