TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: SYLVAIN LAUZON
from: JAMES VAHN
date: 1997-04-04 20:42:00
subject: critical dos flag

 >         mov old_lite,al         ; Set flag.
 > ;        mov ax,1000h            ; Turn video on.
 > ;        mov bx,0F12h
 > ;        int 10h
 > ;        jmp exit
 SL>  I understand the code before. But why you commented out
 SL> these instructions.  I really want to make of use of int in
 SL> the handler. i guess you got problem  too :-)
Yes, a problem; I run an old Hercules monochrome. ;-)  The commented 
code is for VGA/EGA. Uncomment the commented, and comment the uncomented 
block of code following it. There are four blocks of video code total, 
look a bit more carefully at it and it should become clear. My appologies 
for the confusion.
Another way to use interrupts is to hook int 28h;  when DOS isn't tooo 
busy, it calls int 28. Basically you'll have an int28 ISR setting a flag
within the code/data space of your main ISR.
--- timEd 1.01
---------------
* Origin: James Vahn (jvahn@short.circuit.com) (1:346/15.1)

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™.