What is INT 21h?

前端 未结 9 1761
[愿得一人]
[愿得一人] 2020-12-09 22:51

Inspired by this question

How can I force GDB to disassemble?

I wondered about the INT 21h as a concept. Now, I have some very rusty knowledge of the interna

9条回答
  •  青春惊慌失措
    2020-12-09 23:48

    (Almost) the whole DOS interface was made available as INT21h commands, with parameters in the various registers. It's a little trick, using a built-in-hardware table to jump to the right code. Also INT 33h was for the mouse.

提交回复
热议问题