1

Merge branch 'main' into feature-03-memory-management

This commit is contained in:
churl
2022-05-06 17:33:23 +02:00
8 changed files with 220 additions and 196 deletions

View File

@ -14,6 +14,8 @@ void keyboard_demo() {
/* Hier muess Code eingefuegt werden */
kout << "Keyboard Demo: " << endl;
while (true) {
kout << kb.key_hit();
kout.flush();

View File

@ -13,14 +13,12 @@
void text_demo() {
/* Hier muess Code eingefuegt werden */
kout << "Attribut (GREEN on WHITE, blinking): "
<< (unsigned short)kout.attribute(CGA::WHITE, CGA::GREEN, true) << endl
<< "Attribut (WHITE on BLACK, no blink): "
<< (unsigned short)kout.attribute(CGA::BLACK, CGA::WHITE, false) << endl
<< endl;
kout << "Attribut (GREEN on WHITE): "
<< bgc(CGA::WHITE) << fgc(CGA::GREEN) << "GREEN on WHITE" << endl
<< "Attribut (WHITE on BLACK): "
<< bgc(CGA::BLACK) << fgc(CGA::WHITE) << "WHITE on BLACK" << endl;
kout << "Test der Zahlenausgabefunktion:" << endl
<< endl
<< "| dec | hex | bin |" << endl
<< "+-------+-------+-------+" << endl;