Coder Social home page Coder Social logo

near-ring / onix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stevenbaby/onix

0.0 0.0 0.0 11.89 MB

Onix - 操作系统实现

License: MIT License

Assembly 2.81% Makefile 2.00% C 89.90% Shell 0.28% GDB 0.34% Python 0.78% Jupyter Notebook 3.88%

onix's Introduction

Onix - 操作系统实现

使用方法

iso 文件的使用参考 版本 1.0.0

对于 qemu 模拟器,需要提前配置 tap0 设备,用于网络:

qemu-system-i386  -m 32M -audiodev pa,id=snd -machine pcspk-audiodev=snd -device sb16,audiodev=snd -rtc base=localtime -chardev stdio,mux=on,id=com1 -serial chardev:com1 -netdev tap,id=eth0,ifname=tap0,script=no,downscript=no -device e1000,netdev=eth0 -drive file=onix_1.0.0.iso,media=cdrom,if=ide -boot d

开发中的功能

硬件驱动

  • ACPI:控制关机和重启 @lihanrui2913
  • 网卡驱动 RTL8139

Pull Request 约定

  1. 确保每个修改的文件都是有意义的,不要添加与系统无关的文件;
  2. 确保每个 commit 都有足够的分量,对于无关紧要的 commit 可以合并在一起;
  3. Pull Request 请先提交到 dev 分支,若有新功能开发,再开新分支;

Commit Decription 前面加上 emoji ❤️ 提高阅读性:

  • ✨ 视频录制:与 B 站某一视频相关
  • 🐛 漏洞修复:修改了系统中的某个 Bug
  • 🎈 功能开发:加入原系统中没有的新功能
  • 📖 文档整理:修改 docs 中的内容
  • 📔 学习笔记:记录学习过程中的一些问题或者感悟
  • 🍕 其他:若有与 commit 强相关的 emoji 也可以添加,如:💾 软盘驱动

问题及答案

相关软件版本参考

  • bochs >= 2.7 1
  • qemu >= 6.2.0 2
  • gcc >= 11.2.0 3
  • gdb == 12.1 4
  • nasm == 2.15.05
  • binutils >= 2.38
  • vmware >= 16.1
  • vscode == 1.74.3

参考

Footnotes

  1. https://bochs.sourceforge.io

  2. https://www.qemu.org/docs/master/

  3. https://gcc.gnu.org/

  4. https://www.sourceware.org/gdb/

onix's People

Contributors

stevenbaby avatar miny1233 avatar yinghaoyu avatar orengeokami avatar acevest avatar gnuqb114514 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.