summaryrefslogtreecommitdiff
path: root/Source/Kernel/VTManager
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/VTManager
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/VTManager')
-rw-r--r--Source/Kernel/VTManager/SimpleVT.class.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Kernel/VTManager/SimpleVT.class.cpp b/Source/Kernel/VTManager/SimpleVT.class.cpp
index d304a5f..4a16b54 100644
--- a/Source/Kernel/VTManager/SimpleVT.class.cpp
+++ b/Source/Kernel/VTManager/SimpleVT.class.cpp
@@ -78,7 +78,11 @@ void SimpleVT::scroll() {
BUFCHR(m_rows - 1, c).c = ' ';
BUFCHR(m_rows - 1, c).color = m_color;
}
- if (m_mapped) redraw();
+ if (m_mapped) {
+ if (!Disp::textScroll(m_maprow, m_mapcol, m_rows, m_cols, m_color)) {
+ redraw();
+ }
+ }
}
void SimpleVT::updateCursor() {