fixed really all bugs
This commit is contained in:
@@ -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; }
|
||||
|
||||
2
main.cc
2
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},
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user