home *** CD-ROM | disk | FTP | other *** search
- ;Programm löscht den Bildschirm und schaltet ihn dann wieder ein
- ;uebersetzen mit TASM 2.0
- ;letzte Änderung am 11.09.91 B. Rosenau
-
- .286 ;286-er Befehle einschalten
-
- DOSSEG
- .MODEL SMALL
- .STACK 100h
- .DATA
-
- .CODE
-
- mov ax,@data
- mov ds,ax ;set DS to point to the data segment
-
- pusha ;erst Bildschirm löschen
- mov ah,0
- mov al,2
- int 10h
- popa
-
- push ax ;dann Bildschirm wieder anschalten
- push dx
- mov dx,3B8h
- mov al,8h
- out dx,al
- pop dx
- pop ax
-
-
- mov ah,4ch ;DOS terminate program function
- int 21h ;terminate the program
- END
-