Code Monkey home page Code Monkey logo

Comments (7)

sky5454 avatar sky5454 commented on May 10, 2024 1

image
日文原版源码为Shift-JIS编码
换行符为Windows(CR LF)

from 30daymakeos.

yourtion avatar yourtion commented on May 10, 2024

这个项目就是对所有对源码进行中文注释了

image

from 30daymakeos.

Wrecksoul avatar Wrecksoul commented on May 10, 2024

授人以鱼不如授人以渔啊。我想知道您的中文注释是怎么来的。是否有更多没在这个项目里面的资料。

from 30daymakeos.

yourtion avatar yourtion commented on May 10, 2024

哦,原来是这样的意思啊,Sorry啊~~这本书有本中文版本,我是在多看上买的:http://www.duokan.com/book/11722

然后我一边看中文书还有原版的源码,然后根据书中的注释还有代码一步步写的。

from 30daymakeos.

Wrecksoul avatar Wrecksoul commented on May 10, 2024

可是,我下载的源码是这样的乱码:

; hello-os
; TAB=4

		ORG		0x7c00			; ‚±‚̃vƒ�ƒOƒ‰ƒ€‚ª‚Ç‚±‚É“Ç‚Ý�ž‚Ü‚ê‚é‚Ì‚©

; ˆÈ‰º‚Í•W�€“I‚ÈFAT12ƒtƒH�[ƒ}ƒbƒgƒtƒ�ƒbƒs�[ƒfƒBƒXƒN‚Ì‚½‚ß‚Ì‹L�q

		JMP		entry
		DB		0x90
		DB		"HELLOIPL"		; ƒu�[ƒgƒZƒNƒ^‚Ì–¼‘O‚ðŽ©—R‚É�‘‚¢‚Ä‚æ‚¢�i8ƒoƒCƒg�j
		DW		512				; 1ƒZƒNƒ^‚Ì‘å‚«‚³�i512‚É‚µ‚È‚¯‚ê‚΂¢‚¯‚È‚¢�j
		DB		1				; ƒNƒ‰ƒXƒ^‚Ì‘å‚«‚³�i1ƒZƒNƒ^‚É‚µ‚È‚¯‚ê‚΂¢‚¯‚È‚¢�j
		。。。

; ƒvƒ�ƒOƒ‰ƒ€–{‘Ì

应该用什么编码格式打开,不过,这个就算打开不是乱码应该也是日文的吧。

您是有中文版的资源还是凑合着看这个代码再加上书上的中文注释的呢?

from 30daymakeos.

yourtion avatar yourtion commented on May 10, 2024

你下载的什么源码是乱码?我使用SublimeText打开原来日文的源码是正常的。

源码没有中文资源,都是原来的日文版本,然后加中文书

from 30daymakeos.

Wrecksoul avatar Wrecksoul commented on May 10, 2024

可能是我打开的时候跟他保存时使用的编码不一致所以乱码吧 。不过即使不乱码 ,日语我也看不懂。谢谢你了。我的疑问没有了,我现在要关闭ISSUE了。

from 30daymakeos.

Related Issues (20)

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.