找回密码
 立即注册
相关推荐换一批
  1. 易语言模块 优化内存.ec
  2. GA/T 388-2002 计算机信息系统安全等级保护操作系统技术要求
  3. GY/T 303. 3-2018 智能电视操作系统 第3部分:应用程序编程接口
  4. GY/T 303. 4-2018 智能电视操作系统 第4部分:硬件抽象接口
  5. GY/T 303. 5-2018 智能电视操作系统 第5部分:功能组件接口
  6. GY/T 303. 6-2018 智能电视操作系统 第6部分:可信执行环境接口
  7. GA/T 1346-2017 信息安全技术云操作系统安全技术要求
  8. YD/T 880-1996 Q3接口的性能管理
  9. YD/T 879-1996 Q3接O的告警监测
  10. YDB 173-2017 物联网终端嵌入式操作系统安全技术要求
  11. DL/T 785-2001 火力发电厂中温中压管道(件)安全技术导则
  12. GB∕T 20272-2019 信息安全技术 操作系统安全技术要求
  13. GB∕T 33264-2016 面向多核处理器的机器人实时操作系统应用框架
  14. GB/T 2878.3-2017 液压传动连接口和螺柱端
  15. GB 12641-2007 教学视听设备及系统维护与操作的安全要求
  16. GB/T 2979-2008 农业轮胎规格、尺寸、气压与负荷
  17. GB/T 9278-2008 涂料试样状态调节和试验的温湿度
  18. GB/T 307.2-2005 滚动轴承 测量和检验的原则及方法
  19. YD/T 879-1996 Q3接口的告警监测
  20. 2021年牛津上海版小学一年级英语下册期末复习试题考试卷及参考答案解析
  21. 中山大学附属小学2016-2017学年度一年级英语上学期期末学业水平测试卷
  22. 2014-2015学年新起点版小学一年级英语上册期中教学质量检测试卷
  23. 2013年新派英语一年级下册期末综合测试卷(含听力材料与参考答案)
操作系统内存theand | C#编程 2021-06-14 585 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
TinyOS in C# (Write your own OS in C#),有些地方在晚上上学的时候,我们被要求在操作系统课上写一个“虚拟 CPU 和操作系统”。更多的是解释器,我们得到了操作系统的描述、一些操作码和类似 ASM 的机器语言。我们要编写操作系统,并将测试程序输入系统。这是一个有趣的练习,也是教人们虚拟内存和内存映射如何工作、线程与进程等的好方法。我是唯一一个选择用托管代码编写它的学生。完全是 2002 年的政变。我提交了这个项目并把它放到 GotDotNet 上(这个链接将在 2007 年 7 月失效),但当然,GDN 很快就会消失。只是为了不会丢失,它现在在 C# 中可用。我认为这实际上很有趣,因为我加入了一些“笑话” - 至少对我来说很有趣。例如,当“物理”内存用完时,操作系统将其虚拟内存分页到 XML 文件。它的行为就像一个真正的小操作系统。它会因内存不足而崩溃,如果发生很多事情,它会变得支离破碎。
一个完全用 C# 编写的微型虚拟 CPU 和操作系统。 TinyOS 模拟了理论操作系统的调度、内存管理(包括分页和虚拟内存)等操作。您将看到许多正在使用的框架类和技术,包括正则表达式、XML 序列化、生成的强类型集合、XML 注释和生成的帮助文件。您不会从 TinyOS 本身获得太多有用的工作,但您将学到的技术可以应用于现实生活。
由于这个小曲子,其他真正知道自己在做什么的人已经用 C# 编写了更重要的操作系统,值得一看。

(Some where in the middle of going to school at night we were asked in an Operating Systems class to write a "Virtual CPU and OS." More of an interpreter, we were given a description of the OS, some op-codes and an ASM-like machine language. We were to write the OS, and feed test programs into the system. It was a fun exercise and a good way to teach folks how virtual memory and memory mapping works, threads vs. processes, etc. I was the only student who chose to write it in managed code. Quite the coup for 2002.
I turned in the project and threw it up on GotDotNet (this link will be dead in July of 2007), but of course, GDN will be gone soon. Just so it wouldn't be lost, it's now available here in C#. It's actually kind of fun, I think, as I put in some "jokes" - funny to me at least. For example, the OS pages it's virtual memory to XML files when it runs out of "physical" memory. It behaves like a real little OS. It'll thrash with low memory, and get fragmented if a lot is going on.
A tiny virtual CPU and OS written entirely in C#. The TinyOS simulates the scheduling, memory management (including paging and virtual memory) and other operations of theoretical Operating System. You’ll see many Framework classes and techniques in use including Regular Expressions, XML Serialization, generated Strongly Typed Collections, XML Comments and a generated Help file. You won’t get much useful work out of the TinyOS itself, but the techniques you’ll learn can be applied to real life.
Since this little ditty, others who really know what they are doing have written more serious OS's in C# that are worth looking at.)

1623655333671.rar



上一篇:DOS Debug 1.19
下一篇:Profilesharp V1.3 + Source