X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fboot%2Fboot.s;h=ffeb194af24836fcecf99b65fe1d000e47c51872;hb=d16b83e92aa87f89902440625b23b3b81e206213;hp=7f8ee685a241218d102c11fdd570b2d9b6ab94cf;hpb=06e632cd7cf56db0d187bf1c8ee80172bc56e685;p=bootcensus diff --git a/src/boot/boot.s b/src/boot/boot.s index 7f8ee68..ffeb194 100644 --- a/src/boot/boot.s +++ b/src/boot/boot.s @@ -1,3 +1,19 @@ +# pcboot - bootable PC demo/game kernel +# Copyright (C) 2018 John Tsiombikas +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + .code16 .section .boot,"a" @@ -32,6 +48,7 @@ boot: mov $_boot2_size, %eax call print_num + mov $_boot2_size, %eax mov %eax, %ebx shr $9, %eax and $0x1ff, %ebx