-
MCS51四字节除法运算程序,可计算出四字节的商和四字节的余数。...
MCS51四字节除法运算程序,可计算出四字节的商和四字节的余数。-mcs51 division operation routine for tetra-byte ,may calculate both quotient of tetra-byte and remaining of tetra-byte
- 2022-02-12 16:01:41下载
- 积分:1
-
asm 编的vxd例子,不会重复的够多了哦,
asm 编的vxd例子,不会重复的够多了哦,-asm series vxd example, not repetitive enough oh,
- 2022-03-18 23:26:40下载
- 积分: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
-
手机中用的I2C代码,包含GPIO口说明
手机中用的I2C代码,包含GPIO口说明-phone using I2C code, the oral statement contains GPIO
- 2023-01-09 15:45:03下载
- 积分:1
-
内置T6963C控制器的LCD实用显示子程序
内置T6963C控制器的LCD实用显示子程序-built T6963C LCD display subroutine practical
- 2023-06-08 14:35:03下载
- 积分:1
-
用汇编语言实现:通过键盘输入任意两点坐标,在屏幕上开一个窗口,并设定控制窗口的颜色,要求屏幕呈现颜色的变化。(huangyujie)
用汇编语言实现:通过键盘输入任意两点坐标,在屏幕上开一个窗口,并设定控制窗口的颜色,要求屏幕呈现颜色的变化。(huangyujie)-assembly language : 2:00 keyboarding arbitrary coordinates on the screen in an open window and set the color control window, the screen has requested a change in color. (Huangyujie)
- 2023-01-29 19:25:03下载
- 积分:1
-
Contains 7920 chip LCD driver, the user can use the reference design
包含7920液晶显示芯片驱动,用户可参考设计使用-Contains 7920 chip LCD driver, the user can use the reference design
- 2022-01-31 06:18:54下载
- 积分:1
-
无线通信功能的读写程序,包括汇编原代码,可烧录文件,熟悉无线通信产品的读写方式...
无线通信功能的读写程序,包括汇编原代码,可烧录文件,熟悉无线通信产品的读写方式-Wireless communication function to read and write procedures, including the compilation of the original code, recordable documents, familiar with the wireless communications products to read and write mode
- 2022-07-25 12:48:15下载
- 积分:1
-
发射红外st62t
trasmitter ir with st62t-trasmitter ir with st62txx
- 2022-03-07 10:33:09下载
- 积分:1
-
To MPS430F149 for the hardware platform, the use of I/O port simulation I2C bus...
以MPS430F149为硬件平台,利用I/O口模拟I2C总线协议,对日精的时钟芯片S35390A_C做了初始化子程序、读时钟子程序、写时间子程序、脉冲为1赫兹输出子程序。-To MPS430F149 for the hardware platform, the use of I/O port simulation I2C bus protocol on-chip clock nissei S35390A_C done initialization subroutine, read subroutine clock, the time to write subroutines, pulse for 1 Hz output subroutine.
- 2022-02-04 19:59:21下载
- 积分:1