1

fix printing of status updates when allocating

This commit is contained in:
churl
2022-05-08 19:44:24 +02:00
parent 3a3af203e3
commit 67baf91741
3 changed files with 7 additions and 9 deletions

View File

@ -149,6 +149,8 @@ void CGA::scrollup() {
/* Hier muess Code eingefuegt werden */
// TODO: I really want a scrollback buffer
// Move up
for (unsigned short byte = 2 * COLUMNS * 1; byte < 2 * COLUMNS * ROWS; ++byte) {
*((char*)(CGA_START + byte - 2 * COLUMNS * 1)) = *(CGA_START + byte);