TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: SYLVAIN LAUZON
from: BRIAN MCCLOUD
date: 1997-03-03 05:24:00
subject: Unknown function

-> I found two unknown functions and potentialy dangerous maybe?
->
-> mov al,00h
-> mov ah,13h
-> int 2f
->
-> This clear up the DOS from the memory. And it should not! All it says
-> is "Swap 13h and 19h". It doesn't say much. This function is used to
-> check for a free "hole" i mean from AH=0 to AH=FF
My book on PC Interrupts (Ralf Brown & Jim Kyle) says int 2Fh function
13h is an undocumented call to DOS 3.2+ to change the disk interrupt
handler, with DS:DX pointing to the new handler for INT 13h, and ES:BX
pointing to the address to restore on system halt.  It also says that it
returns the previous values of those (from previous invocations, or
IO.SYS setting it)
->
-> Another mysterious one is the following.
->
-> mov al,00h
-> mov ah,55h
-> int 2f
->
-> This one returns 0000. I have no idea why. Segment in memory refers
-> to command.com
This one's an undocumented Dos 5+ call to get the command.com interface,
since most of it may have been moved to a HMA.  ax returning 0000 means
there is already an instance of COMMAND.COM running.
((Cloud))
B$SN$
--- PCBoard (R) v15.3/M 10
---------------
* Origin: Next time, Dial The Wrong Number! (209) 943-1880 (1:208/205)

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