分享
 
 
 

INT10H,INT12H,鼠标掩码

王朝other·作者佚名  2006-01-08
窄屏简体版  字體: |||超大  

您当前的位置: 汇编工作室首页-->资料共享:

以下资料仅供参考:

----------------------------------------------------------------------------------------

int 10H: int 10H,12H,鼠标掩码等资料

int 10H

IN

OUT

AH=00 设置显示模式

ah=0 al=video mode

AH=01 设置光标类型

ah=1 ch=start scan line cl=end scan line

AH=02 设置光标位置

ah=2 bh=display page dh=row dl=col

ax=0

AH=03 读取光标位置

ah=3 bh=display page

ax=0 ch=start scan line cl=end scan line dh=row dl=col

AH=04 读取光笔位置

ah=4

ah=pen trigger signal bx=pixel c1olumn ch=pixel row dh=character row dl=character coloumn

AH=05 指定显示页

ah=5 al=page number

AH=06 初始化窗口,上滚窗口

ah=6 al=lines to scroll up bh=blank line attribute ch=upper row cl=left column dh=lower row dl=right column

AH=07 初始化窗口,下滚窗口

ah=7 al=lines to scroll down bh=blank line attribute ch=upper row cl=left column dh=lower row dl=right column

AH=08 读字符及属性

ah=8 bh=page number

ah=attribute al=character

AH=09 写字符及属性

ah=9 al=character bh=page number bl=attribute cx=number of character to write

AH=0A 当前光标处写字符

ah=0AH al=character bh=page number cx=number of character to write

AH=0B 设调色板

ah=0BH bh=palette ID bl=color ID

AH=0C 写像素

ah=0CH al=color

AH=0D 读像素

ah=0DH bh=page number cx=pixel column dx=pixel row

al=color

AH=0E 电传机方式写文本

ah=0EH al=character bh=page number bl=foreground color

AH=0F 取当前显示模式

ah=0FH

ah=columns al=display modes bh=active page number

AH=10 设调色板寄存器

ah=10H al=command bh=value bl=palette reg dx=offset of pointer to 17-byte table es=segment of pointer to 17-byte table

bh=value

AH=11 字符生成器

ah=11H al=command bp=offset of pointer to user table es=segment of pointer to user table

AH=12 改变选择

ah=12H bl=command

AH=13 写字符串

ah=13H al=mode bh=page number bl=attribute cx=character count dx=start cursor position bp=offset of pointer to string es=segment of pointer to string

AH=1A 读显示码

ah=1AH al=0

al=status bh=alternate disp code bl=active disp code

AH=1A 写显示码

ah=1AH al=1 bh=alternate disp code bl=active disp code

al=status

AH=1B 返回状态

ah=1BH bx=implementation type di=offset of pointer to empty buffer es=segment of pointer to empty buffer

al=status di=offset of pointer to video state buffer es=segment of pointer to video state buffer

AH=1C 返回保存/恢复

ah=1CH al=0 cx=request states

al=status bx=number 64-byte blocks for state

AH=1C 保存状态

ah=1CH al=1 bx=offset of pointer to video state buffer cx=request states es=segment of pointer to video state buffer

al=status

AH=1C 恢复状态

ah=1CH al=2 bx=offset of pointer to video state buffercx=request states es=segment of pointer to video state buffer

al=status

AH=FE 取视频缓冲区

ah=0FEH di=offset of physical video buffer es=segment of physical video buffer

di=offset of logical video buffer es=segment of logical video buffer

AH=FF 更新视频缓冲区

ah=0FFH cx=number of characters modified di=offset to first character modified es=segment of logical video buffer

int 12H: int 10H,12H,鼠标掩码等资料

取内存大小服务

ax=memory size

鼠标屏幕和光标掩码: int 10H,12H,鼠标掩码等资料

屏幕和光标掩码的作用效果:

Screen Mask Bit

Cursor Mask Bit

Resulting Screen Bit

0

0

0

0

0

1

1

0

Unchanged

1

1

Inverted

屏幕的字符数据:

Bit number

Description

Comments

15

Blink control

1=blinking character

12-14

Background color

11

Intensity control

1=high intensity

8-10

Foreground color

0-7

Character

ASCII value

加速曲线:

Part of table

offset(decimal)

Length(in bytes)

Description

Curve lengths

0

1

number of counts/factors in first curve

1

1

number of counts/factors in second curve

2

1

number of counts/factors in third curve

3

1

number of counts/factors in fourth curve

Mouse counts

4

32

array of counts for first curve

36

32

array of counts for second curve

68

32

array of counts for third curve

100

32

array of counts for fourth curve

Scale Factors

132

32

array of scale factors for first curve

164

32

array of scale factors for second curve

196

32

array of scale factors for third curve

228

32

array of scale factors for fourth curve

Curve names

260

16

ASCII string for first curve

276

16

ASCII string for second curve

292

16

ASCII string for third curve

308

16

ASCII string for fourth curve

int 10H,12H,鼠标掩码等资料

----------------------------------------------------------------------------------------

版权所有 (C) 1999-2000 汇编工作室 联系我们:bitstream@263.net

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有