summaryrefslogtreecommitdiff
path: root/Source/Kernel/DeviceManager
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-11 17:32:01 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-11 17:32:01 +0100
commit7c5f4adcc8725efa0f0476e33732873a4167f54d (patch)
tree11034d19d05408aa493fc737a7730a7c33e62617 /Source/Kernel/DeviceManager
parent8a3323d48aef03a749db36bf58bbd3bca5c4eff2 (diff)
downloadMelon-7c5f4adcc8725efa0f0476e33732873a4167f54d.tar.gz
Melon-7c5f4adcc8725efa0f0476e33732873a4167f54d.zip
Modified the way of calling V86 procedures, and calling BIOS ints
Diffstat (limited to 'Source/Kernel/DeviceManager')
-rw-r--r--Source/Kernel/DeviceManager/Disp.ns.cpp4
-rw-r--r--Source/Kernel/DeviceManager/Disp.ns.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/Source/Kernel/DeviceManager/Disp.ns.cpp b/Source/Kernel/DeviceManager/Disp.ns.cpp
index 246e959..2f1ebcd 100644
--- a/Source/Kernel/DeviceManager/Disp.ns.cpp
+++ b/Source/Kernel/DeviceManager/Disp.ns.cpp
@@ -24,6 +24,10 @@ void moveCursor(u16int line, u16int col) {
mode.device->moveCursor(line, col);
}
+bool textScroll(u16int line, u16int col, u16int height, u16int width, u8int color) {
+ return mode.device->textScroll(line, col, height, width, color);
+}
+
void clear() {
mode.device->clear();
}
diff --git a/Source/Kernel/DeviceManager/Disp.ns.h b/Source/Kernel/DeviceManager/Disp.ns.h
index 0d56cf0..2a10358 100644
--- a/Source/Kernel/DeviceManager/Disp.ns.h
+++ b/Source/Kernel/DeviceManager/Disp.ns.h
@@ -20,6 +20,7 @@ namespace Disp {
u16int textRows();
void putChar(u16int line, u16int col, WChar c, u8int color);
void moveCursor(u16int line, u16int col);
+ bool textScroll(u16int line, u16int col, u16int height, u16int width, u8int color);
void clear();
void getModes();