我开始使用this video中的教程编写操作系统内核。我已经编写了Makefile,你可以在这里看到: x86_64_asm_source_files := $(shell find src/impl/x86_64 -name *.asm) # Holds the list of all of the assembly source files.
x86_64_asm_object_files := $(patsubst src/impl/x86_64/%.asm, build/x86_64/%.o, $(x86_64_asm_source_files)) # Holds the li
我正在尽我所能地理解这个到底是怎么回事。我已经按照建议阅读了AMD64程序员曼努尔(第二卷)第4章和第5章,但我不明白当他经历这个循环时会发生什么: mov ecx, 512 ; Set the C-register to 512.
mov DWORD [edi], ebx ; Set the uint32_t at the destination index to th
我正在开发一个操作系统内核。我正面临一个问题,同时打印扩展的ASCII字符到屏幕上。当我试图在屏幕上打印字符时,一般的ascii字符很容易打印成白色。但当我试图打印扩展的ASCII字符,如区块,西格玛等,它打印黄色。相反,这些字符是用color's number - 1打印的。YELLOW -> BRIGHT MAGENTA.and so on我的密码是-
putChar(0xdb,0,3,color(BLACK
我有一个.bat (批处理)文件,用来编译我在Windows7中开发的一个操作系统。我使用nasm编译代码,然后使用dd和imdisk。虽然可能不值得一提,但在编译之后,我使用mkisofs来创建.iso,然后使用VirtualBox进行测试。
当超过“将内核和文件复制到磁盘”时,它(提示符中的输出)显示为The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not