home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
pcmag
/
v9n07.lzh
/
NOPAUSE.SCR
< prev
next >
Wrap
Text File
|
1990-02-23
|
650b
|
33 lines
N NOPAUSE.COM
A 100
JMP 0121
DB 0,0,0,0
DB 40,0
PUSH DS
CS:
MOV DS,[0107] ;Point DS to BIOS data area
TEST BYTE PTR [0018],08 ;Pause bit set?
JZ 011B ;No, then exit
AND BYTE PTR [0018],F7 ;Yes, then reset it
POP DS ;Restore DS and exit
CS:
JMP FAR [0103]
MOV AX,3508 ;Get current int 08H vector
INT 21
MOV [0103],BX ;Save it
MOV [0105],ES
MOV AX,2508 ;Hook into interrupt 08H
MOV DX,0109
INT 21
MOV DX,0121 ;Terminate but remain resident
INT 27
R CX
3B
W
Q