os-tutorial icon indicating copy to clipboard operation
os-tutorial copied to clipboard

How to create an OS from scratch

Results 129 os-tutorial issues
Sort by recently updated
recently updated
newest added

Hi I am consistently the getting the below error on gdb when I do **make debug**: ``` Remote 'g' packet reply is too long (expected 308 bytes, got 344 bytes):...

In `Makefile` file, ``` debug: os-image.bin kernel.elf qemu-system-i386 -s -fda os-image.bin & ${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf" ``` was changed to ``` debug: os-image.bin kernel.elf qemu-system-i386 -s...

``*Sorry for the block of text and pictures. This has just been bugging me for a bit and I wanted to provide as much context as I could.*`` When playing...

``` mov ah, 0x0e mov bp, 0x8000 mov sp, bp push 'A' mov al, [0x8000] int 0x10 ; can't mov al, [0x7ffe] int 0x10 ; print A push 'B' mov...

I followed the tutorial up to lesson 15, where the kernel should print a character 'X' at the cursor's position. After building and running, no character's printed. If I change...

In most projects online you can find a linker script that defines the memory segments of the kernel. My questions are: Do I need one and why does this project...

Is there a way/workaround to print non-ascii characters? Either by in int 10h or in video memory in 32-bit mode? Or is there a hardware/bios limitation? It could be a...

Simple workaround is to set CPATH to /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/. This took me 3 hours to figure out, so I'm hoping this will help someone in the future. If you don't have...

There's no need to set it multiple times.