corrections

This commit is contained in:
churl
2022-04-17 16:56:48 +02:00
parent 786e8e27b6
commit 4d0fcb19e1
4 changed files with 5 additions and 2 deletions
+3
View File
@@ -31,6 +31,9 @@ public:
// Konstruktur mit Initialisierung der Ports
CGA () : index_port (0x3d4), data_port (0x3d5) {
CGA_START = (const char*)0xb8000;
// NOTE: Added this
this->setpos(0, 0);
}
// Konstanten fuer die moeglichen Farben im Attribut-Byte.
-1
View File
@@ -89,4 +89,3 @@ OutStream& dec (OutStream& os);
OutStream& hex (OutStream& os);
#endif
+1
View File
@@ -19,6 +19,7 @@ int main() {
/* Hier muess Code eingefuegt werden */
// Bildschirm loeschen.
kout.clear();
// Startmeldung ausgeben