From 347a5cbff318edb10885cecb54faf04940a7166a Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Sat, 28 Apr 2018 01:04:09 +0100 Subject: [PATCH] Changed kernel load debug print. --- kernel/kernel.nim | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/kernel/kernel.nim b/kernel/kernel.nim index ea28069..dec4687 100644 --- a/kernel/kernel.nim +++ b/kernel/kernel.nim @@ -30,10 +30,7 @@ proc kernelMain() {.exportc: "kernel_main"}= terminalWrite("MAX_INT:") terminalWrite(high(int)) terminalWrite("\LMIN_INT:") - terminalWrite(low(int32)+1) - for i in 0..22: - terminalWrite(i) - terminalWrite('\L') - asm """ - int $0x3 - """ + terminalWrite(low(int)+1) + terminalWrite("\LMAX_UINT:") + terminalWrite(high(uint32)) + terminalWrite("\L") \ No newline at end of file