1

simplify cga memory manipulation

This commit is contained in:
churl
2022-05-09 14:02:44 +02:00
parent 27d8f13b5e
commit 5b16da23ed
3 changed files with 46 additions and 20 deletions

View File

@ -14,17 +14,39 @@
#include "kernel/Globals.h"
#include "user/HeapDemo.h"
// TODO: Where to put this?
void scroll_mode() {
Key key;
// while (true) {
// key = kb.key_hit();
// switch (key.ascii()) {
// case 'k':
// kout.pageup();
// case 'j':
// kout.pagedown();
// }
// }
}
int main() {
kout.clear();
// Speicherverwaltung initialisieren
allocator.init();
// Initialize scrollback buffer
// kout.init();
allocator.dump_free_memory();
// text_demo();
// sound_demo();
// keyboard_demo();
heap_demo();
// scroll_mode();
while (1) {};
return 0;
}