fixed really all bugs
This commit is contained in:
@@ -8,7 +8,7 @@ extern Key kout_key;
|
|||||||
namespace Epilogues {
|
namespace Epilogues {
|
||||||
|
|
||||||
void keyboard(Vault& g) {
|
void keyboard(Vault& g) {
|
||||||
g.kout << kout_key.ascii() << endl << flush ;
|
g.kout << kout_key.ascii() << flush ;
|
||||||
}
|
}
|
||||||
|
|
||||||
void timer(Vault& g) { (void)g; }
|
void timer(Vault& g) { (void)g; }
|
||||||
|
|||||||
2
main.cc
2
main.cc
@@ -31,7 +31,7 @@ Ticketlock koutlock;
|
|||||||
//};
|
//};
|
||||||
|
|
||||||
TextStream dout[Core::MAX] = {
|
TextStream dout[Core::MAX] = {
|
||||||
{0, 40, 10, 20},
|
{0, 40, 10, 14},
|
||||||
{40, 80, 10, 14},
|
{40, 80, 10, 14},
|
||||||
{0, 40, 14, 18},
|
{0, 40, 14, 18},
|
||||||
{40, 80, 14, 18},
|
{40, 80, 14, 18},
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
#include "../../sync/ticketlock.h"
|
#include "../../sync/ticketlock.h"
|
||||||
#include "../../arch/core.h"
|
#include "../../arch/core.h"
|
||||||
#include "../../interrupt/guard.h"
|
#include "../../interrupt/guard.h"
|
||||||
|
#include "../../debug/output.h"
|
||||||
char text[] = "Ich mag\n\
|
char text[] = "Ich mag\n\
|
||||||
Saftige Pflaumen voller Aroma\n\
|
Saftige Pflaumen voller Aroma\n\
|
||||||
Ich knuddel jede Oma ins Koma\n\
|
Ich knuddel jede Oma ins Koma\n\
|
||||||
@@ -40,14 +40,14 @@ void Application::action() { // NOLINT
|
|||||||
Guarded g = Guard::enter();
|
Guarded g = Guard::enter();
|
||||||
//g.vault();
|
//g.vault();
|
||||||
while(text[cnt++] != '\n'){
|
while(text[cnt++] != '\n'){
|
||||||
g.vault().kout << cnt;
|
DBG << cnt;
|
||||||
}
|
}
|
||||||
//g.vault().kout << endl << flush;
|
//g.vault().kout << endl << flush;
|
||||||
//Guard::leave();
|
//Guard::leave();
|
||||||
//koutlock.unlock();
|
//koutlock.unlock();
|
||||||
}
|
}
|
||||||
Core::pause();
|
Core::pause();
|
||||||
activeWaitDelay(1000000000);
|
activeWaitDelay(100000000);
|
||||||
if(cnt >= sizeof(text)-1)
|
if(cnt >= sizeof(text)-1)
|
||||||
cnt=0;
|
cnt=0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user