Added kernel entry-point.
This commit is contained in:
parent
ce9c6becfd
commit
1f2819aeeb
@ -54,3 +54,8 @@ proc terminalWriteChar(writeChar: char) =
|
|||||||
proc terminalWrite(data: string) =
|
proc terminalWrite(data: string) =
|
||||||
for character in data:
|
for character in data:
|
||||||
terminalWriteChar(character)
|
terminalWriteChar(character)
|
||||||
|
|
||||||
|
proc kernelMain() {.exportc: "kernel_main"}=
|
||||||
|
terminalInitialize()
|
||||||
|
terminalWrite("Hello World")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user