From 0a150eb84be6c0ef8888a214ad684f0c21b491d5 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 3 Jun 2025 13:25:30 +0200 Subject: [PATCH] fixed really all bugs --- interrupt/epilogues.cc | 2 +- main.cc | 2 +- user/app1/appl.cc | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/interrupt/epilogues.cc b/interrupt/epilogues.cc index fc035ee..a993ed6 100644 --- a/interrupt/epilogues.cc +++ b/interrupt/epilogues.cc @@ -8,7 +8,7 @@ extern Key kout_key; namespace Epilogues { void keyboard(Vault& g) { - g.kout << kout_key.ascii() << endl << flush ; + g.kout << kout_key.ascii() << flush ; } void timer(Vault& g) { (void)g; } diff --git a/main.cc b/main.cc index 54c49b0..6ed456a 100644 --- a/main.cc +++ b/main.cc @@ -31,7 +31,7 @@ Ticketlock koutlock; //}; TextStream dout[Core::MAX] = { - {0, 40, 10, 20}, + {0, 40, 10, 14}, {40, 80, 10, 14}, {0, 40, 14, 18}, {40, 80, 14, 18}, diff --git a/user/app1/appl.cc b/user/app1/appl.cc index 8c6a37b..97dfe82 100644 --- a/user/app1/appl.cc +++ b/user/app1/appl.cc @@ -7,7 +7,7 @@ #include "../../sync/ticketlock.h" #include "../../arch/core.h" #include "../../interrupt/guard.h" - +#include "../../debug/output.h" char text[] = "Ich mag\n\ Saftige Pflaumen voller Aroma\n\ Ich knuddel jede Oma ins Koma\n\ @@ -40,14 +40,14 @@ void Application::action() { // NOLINT Guarded g = Guard::enter(); //g.vault(); while(text[cnt++] != '\n'){ - g.vault().kout << cnt; + DBG << cnt; } //g.vault().kout << endl << flush; //Guard::leave(); //koutlock.unlock(); } Core::pause(); - activeWaitDelay(1000000000); + activeWaitDelay(100000000); if(cnt >= sizeof(text)-1) cnt=0;