PROGRAM: DOSDEBUG.ASM
AUTHOR: Denis Boyles
RELEASE: Public Domain (pd) Jan 13, 1997
VERSION: 1.00
COMPILE: Arrowsoft Assembler (MASM v3.0)
LINK AS: .COM program
OS: MS-DOS (v6.20)
PURPOSE: a quick and dirty example of hooking into the DOS interrupt (21h)
NOTES: displays AH function register's value in hex on the screen
** COLOR VIDEO RAM ONLY - USE WITHIN DOS AND TEXT APPS **
Remember about this program? Well it doesn't look easy to understand but
it work without hang the computer. By writing directly to video, it overides
all special cares about dos flags. But i need to use easy cmd like int21/09
Glen told me about saving SS. Done! But halfway only. I need to get SP? from
my own handler and not the SP from the caller routine. i am not very sure yet
what procedure i need to write. If anyone can help i will appreciate.
thnks!
---
---------------
* Origin: Silicon Palace {514}432-2953 Lafontaine, Qu‚bec (1:242/100)
|