Code Monkey home page Code Monkey logo

tiny-os's Introduction

wakatime

Tiny-OS

操作系统真象还原学习

希望能够坚持学下去!!

如何运行?

需要bo chs模拟代码时,请确保shell当前目录与makefile为同一个目录

命令行输入make bochs即可使用gui_debug模式下的bochs运行

如果不喜欢不需要gui_debug功能请修改bochsrc.disk文件中 display_library: x, options="gui_debug"display_library: x

运行环境

Bochs x86 Emulator 2.6.11

这个需要手动下载源码编译,打开gui_debug并安装,apt,homebrew等下载的Bochs没有打开gui_debug.

版本2.6+,因为bochs参数不同,比如2.5 bximg -func 在2.6版本改成了-mode

Bochs2.6.11配置安装参考

若出现下面错误可以打开文件,修改报错的define加一个类型转换

narrowing conversion

narrowing conversion fix

GNU Make 4.2.1

这个不知道版本有啥关系,反正能用makefile的就行了

gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)

GNU ld (GNU Binutils for Ubuntu) 2.34

NASM version 2.14.02

Linux架构:x86_64

git clone之后要做的事

在references下运行download-references.sh脚本下载参考项目,当然也可以不下载(

推荐up 看见南山 的视频作为参考

tiny-os's People

Contributors

qingzhixing avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.