文章分类 | 推荐文章 | 最新文章 | 热点文章 | 最新软件 | 精品软件 | 下载排行 | 推荐下载 | 免费看大片 | WPS | 杀毒软件
清风网络
首 页 软件下载 网络学院 数码学院
QQ 电脑入门 游戏 操作系统 图形处理 办公软件 媒体动画 精文荟萃 工具软件 网络编程 程序开发 网络技术 认证考试 网站建设 文章专栏
当前位置:清风网络学院程序开发其他语言MAKE SOUNDS (发声)
精品推荐
特别推荐
·控制面板知多少
·给你十条学习Ruby语言的理由
·分页管理机制
·Perl 语言的重要价值体现
·经验技巧:分享两条Delphi开发经验
·Java编程思想:面向对象的逻辑思维方法
·Samba系统简介
热点TOP10
·AIX 5L 学习大纲/简易教程(2)(未经许可,请勿COPY)
·DENX U-Boot及Linux使用手册
·EZ-USB 68013A开发指南
·图象处理中的边缘检测------canny算子
·Visual C++ ADO数据库编程入门
·利用 wordXP 实现自动排班
·UDT协议-基于UDP的可靠数据传输协议
·XPCOM--LINUX下的组件开发技术
·MyEclipse JSF 快速入门中文版(上)
·samba和openldap结合实战
·AIX 5L 学习大纲/简易教程(1)(未经许可,请勿COPY)
·Microsoft Windows XP Embedded 开发工具概述
·eMbedded Visual C++开发入门
·在VC6中创建wxWidgets项目[附图]
·数值计算程序大放送-线性代数方程组
·列表视图控件
·visual studio 2005 简体中文团队开发版 SQL server 2005简体中文版下载
·Visual Studio 2005:在 Visual C++ 中开发自定义的绘图控件
·汇编语言工具下载
·多文档界面(MDI)

MAKE SOUNDS (发声)

日期:2007年5月3日 作者: 查看:[大字体 中字体 小字体]


jz get_keyinput_to_1 ;branch if sound off mov cx,sound_time_m ;else check for sound update mov ax,sound_time_l call test_current_time jc get_keyinput_to_1 ;branch if not ready for update mov bx,sound_table mov ax,[bx] or ax,ax ;test for end of table jz turn_sound_off_to ;branch if end of table data call get_time_plus_ax mov sound_time_m,cx mov sound_time_l,ax inc bx inc bx mov ax,[bx] inc bx inc bx mov sound_table,bx call sound_out_ax jmp get_keyinput_to_1 turn_sound_off_to: call sound_off mov sound_flag,0 jmp get_keyinput_to_1 get_keyinput_to endp ;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;************ @@@@@@@@@@ ************ ;### code entry point ##### start_table_sound proc near ;subroutine to start background sound output ;on entry BX indexes sound data table public start_table_sound push ax push bx mov ax,[bx] call get_time_plus_ax mov sound_time_m,cx mov sound_time_l,ax inc bx inc bx mov ax,[bx] inc bx inc bx mov sound_table,bx call sound_out_ax mov sound_flag,0FFH pop bx pop ax ret start_table_sound endp ;************ ========== ************* ;### code entry point ##### flush_keyboard proc near ;utility to flush contents of keyboard buffer public flush_keyboard mov ah,1 int 16H ;BIOS Call ;scan for keyboard data jz flush_keyboard_x ;branch if no keyboard data mov ah,0 ;else get keyboard data int 16H ;BIOS Call jmp flush_keyboard flush_keyboard_x: ret flush_keyboard endp ;************* ----------- ************** sound_out_ax proc near ;set sound out frequency to data value in AX push ax push ax cmp sound_on_flag,0 jne sound_out_1 in al,61H ;input port 61h or al,3 out 61H,al ;output port 61h sound_out_1: mov al,0B6H out 43H,al ;output port 43h pop ax out 42H,al ;output port 42h xchg al,ah out 42H,al ;output port 42h mov sound_on_flag,0FFH pop ax ret sound_out_ax endp ;*********** $$$$$$$$$$ ************ ;###### code entry point ####### sound_off proc near ;turn sound port off
上一页 [1] [2] [3] [4] 下一页 




上一篇:简单密码输入

下一篇:一个旋转的3D箱子(动画)

MAKE SOUNDS (发声) 相关文章:
·QQ搜索工具条被指强制安装 腾讯发声明否认
·了解喇叭吗?喇叭发声方式大搜罗
·键盘鼠标发声器算法分析
·MAKE SOUNDS (发声)
·使“哑巴”音箱重新发声
·用“键盘鼠标发声器”使电脑开口说话
·瑞星就卡巴误杀发声明称其“误杀之王”
·Linux下扬声器发声的小程序
·Java应用技巧-Java中的发声提示
·delphi 7.0生成的AgentObjects_TLB.pas出错导至Ms Agent不能发声
MAKE SOUNDS (发声) 相关软件:
·QQ声音真人发声版V7.9

特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
[打印本页] [关闭窗口] 转载请注明来源:http://www.viphot.com
| 帮助(?) | 版权声明 | 友情连接 | 关于我们 | 信息发布
Copyright 2007 www.viphot.com All Rights Reserved. 鄂ICP备05000083号Powered by:viphot