Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - create object
Search - create object - List
Hydrogen/C51 是一个用于51的非占先操作系统 基本上用纯 C 实现, 嵌入了大概10行的汇编 基本需求: 1.最小编译代码大概在 2.4k 2.需要使用片外的 xdata 作为堆使用 3.占用 TIMER0 作为计时 使用基本要求: 1.任务中必需要存在 Sleep/WaitFor 函数才能主动放弃占用CPU 2.任务入口和使用到Sleep/WaitFor的函数必需是 reentrant. 内核功能: 1.动态建立任务 2.支持事件/阻塞/信号量,临界 3.全双工串口(中断实现), IO过程中不会阻塞其它任务 4.UNIX c 风格的读写流(read/write) 5.一个简单的基于 24C 的文件系统(不支持目录) -Hydrogen/Core51 is a Keil C51 None-Preemptive OS. CORE written by Pure C (well..almost Pure, has 10 lines inline ASM). CORE minimal resource **Size about 2.3~5K ROM, 20+ Byte RAM. it is depends modules your chosen. **CORE also TAKE TIMER0 to tick for real-timing, and need xdata for HEAP CORE Support **dynamic Create/Terminate Thread(TASK) **Synchronize Object (Event/Semaphore/Critical Section), Thread(TASK) Naturally GIVES UP CPU by WaitFor these Synchronize Object **Common IO, it is STD C open/read/write in Any Stream Like IO(I2C, UART etc.) I host this project for OS studying, and Also Used in my work. SRC can be download from SVN Repository
Date : 2026-01-10 Size : 3.12mb User : binary

DL : 0
一、实验目的 (1)掌握进程状态转换过程 (2)掌握时间片轮转的进程调度算法; (3)掌握带优先级的进程调度算法; 二、实验内容 (1)自定义PCB的数据结构; (2)使用带优先级的时间片轮转法调度进程,每运行一个时间片,优先级减半。 (3)命令集 A)create 随机创建进程,进程的优先级与所需要的时间片随机决定; B)round 执行1次时间片轮转操作,其方法为运行高优先级队列的第1个,再降低其优先级,插入到相应的队列中。 C)ps 查看当前进程状态 D)sleep 命令将进程挂起 E)awake 命令唤醒1个被挂起的进程 F)kill 命令杀死进程 G)quit命令退出 (4)选用面向对象的编程方法。 -First, the purpose of the experiment (1) conversion process to master the process of state (2) to grasp the round-robin process scheduling algorithm (3) grasp with the priority process scheduling algorithm Second, experimental content (1) custom data structure of the PCB (2) with priority round-robin method scheduling process, each running a time slice, the priority is reduced by half. (3) command set A) the create random creation process, the priority of the process is determined randomly with the time required for film B) the round implementation of a time slice rotation operation, one of its methods to run the high-priority queue, and then lower its priority, is inserted into the appropriate queue. C) ps, view the current process state D) the sleep command to suspend the process E) Awake command to wake up a process is suspended F) the kill command to kill the process G), the quit command to exit (4) selection of the object-oriented programming methods.
Date : 2026-01-10 Size : 17kb User : mengmeng

DL : 0
1. 声明一个Circle类,有:数据成员Radius(半径),成员函数GetArea()计算圆的面积,构造函数Circle(float radius)进行初始化和析构函数。在主函数中创建一个Circle类的对象进行测试(输入一个数值,作为Circle类对象的半径,调用该对象的GetArea()求以该数值为半径的圆的面积)。-1. Declaring a Circle class are: data members Radius (Radius), member function GetArea () to calculate the area of ​ ​ a circle, the constructor Circle (float radius) to initialize and destructors. Create a Circle class object in the main function tests (enter a value for the radius Circle class object, call the object' s GetArea () to find the value of the radius of the area of ​ ​ a circle).
Date : 2026-01-10 Size : 896kb User : Jason_Way

这个参考说明如何使用CodeWarrior工具构建方案。CodeWarrior构建工具将源代码转换为目标代码,然后组织该对象代码以创建准备执行的程序。CodeWarrior创建运行在主机系统的工具生成在目标系统上运行的软件。有时主机和目标是同一系统。通常,这些系统是不同的。(This reference explains how to use CodeWarrior tools to build programs. CodeWarrior build tools translate source code into object code then organize that object code to create a program that is ready to execute. CodeWarrior build tools run on the host system to generate software that runs on the target system. Sometimes the host and target are the same system. Usually, these systems are different.)
Date : 2026-01-10 Size : 2.02mb User : 看个毛线
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.