title: TASM 1.4 - Changing background color without clearing the screen?
body: <p>I'm using Tasm 1.4.
  I'm trying to change the color of the background and text without clearing the previous text, but it always ends up on clearing the previous text although the colors are changed.</p>
  
  <p>For example:</p>
  
  <pre><code>mov ah,09h
  lea dx,text1
  int 21h             ;displays text1
  mov ah,01h
  int 21h             ;I input a character
  mov ah,06h
  mov bh,42h
  mov cx,0000h
  mov dx,184fh
  int 10h             ;I use this to change the text and background color
  mov ah,02h
  mov bh,00h
  mov dh,0ch
  mov dl,20h
  int 10h             ;along with this
  mov ah,09h
  lea dx,text2
  int 21h             ;displays text2
  mov ah,02h
  mov dl,al
  int 21h             ;displays the inputted character
  </code></pre>
  
  <p>Now what happens there is...</p>
  
  <ul>
  <li>it displays text1</li>
  <li>it asks for an input</li>
  <li>I enter an input</li>
  <li>it will display text2 followed by the inputted character, with the background color changed to red and the text color changed to green. But, text1 was cleared from the screen.</li>
  </ul>
  
  <p>I should also say that text1 and text2 can definitely fit in the same screen.</p>
  
  <p>So how do I get the same output but with text1 not being cleared from the screen?</p>