summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-15 21:24:36 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-15 21:24:36 +0200
commitf8dd9dd71ab603af23e008f1147f652b429c9296 (patch)
tree316bbf3585b9baeb55ca2b870e7be4724ce4936c /README
parent48f0fe5954a445ba890b6a3633bbbf46cddd07c9 (diff)
downloadabaos-f8dd9dd71ab603af23e008f1147f652b429c9296.tar.gz
abaos-f8dd9dd71ab603af23e008f1147f652b429c9296.tar.bz2
increased size of stage 2 bootloader by 1024 bytes
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 38574df..c6263fe 100644
--- a/README
+++ b/README
@@ -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):