From 2f712d027b38bebd571e4fa673f0d642b59e3c98 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 21 Apr 2021 13:18:01 +0200 Subject: Refactoring --- src/boucane.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/boucane.cc') diff --git a/src/boucane.cc b/src/boucane.cc index 74dad9d..94f266f 100644 --- a/src/boucane.cc +++ b/src/boucane.cc @@ -1,11 +1,19 @@ #include "boucane.hpp" +#include "libs/string.hpp" extern "C" void boucane(){ clear(); char a[]="Loic Guegan"; printk("Booting Boucane v%d.%d.%d",VERSION_MAJOR,VERSION_MINOR, VERSION_PATH); + char b[10]; + substr(8, 9, a, b); + print("\n"); + printk(b); + int gg=0; + gg+=((1>2) ? 1 : 0)+9; + printi(gg); while(1); } \ No newline at end of file -- cgit v1.2.3