-
汇编小程序,初学者学习汇编,arm的。汇编格式,和简单的寄存器操作指令。...
汇编小程序,初学者学习汇编,arm的。汇编格式,和简单的寄存器操作指令。-Compilation of small programs, for beginners to learn to compile, arm
- 2023-06-10 09:50: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
-
at89s51控制飞利浦高频头接收有线电视的源程序
at89s51控制飞利浦高频头接收有线电视的源程序-Philips AT89S51 control cable TV tuner to receive the source code
- 2022-08-12 07:00:14下载
- 积分:1
-
此程序为KEIL环境下开发的代码(开发环境备选里没有KEIL),功能在成功运行后可以播放“生日快乐”歌。所需要的开发硬件为AT89C51为主芯片的单片机。...
此程序为KEIL环境下开发的代码(开发环境备选里没有KEIL),功能在成功运行后可以播放“生日快乐”歌。所需要的开发硬件为AT89C51为主芯片的单片机。-This program is developed under the code in KEIL environment (development environment, where there is no alternative KEIL), features a successful running play " Happy Birthday" song. Required the development of hardware-based chip microcontroller AT89C51.
- 2022-01-22 04:17:21下载
- 积分:1
-
医院管理信息系统
医院管理信息系统 -Hospital Management Information System
- 2023-05-14 23:15:02下载
- 积分:1
-
用汇编语言写的18B20写的温度测量和显示程序,采用LCD显示.
用汇编语言写的18B20写的温度测量和显示程序,采用LCD显示.-Written in assembly language using 18B20 written procedures for temperature measurement and display using LCD display.
- 2023-04-13 02:10:03下载
- 积分:1
-
青岛分类信息网整合企业名录.供大家分享
青岛分类信息网整合企业名录.供大家分享 -classification Qingdao Information Network Integration Business Directory. For everyone to share
- 2022-10-03 00:00:03下载
- 积分:1
-
CMCRC.ASM is a simple program just to demonstrate how to compute the
CRC
CMCRC.ASM is a simple program just to demonstrate how to compute the
CRC-16 and CRC-32 using the crc16_table and crc32_table that were
generated by CRCTABLE.
-CMCRC.ASM is a simple program just to demon strate how to compute the CRC-16 and CRC-32 usin g and the crc16_table crc32_table that were gen erated by CRCTABLE.
- 2022-08-16 04:09:49下载
- 积分:1
-
基于STC5410单片机AD功能模块测试
基于STC5410单片机AD功能模块测试-Based on test STC5410AD
- 2022-09-15 22:10:03下载
- 积分:1
-
走马灯(灯光变幻)程序
内容:用DIP的8位开关控制走马灯的花样,用SW3控制走马灯的起/停 运行步骤:1.按下一次开关SW3,开始灯光变幻,再按下一次则停...
走马灯(灯光变幻)程序
内容:用DIP的8位开关控制走马灯的花样,用SW3控制走马灯的起/停 运行步骤:1.按下一次开关SW3,开始灯光变幻,再按下一次则停止 可重复进行 *
2.按下SW3后,拨动不同的数码开关DIP,就会出现不同的灯光变幻 *
3.按下"q"或者"Q",退出 -Lantern (lighting changes) program elements: eight with DIP switch control of the pattern lantern, lantern used to control the effect SW3/stop running these steps: 1. Pressing a switch SW3, the beginning of the light changes, and then press the first stop can repeated* 2. SW3 pressed, the Touch different digital switch DIP, there will be changes in different lights* 3. press " q" or " Q" , from the
- 2022-02-03 09:32:54下载
- 积分:1