TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: BRIAN MCLAUGHLIN
date: 1996-03-17 02:42:00
subject: DEMO of ISR code in P 2/2

>>> Continued from previous message
ExitLoop1:
ASM  Pop SI          ; clean up time
ASM  Pop CX
ASM  Pop BX
ASM  Pop AX
RETURN               ' end of GOSUB to BiosPrint, jump back to ISR
END SUB
'====================================
 SUB RestoreInt21InterruptVector ()
'====================================
ASM  Push DS
ASM  Mov DX, Old21Offset    ; point DS:DX at old handler
ASM  Mov AX, Old21Segment   ; using global variables set earlier
ASM  Mov DS, AX
ASM  Mov AX, &H2521         ; restore old vector for DOS interrupt
ASM  Int &H21
ASM  Pop DS
END SUB
 * SLMR 2.1a * MAXLIB For PB v1.2 - Access arrays and files in EMS/XMS!
--- WILDMAIL!/WC v4.12 
---------------
* Origin: Com-Dat BBS - Hillsboro, OR. HST DS (1:105/314.0)

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