diff --git a/kernel.nim b/kernel.nim index 0fbd2a5..6cd99ee 100644 --- a/kernel.nim +++ b/kernel.nim @@ -50,3 +50,7 @@ proc terminalWriteChar(writeChar: char) = inc(terminalRow) if(terminalColumn == vgaWidth): terminalColumn = 0 if(terminalRow == vgaHeight): terminalRow = 0 + +proc terminalWrite(data: string) = + for character in data: + terminalWriteChar(character)