-
AT91SAM7S32的一个应用.本程序为为一个简单的DEBUG口的输出演示:
1,完成基本的初始化
2,初始化DEBUG口,使能发送和接收
3,现...
AT91SAM7S32的一个应用.本程序为为一个简单的DEBUG口的输出演示:
1,完成基本的初始化
2,初始化DEBUG口,使能发送和接收
3,现象为在超级几终端打印信息-AT91SAM7S32 an application. The procedure for a simple mouth DEBUG output exercise : a complete two basic initialization, initialize DEBUG mouth so that it can send and receive three. the phenomenon of a few super information terminals Print
- 2022-02-03 16:15:58下载
- 积分:1
-
建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王...
建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王-Circulation list set up, implementation procedures for the election of the King: Enter the N monkeys, monkeys from the first start off (M), only a few of the m Monkey on the introduction of such a cycle has been the last remaining Monkey is a monkey Wang! !
- 2022-04-02 04:42:32下载
- 积分:1
-
a notebook source
一个记事本源程序-a notebook source
- 2023-05-16 09:00:03下载
- 积分:1
-
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度越快(每200分为单位)。
(3)每下落一个方块加1分,每消除一行加10分,两行加30分,三行加70分,四行加150分。初试分数为100分。
游戏控制:
up-旋转;空格-下落到底; 左右下方向键-控制方向。P-开始或暂停游戏。 ESC-退出。
特点:
(1)由于tc不支持中文,所以基本都是英文注释。
(2)函数命名尽可能规范的表达其内部处理目的和过程。
(3)代码加上注释仅有577行。(我下载过的两个俄罗斯方块代码一个在1087行,一个在993行,我的比它们代码少)。
(4)除了消除空格时算法比较复杂,其他算法都比较简单易读。
(5)绘图效率和局部代码效率扔有待提高。
(6)FrameTime参数可能依据不同硬件环境进行具体设置,InitGame需要正确的TC路径。
-err
- 2023-05-30 22:10:03下载
- 积分:1
-
MCS51汇编语言,加、减、乘、开平方子程序,经实际应用检验,绝无问题
MCS51汇编语言,加、减、乘、开平方子程序,经实际应用检验,绝无问题-MCS51 assembly language, add, subtract, multiply, square root subroutine, by the practical application of testing, no problem
- 2022-02-26 01:43:54下载
- 积分:1
-
PC机的串口收发软件 !!!C语言 PC机的串口收发软件 !!!C语言...
PC机的串口收发软件 !!!C语言 PC机的串口收发软件 !!!C语言-PC serial port transceiver software! ! ! C language PC serial port transceiver software! ! ! C language PC serial port transceiver software! ! ! C Language
- 2022-04-08 15:51:31下载
- 积分:1
-
Windows环境下32位汇编语言程序设计配套书源码第16章
Windows环境下32位汇编语言程序设计配套书源码第16章-Windows Environment 32-bit assembly language programming book source package Chapter 16
- 2022-01-26 01:58:34下载
- 积分:1
-
LANDSCAPE SOURCE
There is a makefile, two C sources and one ASM file he...
LANDSCAPE SOURCE
There is a makefile, two C sources and one ASM file here. As it should
always be, the ASM stuff contains the innermost pieces of code for the
effect, and also some other stuff related to low-level keyboard input.-LANDSCAPE SOURCE
There is a makefile, two C sources and one ASM file here. As it should
always be, the ASM stuff contains the innermost pieces of code for the
effect, and also some other stuff related to low-level keyboard input.
- 2022-10-23 22:55:03下载
- 积分:1
-
//float abnormal control
//浮点异常的控制位 #define FPUEM_INVALIDOP 0x01 #define FPUEM_DENORMALOP 0x02 #define FPUEM_ZERODIVIDE 0x04 #define FPUEM_OVERFLOW 0x08 #define FPUEM_UNDERFLOW 0x10 #define FPUEM_PRECISON 0x20 #define __FORCE_INLINE__ __inline /*---------------------------------------------------------- 打开指定的浮点异常 关闭指定的浮点异常-//float abnormal control-# define FPUEM_INVALIDOP 0x01# define FPUEM_DENORMALOP 0x02# define FPUEM_ZERODIVIDE 0x04# define FPUEM_OVERFLOW 0x08# define FPUEM_UNDERFLOW 0x10# define FPUEM_PRECISON 0x20# define __FORCE_INLINE __ __inline /*---------------------------------------------------------- designated open abnormal closure of the floating-point designated float anomalies
- 2023-05-15 01:00:03下载
- 积分:1
-
开机时,显示12:00:00的时间开始计时;
P0.0/AD0控制“秒”的调整,每按一次加1秒;
P0.1/AD1控制“分”的调整,每按一次加1分...
开机时,显示12:00:00的时间开始计时;
P0.0/AD0控制“秒”的调整,每按一次加1秒;
P0.1/AD1控制“分”的调整,每按一次加1分;
P0.2/AD2控制“时”的调整,每按一次加1个小时;
-Boot-up, indicating the start time 12:00:00 time P0.0/AD0 control seconds of adjustment, every time plus 1 seconds P0.1/AD1 control points of adjustment, every time plus 1 points P0.2/AD2 control when adjustments, every time plus 1 hours
- 2022-04-21 03:30:24下载
- 积分:1