• 常用中断


    注:
    (*1*)

    例:
    AL=0
    串:char,char,...
    (光标返回起始位置)

    AL=1
    串:char,char,...
    (光标跟随移动)

    AL=2,BL=属性串:char,attr,char,attr,...
    (光标返回起始位置)

    AL=3,BL=属性串:char,attr,char,attr,...
    (光标跟随移动)

    (*2*)
    Values for disk operation status:
    00h    successful completion
    01h    invalid function in AH or invalid parameter
    02h    address mark not found
    03h    disk write-protected
    04h    sector not found/read error
    05h    reset failed (hard disk)
    05h    data did not verify correctly (TI Professional PC)
    06h    disk changed (floppy)
    07h    drive parameter activity failed (hard disk)
    08h    DMA overrun
    09h    data boundary error (attempted DMA across 64K boundary or >80h sectors)
    0Ah    bad sector detected (hard disk)
    0Bh    bad track detected (hard disk)
    0Ch    unsupported track or invalid media
    0Dh    invalid number of sectors on format (PS/2 hard disk)
    0Eh    control data address mark detected (hard disk)
    0Fh    DMA arbitration level out of range (hard disk)
    10h    uncorrectable CRC or ECC error on read
    11h    data ECC corrected (hard disk)
    20h    controller failure
    31h    no media in drive (IBM/MS INT 13 extensions)
    32h    incorrect drive type stored in CMOS (Compaq)
    40h    seek failed
    80h    timeout (not ready)
    AAh    drive not ready (hard disk)
    B0h    volume not locked in drive (INT 13 extensions)
    B1h    volume locked in drive (INT 13 extensions)
    B2h    volume not removable (INT 13 extensions)
    B3h    volume in use (INT 13 extensions)
    B4h    lock count exceeded (INT 13 extensions)
    B5h    valid eject request failed (INT 13 extensions)
    BBh    undefined error (hard disk)
    CCh    write fault (hard disk)
    E0h    status register error (hard disk)
    FFh    sense operation failed (hard disk)

    (*3*)软盘格式化错误信息

    Offset  Size    Description     (Table 0212)
    00h    BYTE    track number
    01h    BYTE    head number (0-based)
    02h    BYTE    sector number
    03h    BYTE    sector size (00h=128 bytes, 01h=256 bytes, 02h=512, 03h=1024)

    (*4*)DASD磁盘类型值
    00h no such drive 磁盘驱动器不存在
    01h floppy without change-line support 磁盘驱动器不能改变当前检测
    02h floppy (or other removable drive) with change-line support 磁盘驱动器能改变当前检测
    03h hard disk 硬盘

    (*5*)软盘状态值
    00h 软盘无变化
    01h invalid command (SyQuest) 无效的软盘参数
    06h change line active or not supported 软盘已改变
    80h drive not ready or not present 驱动器未准备好

    (*6*)磁盘格式化类型
    01h = 320/360K disk in 360K drive
    02h = 320/360K disk in 1.2M drive
    03h = 1.2M disk in 1.2M drive
    04h = 720K disk in 720K or 1.44M drive

    (*7*)转换键状态值
    Bitfields for keyboard shift flags:
    Bit(s) Description (Table 0556)
    7 Insert active
    6 CapsLock active
    5 NumLock active
    4 ScrollLock active
    3 Alt key pressed (either Alt on 101/102-key keyboards)
    2 Ctrl key pressed (either Ctrl on 101/102-key keyboards)
    1 left shift key pressed
    0 right shift key pressed

    (*8*)扩展转换键状态值
    Bitfields for keyboard shift flags 2:
    Bit(s) Description (Table 0562)
    7 SysReq key pressed (SysReq is often labeled SysRq)
    6 CapsLock pressed
    5 NumLock pressed
    4 ScrollLock pressed
    3 right Alt key pressed
    2 right Ctrl key pressed
    1 left Alt key pressed
    0 left Ctrl key pressed

  • 相关阅读:
    div 圆角
    CSS定义鼠标经过时鼠标图型样式
    如何判断浏览器类型然后让它读取指定的CSS
    如何分别指定ie6及ie7浏览器的css
    用CSS控制DIV居中失效的解决方法
    css如何控制文字多行显示,溢出截断后末尾出现省略...
    样式命名规则
    type="file" 谁用过这个属性给定义样式
    有利于SEO的DIV+CSS的命名规矩小结
    左右两个div高度自动一致,自适应高度
  • 原文地址:https://www.cnblogs.com/huqingyu/p/105926.html
Copyright © 2020-2023  润新知