From 0428a0ddc4467d98c9b984b20f82506647832469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 11 Oct 2005 00:21:37 +0000 Subject: [PATCH] Now loads the maximum size of zbeos when booted from a floppy or CD. Note, this value should be patched by the build system to the actual size of zbeos - but since we don't have this mechanism in place yet, the maximum value is probably the best default, even if it should slow down a floppy boot considerably. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14344 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/bios_ia32/shell.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/system/boot/platform/bios_ia32/shell.S b/src/system/boot/platform/bios_ia32/shell.S index ae087a3d6d..231e01c2f7 100644 --- a/src/system/boot/platform/bios_ia32/shell.S +++ b/src/system/boot/platform/bios_ia32/shell.S @@ -35,7 +35,9 @@ sNumSectors: // this location will contain the length of the boot loader as // written by the "makeflop" command in 512 byte blocks - .word 0x00c0 + // 0x180 is the allowed maximum, as the zipped TAR with the + // kernel and the boot module might start at offset 192 kB + .word 0x0180 floppy_start: cli