X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Ffd_boot.asm;h=6f40f2cbafa256ea76632c00254d7369b88b662b;hb=857093d3d4c89e549e80309ba70960653f906180;hp=2fbfd35d9f65230ca31e33dd60da1e00c9e2cd87;hpb=57e3d7d1e671a261befef967b4a441e5d7dc2303;p=palacios.releases.git diff --git a/palacios/src/geekos/fd_boot.asm b/palacios/src/geekos/fd_boot.asm index 2fbfd35..6f40f2c 100644 --- a/palacios/src/geekos/fd_boot.asm +++ b/palacios/src/geekos/fd_boot.asm @@ -1,7 +1,7 @@ ; Boot sector for GeekOS ; Copyright (c) 2001,2004 David H. Hovemeyer ; Copyright (c) 2003, Jeffrey K. Hollingsworth -; $Revision: 1.6 $ +; $Revision: 1.8 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". @@ -34,7 +34,6 @@ [ORG 0x0] BeginText: ; needed to calculate padding bytes to fill the sector - ; Copy the boot sector into INITSEG. mov ax, BOOTSEG mov ds, ax ; source segment for string copy @@ -101,7 +100,7 @@ load_kernel: ; Figure out start sector and max sector mov ax, word [kernelStart] - mov word [sec_count], ax + mov word [sec_count], aX add ax, word [kernelSize] mov word [max_sector], ax