TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: SYLVAIN LAUZON
from: TOM TORFS
date: 1997-04-07 14:07:00
subject: critical dos flag

Sylvain Lauzon wrote in a message to All:
 SL> I need some hint! Inside an interrupt handler i did the following. 
 SL> sti
 SL> mov ah,34h
 SL> int 21h
 SL> mov dl,es:[bx]
 SL> cmp dl,01h
 SL> je not_safe
 SL> ....
 SL> not_safe: ...
You need to request the address of the InDos flag once at the beginning of 
your program, since you can't call the int 21h/ah=34h from within the 
interrupt handler safely.
greetz,
Tom
tomtorfs@mail.dma.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.