home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / screen / hercules / scr_off2.asm < prev    next >
Assembly Source File  |  1991-09-18  |  552b  |  29 lines

  1. ;Programm löscht den Bildschirm und schaltet ihn dann wieder ein
  2. ;uebersetzen mit TASM 2.0
  3. ;letzte Änderung am 11.09.91 B. Rosenau
  4.  
  5. .286  ;286-er Befehle einschalten
  6.  
  7.    DOSSEG
  8.    .MODEL SMALL
  9.    .STACK 100h
  10.    .DATA
  11.  
  12.    .CODE
  13.  
  14.    mov  ax,@data
  15.    mov  ds,ax      ;set DS to point to the data segment
  16.  
  17.    push ax         ; Bildschirm ausschalten
  18.    push dx
  19.  
  20.    mov  dx,3B8h
  21.    mov al,0h
  22.    out  dx,al
  23.    pop  ax
  24.    pop  dx
  25.  
  26.    mov  ah,4ch     ;DOS terminate program function
  27.    int  21h        ;terminate the program
  28.    END
  29.