home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / sysslow.zip / REMOVE.ASM < prev    next >
Assembly Source File  |  1987-02-11  |  933b  |  48 lines

  1.  
  2.  
  3.  
  4. cseg    segment  para public 'CODE'
  5.  
  6.         org 100H
  7.         assume cs:cseg,ds:cseg,es:cseg,ss:cseg
  8.  
  9. rem     proc  near
  10.         xor   ax,ax
  11.         mov   es,ax
  12.         mov   ax,es:[20h]
  13.         cmp   ax,105h
  14.         jne   err
  15.         mov   ax,es:[22h]
  16.         mov   ds,ax
  17.         mov   ax,ds:[122h]
  18.         cli
  19.         mov   es:[20h],ax
  20.         mov   ax,ds:[124h]
  21.         mov   es:[22h],ax
  22.         mov   al,0b6h
  23.         out   43h,al
  24.         mov   al,0h
  25.         out   40h,al
  26.         out   40h,al
  27.         sti
  28.         push  cs
  29.         pop   ds
  30.         mov   dx,offset regmess
  31.         mov   ah,9
  32.         int   21h
  33.         int   20h
  34.  
  35. err:
  36.         mov   dx,offset errmess
  37.         mov   ah,9
  38.         int   21h
  39.         int   20h
  40. rem     endp
  41.  
  42. regmess   db    "Sytem slower removed.",0ah,0dh,"$"
  43. errmess   db    "System slower not installed.",0ah,0dh,"$"
  44.  
  45.  
  46. cseg    ends
  47.         end     rem
  48.