CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - main.c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - main.c - List
[
OS Develop
]
FileSystemdesign
DL : 1
模拟文件系统,操作系统课程设计的心血,含详细设计报告(设计要求、设计思想、数据结构设计、实体关系图、数据流图、程序流程图、结果分析等)。界面友好,模拟MS-DOS命令行方式,并提供命令列表和命令帮助。编程语言:c语言,编译工具:VC6.0。主要内容:模拟磁盘(使用内存空间)、模拟磁盘空间申请、模拟文件目录、模拟打开文件表。主要功能:建立文件、写文件、读文件、显示文件、删除文件、重命名文件、查询文件属性、关闭文件。 -simulation file system, operating system curriculum design effort, with the detailed design (design requirements, design, data structure design, entity-relationship, data flow diagrams, process flow chart analysis, etc.). Friendly interface to simulate the MS-DOS command line, and to provide an order list and orders to help. Programming Languages : c language, compiler tools : VC6.0. Major components : simulated disk (using memory space), the disk space simulation applications, directory simulation, simulation open file table. Main functions : document creation, document writing, reading documents, documents, delete files, rename files, querying document attributes, Close document.
Date
: 2008-10-13
Size
: 135.57kb
User
:
邹英斌
[
OS Develop
]
8LED_Test
DL : 0
八段数码管实验用例S3C44b0 目录文件结构: 8led_test ├─ main.c C语言主源文件 └─ 8led.c 八段数码管处理函数源文件 如何烧写程序到Flash中,请阅读common目录下的ProgramFlash.txt文件。
Date
: 2008-10-13
Size
: 3.64kb
User
:
吴中仪
[
OS Develop
]
shellc
DL : 0
一个完整的SHELL实现源代码,内容包括:buf.c def.h dir.c file.c fs.c fs.h dh.c inode.c main.c os.exe panic.c 对学习操作系统有很大的帮助
Date
: 2008-10-13
Size
: 54.04kb
User
:
鹳达
[
OS Develop
]
tkernel_se_1.00.00.tar
DL : 0
T-kernel 的extension源代码,是日本最著名的T-kernel所独有的,适合开发T-kernel的朋友们使用! TK/SE is the program that extends T-Kernel and provides the functions such as a file system and a process management. The TK/SE archive to be provided is comprised of the main portion and the 2 extended file system portions, and TK/SE object is built by adding these to T-Kernel source. a) tkernel_se_1.00.00.tar.gz Main source of T-Kernel/SE b) extfs_fatfs_1.00.00.tar.gz Difference source of T-Kernel/SE extended file system (FAT) c) extfs_cdrom_1.00.00.tar.gz Difference source of T-Kernel/SE extended file system (CD-ROM)
Date
: 2008-10-13
Size
: 824.31kb
User
:
伤心人
[
OS Develop
]
FileSystemdesign
DL : 0
模拟文件系统,操作系统课程设计的心血,含详细设计报告(设计要求、设计思想、数据结构设计、实体关系图、数据流图、程序流程图、结果分析等)。界面友好,模拟MS-DOS命令行方式,并提供命令列表和命令帮助。编程语言:c语言,编译工具:VC6.0。主要内容:模拟磁盘(使用内存空间)、模拟磁盘空间申请、模拟文件目录、模拟打开文件表。主要功能:建立文件、写文件、读文件、显示文件、删除文件、重命名文件、查询文件属性、关闭文件。 -simulation file system, operating system curriculum design effort, with the detailed design (design requirements, design, data structure design, entity-relationship, data flow diagrams, process flow chart analysis, etc.). Friendly interface to simulate the MS-DOS command line, and to provide an order list and orders to help. Programming Languages : c language, compiler tools : VC6.0. Major components : simulated disk (using memory space), the disk space simulation applications, directory simulation, simulation open file table. Main functions : document creation, document writing, reading documents, documents, delete files, rename files, querying document attributes, Close document.
Date
: 2025-12-19
Size
: 135kb
User
:
邹英斌
[
OS Develop
]
8LED_Test
DL : 0
八段数码管实验用例S3C44b0 目录文件结构: 8led_test ├─ main.c C语言主源文件 └─ 8led.c 八段数码管处理函数源文件 如何烧写程序到Flash中,请阅读common目录下的ProgramFlash.txt文件。-Eight digital tube experiments S3C44B0 Example directory file structure: 8led_test ├ ─ main.c C language main source file └ ─ 8led.c eight digital tube function source file how to deal with procedures to the Flash programmer, please read the common directory ProgramFlash . txt file.
Date
: 2025-12-19
Size
: 102kb
User
:
[
OS Develop
]
OS
DL : 0
C++实现的模拟操作系统,带有报告。 有界面,实现了进程主调度,内存分配,模拟文件系统功能-C++ Achieve simulated operating system, with the report. There are interfaces, the main achievement of the process scheduling, memory allocation, simulated file system functions
Date
: 2025-12-19
Size
: 779kb
User
:
新
[
OS Develop
]
shellc
DL : 0
一个完整的SHELL实现源代码,内容包括:buf.c def.h dir.c file.c fs.c fs.h dh.c inode.c main.c os.exe panic.c 对学习操作系统有很大的帮助-SHELL realize a complete source code, including: buf.c def.h dir.c file.c fs.c fs.h dh.c inode.c main.c os.exe panic.c learning the operating system has a help
Date
: 2025-12-19
Size
: 54kb
User
:
鹳达
[
OS Develop
]
tkernel_se_1.00.00.tar
DL : 0
T-kernel 的extension源代码,是日本最著名的T-kernel所独有的,适合开发T-kernel的朋友们使用! TK/SE is the program that extends T-Kernel and provides the functions such as a file system and a process management. The TK/SE archive to be provided is comprised of the main portion and the 2 extended file system portions, and TK/SE object is built by adding these to T-Kernel source. a) tkernel_se_1.00.00.tar.gz Main source of T-Kernel/SE b) extfs_fatfs_1.00.00.tar.gz Difference source of T-Kernel/SE extended file system (FAT) c) extfs_cdrom_1.00.00.tar.gz Difference source of T-Kernel/SE extended file system (CD-ROM)-Extension of the T-kernel source code, is Japan
Date
: 2025-12-19
Size
: 824kb
User
:
伤心人
[
OS Develop
]
0S5
DL : 0
c实现的操作系统主要管理功能模拟,包括内存管理,进程管理,分区管理-c to achieve the main management functions of the operating system simulation, including memory management, process management, area management, etc.
Date
: 2025-12-19
Size
: 4kb
User
:
Smiles
[
OS Develop
]
myshell
DL : 1
用纯C语言编写的一个Linux下的Shell,包含tch和bash的基本功能(包含重定向和后台运行),暂时不支持管道。已经在cygwin和Ubantu 7.10下测试通过。 主要包含: makefile 编译生成myshell可执行文件 myshell.c 主函数(涉及程序入口) utility.c 所有功能函数(将近1000行) myshell.h(包含宏定义、结构体声明、库函数的头文件,及utility.c中的所有函数的声明) readme 用户手册(当用户在myshell里输入help <command> 时,输出<command>的使用说明) -With pure C language under Linux in a Shell, contains tch and bash the basic functions (including redirect and running in the background), the moment does not support the pipeline. Has been under cygwin and test Ubantu 7.10. Mainly includes: makefile compiler generated executable file myshell main function myshell.c (relating to procedures for entrance) utility.c all the features of function (nearly 1000 lines) myshell.h (contains macro definition, the structure declaration, the first document library, and all utility.c statement function) readme user' s manual (when users enter help in myshell <command> , The output <command> The use of explanation)
Date
: 2025-12-19
Size
: 293kb
User
:
Yang
[
OS Develop
]
main
DL : 0
作業系統RR排程方法,使用c程式來表示cpu bound & io bound (學校作業)-RR operating system scheduling methods, the use of c program to that cpu bound & io bound (school work)
Date
: 2025-12-19
Size
: 2kb
User
:
sean
[
OS Develop
]
cpu
DL : 0
C++环境开发,主要计算本机CPU及内存利用率,图形界面显示结果-C++ environment for development, the main calculation of the local CPU and memory utilization, graphical interface shows the results of
Date
: 2025-12-19
Size
: 1.85mb
User
:
冬铧
[
OS Develop
]
easyVM_Small.tar
DL : 0
easyVM是一个简单的虚拟机。 0.1版本只支持8086指令集和一些简单的I/O设备,只支持英文文本显示方式。 0.2版本主要是在0.1版基础上加了一小部分32位指令(push eax等),使得easyVM可以运行MS-DOS 6.22自带的大部分程序。 文件说明: ==================== Bios\Bios.bin Bios程序 Bios\BiosData.bin CMOS数据区 DOS.IMG MS-DOS 6.22的镜像 easyVM.exe easyVM主程序 easyVM.ini easyVM的配置文件 Readme.txt 本说明文本 TC.IMG 含有Trubo C 2.0的软盘镜像 Dos622c.img 硬盘镜像 梁一信 yinXlms@126.com 2008年7月11日-easyVM is a simple virtual machine. 0.1 version only supports the 8086 instruction set and some simple I/O devices support only the English text display. Version 0.2 is mainly based on the 0.1 version added a small part of the 32-bit instructions (push eax, etc.), making easyVM you can run MS-DOS 6.22 comes with most of the program. File Description: ==================== Bios \ Bios.bin Bios procedures Bios \ BiosData.bin CMOS data area DOS.IMG MS-DOS 6.22 mirror easyVM.exe easyVM main program easyVM.ini easyVM configuration file Readme.txt This note contains the text of TC.IMG image Trubo C 2.0 floppy disk mirroring Dos622c.img a letter yinXlms@126.com 2008 Nian Liang Yue 11 Ri 7
Date
: 2025-12-19
Size
: 1.63mb
User
:
zhanghui
[
OS Develop
]
3_4
DL : 0
操作系统的连续式与分页式主存管理的模拟实现实验,c语言编写,请尊重作者劳动成果!-Continuous operating system main memory management and paging type of laboratory simulation, c language, please respect of the fruits of labor!
Date
: 2025-12-19
Size
: 278kb
User
:
tear4114
[
OS Develop
]
textedit
DL : 0
操作说明 该程序除源程序外,还需有另外一个存放记录的文件(此程序中使用的文件名为score.txt),本程序并没有创建这个文件的功能,要首先产生这个文件,可用记事本先作一个空的文件名为score.txt 的文件。程序运行与该文件的存放位置有关,位置是程序数据段的FNAME的值。二者要保持一致,否则会出错。 程序运行时,在出现主菜单后,按l键,将显示学生的各科成绩;按i键后,执行插入功能,可以插入新的学生成绩;按m键,可修改学生成绩。由于本程序是个简单程序,在修改时,要输入学生的所有成绩,包括不要修改的成绩;按d键输入要删除的学生名,将使其成绩全为0;按q键输入要查询的学生的姓名,将显示其各可成绩;按c键将显示数学成绩的分段统计结果。 以上功能在单独运行时可以实现(即在进入主菜单后,单击功能键选中该功能操作后关闭。运行其它功能,要重新进入主菜单单击别的功能键,即每次只能运行一项功能)。要特别说明的是,本程序主要目的是验证汇编程序实现的数据记录操作功能,为使程序不致过长,减少篇幅,程序处理都很简单。程序中没有错误处理程序,如果输入错误,如按退格键将会出错,因此输入时要注意不要输错。 -Operating Instructions In addition to the program source code, the need to have another record store file (the file used in this program called score.txt), this procedure does not create the file function, to first generate the file, use Notepad first as an empty file named score.txt file. Run with the file storage location of the location is FNAME program data segment value. Both to be consistent, otherwise it will go wrong. The program runs, the main menu appears, press the l button to display all subjects the students press i button, insert function, you can insert a new student achievement Press m key, you can change student achievement. As the program is a simple procedure, modified, to enter all the achievements of students, including the results do not change press d key to enter the students name to be deleted, will make its results are all 0 press q key to enter the students to query name, will display its all available results press c button to display the segmented
Date
: 2025-12-19
Size
: 5kb
User
:
winner531531
[
OS Develop
]
as
DL : 0
编写C语言程序,模拟UNIX磁盘空间管理中使用的分组链接法。 1.定义一个记录磁盘块号的堆栈S—free[10],以及记录栈中现有磁盘块数的变量S—nfree。 2.定义一个由40个元素构成的结构数组block[40]用作磁盘块存放。 struct size { int blocl[10] } struct blocd { struct size a[10] //用于在空闲磁盘块号链中存放磁盘块号 }block[40] 3. 假设系统中文件的最大容量为100个磁盘块,且最多只有5个文件,定义一个由5个元素构成的结构数组file[5]用于记录各个文件占用的磁盘块,。 struct File { int fileblocd[100] //用于记录分别分配给文件的磁盘块号 }file[5] 4. 编写函数init( )完成空闲磁盘块号堆栈、空闲磁盘块号队列及记录文件占用磁盘块状态的file结构数组。 5. 编写函数alloc(fileno,blockd),完成磁盘块的分配操作。其中的参数fileno为文件序号,用于指定需要分配的文件。 6. 编写函数free(fileno),完成文件占用磁盘块的释放操作。其中的参数fileno为文件序号,用于指定需要释放磁盘块的文件。 7. 编写main( )函数完成下列操作: 调用init( )函数完成初始设置。 从终端输入命令,控制磁盘块的分配与回收操作。 -Write C language programs to simulate UNIX disk space management group used the link method. 1. The definition of a record number of disk blocks stack S-free [10], and the record number of disk blocks stack variables in the existing S-nfree. 2. The definition of a structure consisting of 40 elements in the array block [40] for disk blocks for storage. struct size {Int blocl [10] } struct blocd {Struct size a [10] // Used in the chain of free disk block number stored in the disk block number } Block [40] 3. Assuming that the system files in the maximum capacity of 100 disk blocks, and only a maximum of 5 files, defined by the five elements of a Array of structures file [5] used to record the disk blocks occupied by each file. struct File {Int fileblocd [100] // Used to record files were assigned to the disk block number } File [5] 4. Write a function init () to complete the stack of free disk block number, block number of free disk queue an
Date
: 2025-12-19
Size
: 2kb
User
:
fdsf
[
OS Develop
]
main
DL : 0
理发师问题,利用信号量解决同步问题,利用互斥器解决互斥问题,利用事件实现顾客与理发师之间的通信-Barber problem Visual C++ 2010
Date
: 2025-12-19
Size
: 2kb
User
:
荣艾
[
OS Develop
]
Main
DL : 0
C语言用函数指针实现多线程,类似于操作系统之任务调度,仅有任务状态,使用循环计数以大概模拟延时。-a little virtul os,just for understanding the multi task and learning hao to use function pointer.
Date
: 2025-12-19
Size
: 1kb
User
:
陈客
[
OS Develop
]
FIFO请求分页式算法
DL : 0
分页式虚拟存储系统是吧作业信息的副本存放在磁盘上,当作业被选中时,可把作业的开始几页装入主存且启动执行。(A paged virtual storage system is where copies of the job information are stored on disk. When the job is selected, you can load the start pages of the job into the main memory and start the execution.)
Date
: 2025-12-19
Size
: 1kb
User
:
堇色安年
«
1
2
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.