title: Assembly set font background color in DOS Graphics Mode
body: <p>I tried to print colored background text in DOSBOX and the background always stays black .
  Can anyone help me please?</p>
  
  <pre><code>model small
  stack 256H
  .data
  .code
  
  main :
  
  MOV AX,13H
  int 10h
  
  MOV AH,09           ; FUNCTION 9
  MOV AL,03           ; HEART ASCII
  MOV BL,014H         ; PAGE 0, COLOR 14H
  MOV CX,07D0H        ; 2000 CARACTERS
  INT 10H             ; INTERRUPT 10 -&gt; BIOS
  
  end main
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/UyLEL.png" rel="nofollow noreferrer">enter image description here</a></p>