`

Interrupt table

 
阅读更多

摘录自:http://en.wikipedia.org/wiki/BIOS_interrupt_call

Interrupt table

A list of common BIOS interrupts can be found below. Note that some BIOSes (particularly old ones) will not support all of these interrupts.

Interrupt vector Description
​00h​ CPU: Executed after an attempt to divide by zero or when the quotient does not fit in the destination
​01h​ CPU: Executed after every instruction while the trace flag is set
​02h​ CPU: NMI , used e.g. by POST for memory errors
​03h​ CPU: The lowest non-reserved interrupt, it is used exclusively for debugging, and the ​INT 03​ handler is always implemented by a debugging program
​04h​ CPU: Numeric Overflow. Usually caused by the ​INTO​ instruction when the overflow flag is set.
​05h​ Executed when Shift-Print screen is pressed, as well as when the ​BOUND​ instruction detects a bound failure.
​06h​ CPU: Called when the Undefined Opcode (invalid instruction) exception occurs. Usually installed by the operating system.
​07h​ CPU: Called when an attempt was made to execute a floating-point instruction and no numeric coprocessor was available.
​08h​ IRQ0: Implemented by the system timing component; called 18.2 times per second (once every 55 ms) by the PIC
​09h​ IRQ1: Called after every key press and release (as well as during the time when a key is being held)
​0Bh​ IRQ3: Called by serial ports 2 and 4 (COM2/4) when in need of attention
​0Ch​ IRQ4: Called by serial ports 1 and 3 (COM1/3) when in need of attention
​0Dh​ IRQ5: Called by hard disk controller (PC/XT) or 2nd parallel port LPT2 (AT) when in need of attention
​0Eh​ IRQ6: Called by floppy disk controller when in need of attention
​0Fh​ IRQ7: Called by 1st parallel port LPT1 (printer) when in need of attention
​10h​ Video Services - installed by the BIOS or operating system; called by software programs ​AH​ Description
​00h​ Set Video Mode
​01h​ Set Cursor Shape
​02h​ Set Cursor Position
​03h​ Get Cursor Position And Shape
​04h​ Get Light Pen Position
​05h​ Set Display Page
​06h​ Clear/Scroll Screen Up
​07h​ Clear/Scroll Screen Down
​08h​ Read Character and Attribute at Cursor
​09h​ Write Character and Attribute at Cursor
​0Ah​ Write Character at Cursor
​0Bh​ Set Border Color
​0Eh​ Write Character in TTY Mode
​0Fh​ Get Video Mode
​13h​ Write String
​11h​ Installed by the BIOS; returns equipment list
​12h​ Installed by the BIOS or operating system; returns Conventional Memory Size
​13h​ Low Level Disk Services; installed by the BIOS or operating system; called by software programs ​AH​ Description
​00h​ Reset Disk Drives
​01h​ Check Drive Status
​02h​ Read Sectors From Drive
​03h​ Write Sectors To Drive
​04h​ Verify Sectors On Drive
​05h​ Format Track On Drive
​08h​ Get Drive Parameters
​09h​ Init Fixed Drive Parameters
​0Ch​ Seek To Specified Track
​0Dh​ Reset Fixed Disk Controller
​15h​ Get Drive Type
​16h​ Get Floppy Drive Media Change Status
​14h​ Routines for communicating via the serial port. Used by software programs. ​AH​ Description
​00h​ Serial Port Initialization
​01h​ Transmit Character
​02h​ Receive Character
​03h​ Status
​15h​ Miscellaneous (System services support routines) ​AH​ ​AL​ ​AX​ Description
​4Fh​ Keyboard Intercept
​83h​ Event Wait
​84h​ Read Joystick
​85h​ Sysreq Key Callout
​86h​ Wait
​87h​ Move Block
​88h​ Get Extended Memory Size
​C0h​ Get System Parameters
​C1h​ Get Extended BIOS Data Area Segment
​C2h​ Pointing Device Functions
​E8h​ ​01h​ ​E801h​ Get Extended Memory Size(Newer function, since 1994). Gives results for memory size above 64 Mb.
​E8h​ ​20h​ ​E820h​ Query System Address Map. The information returned from e820 supersedes what is returned from the older AX=E801h and AH=88h interfaces.
​16h​ Implemented by the BIOS or operating system. Provides routines to be called by software programs which communicate with the keyboard. ​AH​ Description
​00h​ Read Character
​01h​ Read Input Status
​02h​ Read Keyboard Shift Status
​10h​ Read Character Extended
​11h​ Read Input Status Extended
​12h​ Read Keyboard Shift Status Extended
​17h​ Print Services - used by software programs to communicate with the printer ​AH​ Description
​00h​ Print Character to Printer
​01h​ Initialize Printer
​02h​ Check Printer Status
​18h​ Execute Cassette BASIC: True IBM computers contain BASIC in the ROM to be interpreted and executed by this routine in the event of a boot failure (called by the BIOS)
​19h​ After POST this interrupt is used by BIOS to load the operating system.
​1Ah​ Real Time Clock Services - called by software programs to communicate with the RTC ​AH​ Description
​00h​ Read RTC
​01h​ Set RTC
​02h​ Read RTC Time
​03h​ Set RTC Time
​04h​ Read RTC Date
​05h​ Set RTC Date
​06h​ Set RTC Alarm
​07h​ Reset RTC Alarm
​1Bh​ Installed by the operating system; automatically called by ​INT 9​ when Ctrl-Break has been pressed
​1Ch​ Called automatically by ​INT 08​ ; available for use by software programs when a routine needs to be executed regularly
​1Dh​ Not to be called; simply a pointer to the VPT (Video Parameter Table), which contains data on video modes
​1Eh​ Not to be called; simply a pointer to the DPT (Diskette Parameter Table), containing a variety of information concerning the diskette drives
​1Fh​ Not to be called; simply a pointer to the VGCT (Video Graphics Character Table), which contains the data for ASCII characters ​80h​ to ​FFh​
​41h​ Address pointer: FDPT = Fixed Disk Parameter Table (1st hard drive)
​46h​ Address pointer: FDPT = Fixed Disk Parameter Table (2nd hard drive)
​4Ah​ Called by RTC for alarm
​70h​ IRQ8: Called by RTC
​74h​ IRQ12: Called by mouse
​75h​ IRQ13: Called by math coprocessor
​76h​ IRQ14: Called by primary IDE controller
​77h​ IRQ15: Called by secondary IDE controller

 

 

 

分享到:
评论

相关推荐

    Open Host Controller Interface Specification

    - **Interrupt Table:** Contains pointers to interrupt service routines. - **Frame Number:** Tracks the current frame number in the USB system. - **Done Head:** Points to the first completed transfer ...

    MSI和MSI-X技术文档

    MSI-X则是MSI的增强版本,它引入了中断表(Interrupt Table)的概念,允许一个设备能够发送多个不同的中断,每个中断对应一个单独的消息。MSI-X表中包含了中断向量、状态和数据字段,使得系统可以更精细地管理中断...

    MPC5748G MCAL Configuration Training

    2. 启动代码:包括STARTUP CODE、Interrupt table & Link file等。 启动代码是MCAL配置的基础,它负责初始化微控制器的硬件资源,并将其配置为正确的状态。在启动代码中,我们需要配置中断表和链接文件,以便于正确...

    Interrupt in Linux(硬件篇).pdf

    MADT (Multiple APIC Description Table)是一种更加现代的标准,它提供了一种更灵活的方法来描述和配置多处理器系统中的APIC。在MADT路径中,Linux内核会解析ACPI表中的MADT表项来探测和配置APIC硬件。 - **题外话...

    interrupt in linux

    - **MADT路径**:用于现代系统,通过解析ACPI(Advanced Configuration and Power Interface)表中的多处理器描述表(Multiprocessor Description Table,MADT)来识别和配置APIC硬件。 通过这些路径,Linux能够...

    interrupt_example.zip

    中断向量是中断处理程序的地址和处理该中断所需的一些控制信息的集合,存储在中断向量表(Interrupt Vector Table, IVT)中。当CPU接收到中断请求后,会根据中断号查询IVT,找到对应的中断处理程序。 中断处理程序...

    SSD1921 Application note (Register table)

    5. **中断注册器(Interrupt Registers)**:管理芯片产生的各种中断信号,如定时器溢出、数据接收完成等。 6. **上电注册器(Power Up Registers)**:控制芯片上电顺序,确保各部分电路平稳启动。 7. **显示模式...

    S32K144的hello_interrupt移植到MDK

    在进行S32K144的hello_interrupt移植到MDK的过程中,主要涉及的知识点包括了S32K144系列微控制器的特性、MDK开发环境的使用、分散加载描述文件(scatter file)的概念及其在链接过程中的作用,以及中断处理相关的...

    linux_interrupt.rar_linux 中断

    - 中断向量表(Interrupt Vector Table, IVT)存储了所有中断向量,是处理器查找中断处理程序的地方。 4. **中断处理层次**: - 在Linux中,中断处理分为两个级别:软中断(Software Interrupts, IRQs)和底半部...

    rtw_pwrctrl.rar_Table

    其中,不同的表类型对应不同的功能,如APIC(Advanced Programmable Interrupt Controller)表用于多处理器系统中的中断处理,或者MADT(Multiple APIC Description Table)用于描述多个APIC。在这个例子中,"actbl1...

    helppc reference library

    一本全面的关于IBM PC基本器件及编程的详细手册(英文)。 BIOS开发和操作系统开发必读材料。 比如键盘控制器8042中寄存器(60h端口和64h端口)各个位的说明等。...Graphical ASCII table from QBasic

    sead3-int.rar_GIC-400_Table

    【GIC-400 Table】是用于配置和管理外部中断控制器Generic Interrupt Controller(GIC)的设置。GIC在嵌入式系统中扮演着关键角色,它负责收集和分发来自不同硬件设备的中断信号,使CPU能够及时响应这些事件。在本文...

    RH850F1L_1_Interrupt.7z

    RH850/F1L是瑞萨的一款汽车级的32bit芯片/MCU,其普通中断有两大类,一是[Direct Vector Method],一是[Table Reference Method],前者是按优先级响应,后者是按中断号响应。 本驱动例程是通过屏蔽和不屏蔽文件[r_...

    Interrupt and Exception

    **中断描述符表**(Interrupt Descriptor Table, IDT)是Intel x86架构中非常重要的一个数据结构。它由操作系统创建和维护,用于管理中断和异常的处理。IDT包含了最多256个中断描述符,每个描述符长为8字节,用于存储...

    protect.7z

    The 8086 series of microprocessors has an Interrupt Vector Table situated at 0000:0000 which extends for 1024 bytes. The Interrupt Vector table holds the address of the Interrupt Service Routines (ISR...

    MediaTek_MT2502A_SOC_Data_Sheet GPIO_Table__v1_0.pdf

    ### MediaTek_MT2502A_SOC Data Sheet: GPIO Table v1.0 The MediaTek_MT2502A_SOC Data Sheet provides detailed information about the General Purpose Input/Output (GPIO) pins for the MT2502A System on ...

    STC89C52单片机设计电子琴板AD设计硬件原理图+PCB工程+软件源码.zip

    STC89C52单片机设计电子琴板AD设计硬件原理图+PCB工程+软件源码,硬件ALTIUM设计,可以做为你的学习设计参考。 软件代码: void delay(int z) //延时子程序 { int x,y; for(x=z;... P1=table

    DSP2833x_PieVect.rar_DSP2833x_pie vector table

    本篇将详细介绍`DSP2833x_PieVect.c`文件所涉及的`DSP2833x`处理器的PIE(Peripheral Interrupt Expansion)中断向量表的初始化程序。 **一、PIE中断扩展概述** PIE(Peripheral Interrupt Expansion)是TI DSP...

    STM8的C语言编程(1)-_代码结构框架

    /* BASIC INTERRUPT VECTOR TABLE FOR STM8 devices * Copyright(c)2007 STMicroelectronics */ typedef void (*interrupt_handler_t)(void); struct interrupt_vector { unsigned char interrupt_instruction; ...

    STM 的C语言编程

    /* BASIC INTERRUPT VECTOR TABLE FOR STM8 devices * Copyright(c)2007 STMicroelectronics */ typedef void@far(*interrupt_handler_t)(void); struct interrupt_vector{ unsigned char interrupt_instruction; ...

Global site tag (gtag.js) - Google Analytics