Description: Borland C 3.1的串口编程源代码,中断方式接收,键盘按键发送。
可运行于DOS,windows98,Windows2-Borland C 3.1 Serial programming source code, interrupt receiving, sending keyboard keys. Can run on DOS, Linux, Windows Platform: |
Size: 15857 |
Author:赵磊 |
Hits:
Description: 早期的作品 =ZHB油泵校正器检测系统(DEMO)= 【dos界面设计】 本软件系统采用Borland C++[3.1]编写,系统完全由本人一人利用业余时间开发而成。系统 的开发过程中完全没有用到别人做好的软件包,所有的功能都是由自己一个一个的去实现的,所有的接口都是由自己设计的,包括:汉字显示、XMS调用、鼠标中断处理、键盘中断处理及各种各样的汉字,AscII码字符自适应的显示窗口、菜单窗口、选择窗口、输入窗口、信息显示窗口等等。 对于DOS下的C++编程有一定的参考作用,其中的DOS界面设计应该是比较精彩的部分,另外,一些dos下的设备操作技巧,也也有参考作用吧,比如:XMS调用、鼠标中断处理、键盘中断处理,汉字显示等等。所有的功能用类的方式组织,再利用很容易。 附有编译后的可执行版本,需要附有XMS的DOS系统,在98的DOS窗口下可以运行,2000/nt/xp下不能运行。-early works = ZHB pumps Correction Detection System (DEMO) = [dos interface design -- the software system uses Borland C [3.1] preparation, the system entirely by one person, I developed with the use of spare time. System development process not use other people to do the job package, all the functions are by themselves in a one to realize that all the interfaces are designed by themselves, including : Chinese, XMS call, interrupt handling the mouse, keyboard interrupt handling and a variety of Chinese characters, AscII adaptive code characters display window, the window menu, select window, input window, information display windows. DOS for the C programming reference to a certain extent, the DOS interface design should be a more interesting part, in addition to some of the dos equipment Platform: |
Size: 410465 |
Author:杰弗雷 |
Hits:
Description: 早期的作品 =ZHB油泵校正器检测系统(DEMO)= 【dos界面设计】 本软件系统采用Borland C++[3.1]编写,系统完全由本人一人利用业余时间开发而成。系统 的开发过程中完全没有用到别人做好的软件包,所有的功能都是由自己一个一个的去实现的,所有的接口都是由自己设计的,包括:汉字显示、XMS调用、鼠标中断处理、键盘中断处理及各种各样的汉字,AscII码字符自适应的显示窗口、菜单窗口、选择窗口、输入窗口、信息显示窗口等等。 对于DOS下的C++编程有一定的参考作用,其中的DOS界面设计应该是比较精彩的部分,另外,一些dos下的设备操作技巧,也也有参考作用吧,比如:XMS调用、鼠标中断处理、键盘中断处理,汉字显示等等。所有的功能用类的方式组织,再利用很容易。 附有编译后的可执行版本,需要附有XMS的DOS系统,在98的DOS窗口下可以运行,2000/nt/xp下不能运行。-early works = ZHB pumps Correction Detection System (DEMO) = [dos interface design-- the software system uses Borland C [3.1] preparation, the system entirely by one person, I developed with the use of spare time. System development process not use other people to do the job package, all the functions are by themselves in a one to realize that all the interfaces are designed by themselves, including : Chinese, XMS call, interrupt handling the mouse, keyboard interrupt handling and a variety of Chinese characters, AscII adaptive code characters display window, the window menu, select window, input window, information display windows. DOS for the C programming reference to a certain extent, the DOS interface design should be a more interesting part, in addition to some of the dos equipment Platform: |
Size: 410624 |
Author:杰弗雷 |
Hits:
Description: Borland C 3.1的串口编程源代码,中断方式接收,键盘按键发送。
可运行于DOS,windows98,Windows2-Borland C 3.1 Serial programming source code, interrupt receiving, sending keyboard keys. Can run on DOS, Linux, Windows Platform: |
Size: 15360 |
Author:赵磊 |
Hits:
Description: 开发环境:unSP IDE 2.0.0
实验目的:通过本实验熟悉SunPlus SPCE061A单片机的I/O,定时器的使用方法。中断系统的
使用。熟悉IDE开发环境的使用。 0
实验设备:装有WINDOWS操作系统以及SunPlus IDE仿真开发环境的PC机一台;
ì’nSP™ 十六位单片机实验板及扩展板。
实验原理:通过键盘扫描获得键值后分别控制二极管的亮灭;使用定时器产生不同的显示模
式。
实验步骤:
1).连接PC机与SunPlus061A仿真板;
2).连接实验板与仿真板;
3.运行IDE开发环境程序;
4.建立新工程;
5.往新工程里添加C文件,编写主程序框架;
6.往工程里添加ASM文件,编写汇编子程序;
7.往新工程中添加中断处理程序;
8.添加头文件(hardware.inc等);
9.程序编译调试,观察运行结果,寄存器状态等;
10.脱机运行。
要求: 对于每个不同的按键,分别有下列响应:
1.全亮;
2.逐个轮流点亮;
3.交替闪亮;
4.其他。
(综合要求:键盘和LED灯能同时工作,定时器要用定时器中断方式实现。)
-Development Environment: unSP IDE 2.0.0
Experimental Objective: Through this experiment familiar SunPlus SPCE061A microcontroller I/O, timers are used. Interrupt system
Be used. Familiar with the use of IDE development environment. 0
Laboratory equipment: air WINDOWS operating system simulation development environment and SunPlus IDE PC with a desk
ì nSP ™ sixteen single-chip board and expansion board.
Experimental principle: get the key from the keyboard scan, respectively, after controlling diode light off using a different display mode timer
Style.
Experimental procedure:
1) Connect the PC and SunPlus061A emulation board
2) Connect the test board and emulation board
3 Run the IDE development environment program
4 Create a new project
5 new projects to add to the C files, write main frame
6 ASM files to add to the project, the preparation of assembly routines
7 new projects added to the interrupt handler
8 Add a header file (hardware.inc, etc. Platform: |
Size: 51200 |
Author:niu |
Hits:
Description: 程序 DEMOCRW 和 DEMOPRO 是用于学习 80X86 CPU 的保护模式特性,核心都在常规内存中,方便查看内部数据和堆栈。
本程序必须运行在纯 DOS 下(如 Windows 98 的 启动 DOS ),运行后驻留内存,再运行 DEBUG 实验。
出现保护异常会用黑底黄字显示当前信息(错误代码、中断号(实际是中断号*4)、V86 堆栈)并退出异常程序。
启动时会报告各数据的地址,以及再要显示报告数据的程序地址。
2 RDRXSGEE 程序原为用于 STC89C52 小系统,P0 口输出控制 LED 灯条,P1 接 LED 灯指示,P2 接 4 位键盘。
有特点 可用串口命令,经串口回传 RAM、XRAM、SFG、EEPROM 内容,有利于观察运行时系统的状态,也有助学习。-Program DEMOCRW and DEMOPRO is used to study the protected mode features 80X86 CPU core in conventional memory, internal data and stack for easy viewing. This program must be run in pure DOS (such as Windows 98 boot DOS), after running memory-resident, then run DEBUG experiment. Protection exception will occur with yellow on black display current information (error code, interrupt number (actually interrupt number* 4), V86 stack) and exit abnormal program. Will report addresses data at startup, and then to display the program address the report data. 2 RDRXSGEE program originally used STC89C52 small systems, P0 port output control LED light bar, P1 access LED indicator, P2 pick four keyboard. There are features available serial commands via serial backhaul RAM, XRAM, SFG, EEPROM content, is conducive to observe the state of the runtime system will also help to learn. Platform: |
Size: 36864 |
Author:乐永青 |
Hits: