réplica de
https://github.com/Arnau478/quark.git
synced 2024-05-17 03:46:29 +02:00
8 líneas
295 B
C
8 líneas
295 B
C
#include <stdint.h>
|
|
#include "arch/i686/io.h"
|
|
|
|
void __attribute__((cdecl)) kmain(uint64_t magic, uint64_t addr){
|
|
char *mem = (char *)0xB8000; // Screen memory address (when on text mode)
|
|
for(int i = 0; 1; i++) mem[i] = 88; // Fill screen with Blue 'X' characters over pink background
|
|
}
|