alcedo/kernel/kernel.nim

8 lines
164 B
Nim

import tty
proc kernelMain() {.exportc: "kernel_main"}=
terminalInitialize()
terminalWrite("Hello World!\LNim here!\L")
for i in 0..10:
terminalWrite(i)