diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,7 +14,7 @@ ndisasm -b16 -o7c00h -a image.bin | less objdump -M intel -d kernel.o | less gcc -m32 -ffreestanding -c -o kernel.o kernel.c -ld -o kernel.bin -Ttext 0x8400 kernel.o -m elf_i386 --oformat binary +ld -o kernel.bin -Ttext 0x8800 kernel.o -m elf_i386 --oformat binary objdump -M intel -d kernel.bin | less # oformat: objdump -i lists tons of formats @@ -38,10 +38,10 @@ Next at t=14040244 (0) [0x000000007c00] 0000:7c00 (unk. ctxt): mov ax, 0x0000 ; b80000 C entry: -break 0x8400 +break 0x8800 disassemble kernel in 32-bit mode -ndisasm -b32 -o8400h -a kernel.bin | less +ndisasm -b32 -o8800h -a kernel.bin | less With qemu remote (see http://wiki.osdev.org/Kernel_Debugging): |