os-tutorial
os-tutorial copied to clipboard
How to create an OS from scratch
The comment previously stated that attempt 2 was "printing the memory address...", but it is meant to say "printing the data at the memory address..." since it was indirectly addressed...
There was a typo in tutorial 18.
Hi Carlos, Thanks for a great tutorial. I had been following a tutorial by Frank Rosner, but this seemed to wind down half way through. I then realised that he...
remove the definition of idt & idt_reg in 'idt.h', which is included by 2 files and causes multiple definition. Definite the variable idt & idt_reg here to solve the problem.
When running the 32bit-main.asm, in my environment(nasm v2.13.02, qemu v2.11.1), it will print 'S' continuously. In my code, the only difference is the order of include. As follows. ''' %include...
The "fixes" in 23 actually broke my kernel. Instead of doing what the fixes were supposed to do, 'fix', they caused my kernel to crash with a General Protection Fault....
I've been following along with your tutorials, and I noticed that your int_to_ascii function still needs to reverse the contents of the string it populates. I implemented some code that...
"idt.h" included by idt.c and kernel.c, which will cause link failed. so move the definition of idt to idt.c to avoid the failure below. ld: cpu/idt.o:(.bss+0x0): multiple definition of `idt';...
When I pass a string to kprint or kprint_at it always points to null. I have to first declare the string as an array, and then pass it. Why is...