上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页
摘要: >_<" 这是一个非常简单的利用C#的窗口工程创立的程序,用来做一个简单的动画,涉及Timer和Graphics,适合初学者,高手略过~PS:请忽略菜单栏的东西~背景改成了白色! 1 using System; 2 using System.Collections.Generic; 3 using ... 阅读全文
posted @ 2014-10-05 23:38 beautifulzzzz 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: 前言>_____level[i].running = 0; 3 taskctl->level[i].now = 0; 4 } 5 task = task_alloc(); 6 task->flags = 2; /* 活动中标志 */ 7 task->priority = 2; //任... 阅读全文
posted @ 2014-09-26 23:46 beautifulzzzz 阅读(2061) 评论(1) 推荐(0) 编辑
摘要: 前言>___tasks0[i].flags = 0;20 taskctl->tasks0[i].sel = (TASK_GDT0 + i) * 8;21 set_segmdesc(gdt + TASK_GDT0 + i, 103, (int) &taskctl->ta... 阅读全文
posted @ 2014-09-26 11:04 beautifulzzzz 阅读(1812) 评论(0) 推荐(1) 编辑
摘要: #前言#>____ 5 6 void make_window8(unsigned char *buf, int xsize, int ysize, char *title); 7 void putfonts8_asc_sht(struct SHEET *sht, int x, int y, ... 阅读全文
posted @ 2014-09-25 22:58 beautifulzzzz 阅读(1391) 评论(0) 推荐(0) 编辑
摘要: 前言:>____ 8) { /* 退格键 */2 /* 用空格键把光标消去后,后移1次光标 */3 putfonts8_asc_sht(sht_win, cursor_x, 28, COL8_000000, COL8_FFFFFF, " ", 1);4 cursor_... 阅读全文
posted @ 2014-09-25 17:42 beautifulzzzz 阅读(1820) 评论(0) 推荐(0) 编辑
摘要: 1、第一版:数组方式[09d]>_0x34)(中断周期低8位->0x40)(高8位->0x40) 15 //参数: 16 //附加:设置结果为主频/设置数,这里中断周期设置为0x2e9c,大约为100hz,具体搜:IRQ0中断周期变更PIT 17 void init_pit(void) 18 { 1... 阅读全文
posted @ 2014-09-20 15:30 beautifulzzzz 阅读(1400) 评论(4) 推荐(0) 编辑
摘要: 1、客户端 1 package ClientMain; 2 3 import java.io.DataInputStream; 4 import java.io.DataOutputStream; 5 import java.io.IOException; 6 import java.... 阅读全文
posted @ 2014-09-19 16:44 beautifulzzzz 阅读(1549) 评论(0) 推荐(1) 编辑
摘要: 1、本次主要进展>__ 5 6 void make_window8(unsigned char *buf, int xsize, int ysize, char *title); 7 8 void HariMain(void) 9 { 10 struct BOOTINFO *b... 阅读全文
posted @ 2014-09-18 22:03 beautifulzzzz 阅读(2684) 评论(3) 推荐(1) 编辑
摘要: 1、大致介绍:>_asmhead.nas->bootpack.cPS: 这里bootpack.c要调用graphic.c、dsctbl.c、fifo.c、int.c实现功能,其中有些函数还必须汇编来写,所以单独写一个汇编文件naskfunc.nas,为了方便看全部函数和结构体,所以写一个bootpa... 阅读全文
posted @ 2014-09-08 04:50 beautifulzzzz 阅读(5248) 评论(9) 推荐(5) 编辑
摘要: 目录:1、用0-1编写最简单的操作系统2、用汇编改写上面0-1程序 2.1 只用DB的汇编改写版 2.2 加入RESB汇编的改写版 2.3 进一步使用汇编替换0-1文件 2.4 核心程序也用汇编改写 2.5 向汇编程序中加入IPL(启动程序装载器) 2.6 从启动区执行操作系统(读盘的应用)3、汇编... 阅读全文
posted @ 2014-09-01 02:49 beautifulzzzz 阅读(7314) 评论(19) 推荐(9) 编辑
摘要: >___<" ~真是虚惊一场,不然又要烧掉500-600的RMB啦!PS" 相关链接:J-Link无法下载问题:http://blog.csdn.net/liyuanbhu/article/details/9107139关于调式STM32F103ZE 时出现的 JLINK 找不到CORE 问题:ht... 阅读全文
posted @ 2014-08-26 09:21 beautifulzzzz 阅读(5024) 评论(0) 推荐(0) 编辑
摘要: >_ 2 #include 3 #include "GUI.h" 4 #include "FRAMEWIN.h" 5 6 #define SPEED 1200 7 #define MSG_CHANGE_MAIN_TEXT (WM_USER + 0) 8 9 static F... 阅读全文
posted @ 2014-08-25 15:18 beautifulzzzz 阅读(1891) 评论(0) 推荐(0) 编辑
摘要: >_MsgId) { 73 case WM_INIT_DIALOG://初始化建立2个非阻塞的基于主窗口的子窗口 74 break; 75 case WM_NOTIFY_PARENT: 76 Id = WM_GetId(pMsg->hWinSrc); 77 ... 阅读全文
posted @ 2014-08-25 11:24 beautifulzzzz 阅读(1528) 评论(0) 推荐(0) 编辑
摘要: >_<:直接调用函数获得触屏位置:xPhys = GUI_TOUCH_GetxPhys(); /* Get the A/D mesurement result in x */ yPhys = GUI_TOUCH_GetyPhys(); /* Get the A/D mesurement result... 阅读全文
posted @ 2014-08-24 22:03 beautifulzzzz 阅读(1725) 评论(0) 推荐(0) 编辑
摘要: >_hWin; 40 GUI_PID_STATE State; 41 GUI_PID_GetState(&State); 42 switch (pMsg->MsgId) { 43 case WM_PAINT: 44 State.x -= WM_GetWindowOrgX(hW... 阅读全文
posted @ 2014-08-24 20:54 beautifulzzzz 阅读(1446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页