-
FlappyBird2
大致思路说说,就是在外部SRAM里面做了一个大数组[320][240]做了一帧缓冲,所有屏幕相关操作都是在这一帧上面实现的,使用DMA直接丢数据到FSMC接口上,比I/O快多了,然后就是资源的去背问题,所有的图片都是我从手机版上面截图下来的,然后背景色都是0X4DF9,然后因为jpg转换软件的关系,蓝色的背景色会有偏差所以直接判断把0x4df9不显示不可行,后来想到可以用RGB颜色来入手,虽然不是0x4df9但是还是蓝色,所以蓝色分量肯定比红色多,所以做了一个阈值判断(Roughly speaking, a large array [320] [240] is made in the external SRAM to do a frame buffer. All screen-related operations are implemented on this frame. Using DMA to drop data directly to the FSMC interface is much faster than I/O. Then it is the problem of resource backtracking. All the pictures are taken from the top of the mobile version, and then the background color is 0X4DF9. Later, because of the relationship between JPG conversion software, the blue background color will be biased, so it is not feasible to directly judge that 0x4df9 is not displayed. Later, I thought that RGB color can be used to start with. Although it is not 0x4df9, it is still blue, so the blue component must be more than red, so I made a threshold judgment, and then it is the transition between scene and scene.)
- 2019-06-17 12:06:28下载
- 积分:1
-
银行家算法模拟
操作系统课程设计,银行家算法是一个用来预防系统进入死锁状态的算法,用它可以判断系统的安全性,如果系统当前处于安全状态,则可以为申请资源的进程分配资源,如果不是安全状态,则不能为申请资源的进程分配资源。当系统在进行资源管理时,如果对进程申请的资源分配不当,可能会使系统进入死锁状态,因而后面到来的进程也无法顺利执行。
- 2022-02-06 02:23:15下载
- 积分:1
-
tcstudy
刚好U没放源码,找到留有的C 语言学习电子书( C)
- 2012-04-07 19:46:07下载
- 积分:1
-
emWIN5.12中文手册
说明: emWIN5.12中文手册,不是最新版本,但大部分函数都在(EMWIN 5.12 Chinese manual, not the latest version, but most functions are in)
- 2020-03-30 00:11:32下载
- 积分:1
-
平衡小车全部代码,亲测有效
STM32F103,STM32F103 平衡小车 有蓝牙 新手开发非常实用
- 2021-05-06下载
- 积分:1
-
ModuleC
this is module C that I wrote for FFT radix 2-2 1024 point.
- 2010-07-27 01:14:02下载
- 积分:1
-
MyVideo
avi视频打开的小程序,可以再次基础上进行大量的开发(avi video to open a small program that can once again a lot of development on the basis of)
- 2012-05-26 16:09:31下载
- 积分:1
-
ShowSaveBMP
使用CDib类实现显示与保存BMP文件,VC++经典编程学习源码,很好的参考资料。(Use the CDib class to display and save the BMP file, VC++ classic learning programming source code, a good reference.)
- 2013-11-25 11:53:05下载
- 积分:1
-
Boost-develop-guide
Boost程序库完全开发指南,学习boost的必备,初学者最好看一看(Boost library fully developed guidelines, learning the necessary boost, take a look at the beginner)
- 2014-11-15 09:58:04下载
- 积分:1
-
86845
将TCHAR类型转换成CString类型,VC++精选编程学习源码,很好的参考资料。(The TCHAR CString type, VC++ select learning programming source code, a good reference.)
- 2013-11-24 23:34:41下载
- 积分:1