什么是 INT 21 小时? [英] What is INT 21h?

查看:20
本文介绍了什么是 INT 21 小时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

受这个问题的启发

如何强制 GDB 反汇编?

我想知道 INT 21h 作为一个概念.现在,我对内部结构有了一些非常生疏的知识,但没有那么多细节.我记得在 C64 中有常规中断和不可屏蔽中断,但我的知识到此为止.你能给我一些线索吗?是 DOS 相关的策略吗?

I wondered about the INT 21h as a concept. Now, I have some very rusty knowledge of the internals, but not so many details. I remember that in C64 you had regular Interrupts and Non Maskable Interrupts, but my knowledge stops here. Could you please give me some clue ? Is it a DOS related strategy ?

推荐答案

来自 这里:用于各种功能的多用途 DOS 中断,包括读取键盘和写入控制台和打印机.它还用于使用早期的文件控制块 (FCB) 方法读取和写入磁盘.

From here: A multipurpose DOS interrupt used for various functions including reading the keyboard and writing to the console and printer. It was also used to read and write disks using the earlier File Control Block (FCB) method.

这篇关于什么是 INT 21 小时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆