Giter Club home page Giter Club logo

leap-os's Introduction

30-day-os

参照《30天自制操作系统》 作者: [日] 川合秀实 出版社: 人民邮电出版社 出品方: 图灵教育 原作名: 30日でできる! OS自作入門 译者: 周自恒 / 李黎明 / 曾祥江 / 张文旭

代码部分基本上都是原书代码,部分做修改 代码中添加了中文注释,便于方便阅读的同学参考

教程

适用于不想去看书的同学或者看书不能完全明白的同学

教程

因为书中有些内容直接带过,并没有细讲,还有就是书中为了照顾新手,前面的代码到后来就会有推翻现象,所以这个教程从最完整代码讲起

run

windows下:

* 进入harib目录
* 双击!cons_nt.bat
* 输入命令 make run_full
* 回车

其他系统: 上一步windwos下生成的haribote.img转为iso或者使用工程中自带的iso,可在虚拟机(virtualbox,qemu等)上启动

image

leap-os

进行中

leap-os's People

Contributors

zhangdexin avatar zengxinhui avatar

Stargazers

Shawn avatar  avatar MacBook-Pro-gala avatar  avatar  avatar MWM1C avatar Hey Shaw avatar Yaya Liang avatar qiu mi avatar arukas11aeons avatar  avatar zengcl avatar  avatar  avatar  avatar 诈 avatar Neil avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

leap-os's Issues

求助

经典调色板格式精确映射到 VGA 寄存器。每种颜色占用三个字节(红色、绿色和蓝色各一个),并且仅使用每个字节的低六位(因为 VGA 每种颜色仅使用六位。)实际上,这意味着每个字节仅包含介于零和 63(含)。 (但请注意,某些游戏使用 0 到 64 之间的值!在这些情况下,64 应与 63 视为相同,因为这就是 VGA 的作用。)

这种格式通常称为6 位 RGB。

这上面说的是使用每个字节的低6位,除以4就是取低6位吗?除以4取的是高8位吧。

无法使用,报错

您好,我按照您说的运行!cons_nt.bat,然后输入指令make run_full,报以下错误
../z_tools/make.exe -r -C gview
make.exe[2]: Entering directory E:/30-days-os/harib/gview' ../../z_tools/make.exe -r gview.hrb make.exe[3]: *** No rule to make target bmp.obj', needed by gview.bim'. Stop. make.exe[3]: Entering directory E:/30-days-os/harib/gview'
make.exe[3]: Leaving directory E:/30-days-os/harib/gview' make.exe[2]: *** [default] Error 2 make.exe[2]: Leaving directory E:/30-days-os/harib/gview'
make.exe[1]: *** [full] Error 2
make.exe[1]: Leaving directory `E:/30-days-os/harib'
..\z_tools\make.exe: *** [run_full] Error 2

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.