Coder Social home page Coder Social logo

sky5454 / 30daysmakeos-origin-isofiles Goto Github PK

View Code? Open in Web Editor NEW
71.0 71.0 25.0 27.93 MB

30daysMakeOS 《30天自制操作系统》日文原版镜像文件 [the full ISO files FROM Internet]

Home Page: https://github.com/sky5454/30daysMakeOS-Origin-ISOfiles/issues/3

License: Other

Batchfile 0.16% Makefile 2.51% C 94.39% C++ 2.77% Roff 0.04% Go 0.01% Objective-C 0.01% Assembly 0.13%

30daysmakeos-origin-isofiles's Introduction

Hi there 👋

Env

Windows10-preview
Windows 11 Ubuntu openSUSE Linux Docker

IDE

Visual Studio Visual Studio Code GoLand IntelliJ IDEA

Lang

Go Java JavaScript C

Vue.js Vite/VUE3 Windicss

and wait...

📈 My GitHub Stats

sky5454's GitHub stats

🤫 Github Visitors

Top Langs

30daysmakeos-origin-isofiles's People

Contributors

sky5454 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

30daysmakeos-origin-isofiles's Issues

关于您在博客园的博客 存在一些疑问想讨论下

https://www.cnblogs.com/yucloud/p/10943215.html 这一篇里

ORG 0x7c00 就是让主板从内存0x7c00处开始加载我们写的helloos.img。

可以猜得出,day1版本是用了相对地址,在源码中 把helloos.img的开头用0x0000表示,所以实际在哪个内存地址被加载 应该是由汇编编译器或主板BIOS决定的,

而day2用了绝对地址,指定helloos.img要在内存0x7c00处加载。

这三句话中的第一句话:ORG应该是告诉编译器 该程序会被加载到0x7c00 而不是 告诉主板从0x7c00处开始加载
参考资料是:https://zhuanlan.zhihu.com/p/100757410?from_voters_page=true
ORG 原理
ORG是不会产生编译结果的

0xeb, 0x4e, 0x90 这段指令是 jmp short 基于当前ip的地址短跳转0x4e
及day02中的 JMP entry 等于 day01中的 0xeb, 0x4e, 0x90

下面的RESB补0x00中,因为day02指定了ORG 所以要用0x7dfe - $ 此时的
day01由于没有写ORG 直接就是0x1fe - $ 了

day02的$可能等于day01的$ + 0x7c00
所以最后补的0x00数量是一致的

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.