X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fboot%2Fboot2.s;h=5b8e75b9cab4ada54d0efbafc3ff43a2cb6eb8d9;hb=b11dcef5abc8ad3160fbcb986f1278aa30db9c36;hp=838af4688e44bd453351ee3d651e8c0270b8dace;hpb=7fe9b061ba7556ca9617cd061d16e2bc8e040f63;p=bootcensus diff --git a/src/boot/boot2.s b/src/boot/boot2.s index 838af46..5b8e75b 100644 --- a/src/boot/boot2.s +++ b/src/boot/boot2.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 . + # this is the second-stage boot loader .code16 .section .boot2,"a" @@ -7,6 +23,9 @@ mov $0x13, %ax int $0x10 + movb $10, %al + call ser_putchar + # copy palette mov $logo_pal, %si xor %cl, %cl