-
i think it is good coding for us
很好的一个学习汇编语言的源代码,适合初学者,我重中受益匪浅,希望大家喜欢,对大家又帮助-i think it is good coding for us
- 2022-11-05 08:55:02下载
- 积分:1
-
(中断子程序)计时子程序
(中断子程序)计时子程序----------------CLOCK
功能:①TMR1每50000指令周期(即50000微秒)中断一次, 进入本程序后重装定时器
TMR1, 并清除TMR1溢出标志(PIR1,0).
-(Interrupt Subroutine) subroutine CLOCK timing functions: ① TMR1 every 50000 instruction cycles (that is 50000 microseconds) disruption of the first to enter this process re-timer TMR1, and clear TMR1 overflow flag (PIR1, 0).
- 2023-06-20 14:15: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
-
89c52的汇编程序,gps通信数据接受
89c52的汇编程序,gps通信数据接受-89C52 the assembler, a GPS data communications acceptable
- 2023-08-31 12:50:03下载
- 积分:1
-
PWM控制电机,编辑控制方式。在这个DEMO里建了一个函数F_Pwm(int a,int b) 用于PWM设置,传入两个参数第一个用于频率设置,第二个用于占空比...
PWM控制电机,编辑控制方式。在这个DEMO里建了一个函数F_Pwm(int a,int b) 用于PWM设置,传入两个参数第一个用于频率设置,第二个用于占空比设置。另外还开了外部中断可进行频率和占空比的步进,从而达到调整速度的目的-PWM motor control, edit control mode. In this DEMO was built inside a function F_Pwm (int a, int b) for the PWM settings, with two arguments the first one for the frequency setting, the second set for the duty cycle. It also opened the external interrupt can be the stepping frequency and duty cycle to achieve the purpose of adjusting the speed of
- 2022-02-01 17:37:59下载
- 积分:1
-
易语言,DLL源码.利用DLL调用检验程序完整性!
易语言,DLL源码.利用DLL调用检验程序完整性!-Yi language, DLL source code. The use of DLL calls the integrity of testing procedures!
- 2022-08-14 11:13:46下载
- 积分:1
-
PIC12F629写的另一个LED变化程序(慢慢从暗到最亮,用时三秒
PIC12F629写的另一个LED变化程序(慢慢从暗到最亮,用时三秒-->维持最亮四秒-->慢慢从最亮变暗,用时三秒-->维持暗灭两秒, 周而复始.-PIC12F629 write another LED changes (slowly from the dark into the light, in the opening three seconds--
- 2022-09-20 11:25:03下载
- 积分:1
-
100
100点温度值采集,并且可以进行摄氏温度和华氏温度的转换-100-point temperature value acquisition, and can be carried out Celsius and Fahrenheit temperature conversion
- 2022-04-14 22:08:07下载
- 积分:1
-
一个简单的汇编程序源代码
一个简单的汇编程序源代码-a simple compilation of source code
- 2023-03-17 09:10:04下载
- 积分:1
-
一个例子来说明如何设置内部调
An example to illustrate how to set the internal adjustable
CID gain and receive FSK or DTMF data.
Assume end-code of DTMF data string is "D".-An example to illustrate how to set the inte CID rnal adjustable gain and receive FSK or DTMF data. Assume end-of DTMF code data string is "D" .
- 2023-02-04 16:55:03下载
- 积分:1