int 20h and int 21h are used to call DOS routines. They can be called either in virtual mode supported by 32-bit Windows, or in real mode, i.e. when you run DOS as your actual OS and never enter protected (32-bit) mode. Please note that 64-bit processors have lost support for virtual mode, so you cannot use this with a 64-bit chip at all.
For a list of them , Ralf Brown's Interrupt List , which is a truly comprehensive guide to this legacy interface.
On Linux and possibly other * nixes there is a syscall interface on int 80h . However, all of them can also be called using C calling conventions, which are better documented. Check the Linux source tree for matching the names number β and run the man syscall_name to document the equivalent function page of function C. I believe that the arguments are ordered the same way for both conventions. (I checked this for several system calls.)
The int 80h calling convention (for * nix) is described here: int80h.org
source share