réplica de
https://github.com/Arnau478/quark.git
synced 2024-05-19 20:36:31 +02:00
14 líneas
312 B
C
14 líneas
312 B
C
#include <stdint.h>
|
|
#include "stdio.h"
|
|
#include "hal/hal.h"
|
|
|
|
void __attribute__((cdecl)) kmain(uint64_t magic, uint64_t addr){
|
|
hal_initialize();
|
|
|
|
puts("\x1b[33mWARNING\x1b[0m");
|
|
printf(": amazing %s ahead!\n", "math");
|
|
printf("%i+%i=%i\n", 1, 1, 2);
|
|
printf("0/0=%i", 0/0);
|
|
for(;;);
|
|
}
|