stuff
This commit is contained in:
parent
8660d52912
commit
b9322e60e0
26
.stylehlp
26
.stylehlp
|
@ -24,3 +24,29 @@
|
||||||
|
|
||||||
//------------------------------------------//
|
//------------------------------------------//
|
||||||
|
|
||||||
|
|
||||||
|
;=----------------------------------------------------------------------------=;
|
||||||
|
; GNU GPL OS/K ;
|
||||||
|
; ;
|
||||||
|
; Desc: ;
|
||||||
|
; ;
|
||||||
|
; ;
|
||||||
|
; Copyright © 2018-2019 The OS/K Team ;
|
||||||
|
; ;
|
||||||
|
; This file is part of OS/K. ;
|
||||||
|
; ;
|
||||||
|
; OS/K 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. ;
|
||||||
|
; ;
|
||||||
|
; OS/K 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 OS/K. If not, see <https://www.gnu.org/licenses/>. ;
|
||||||
|
;=----------------------------------------------------------------------------=;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -95,9 +95,15 @@ Die:
|
||||||
_loader:
|
_loader:
|
||||||
jmp lbegin
|
jmp lbegin
|
||||||
|
|
||||||
LOGO: db 219, 219, 219, " OS/K", 0
|
LOGO db 219, 219, 219, " OS/K", 0
|
||||||
|
mbInfo dq 0
|
||||||
|
mbMagic dq 0
|
||||||
|
|
||||||
lbegin:
|
lbegin:
|
||||||
|
|
||||||
|
pop ebx ; 1st argument multiboot info pointer
|
||||||
|
pop eax ; 2nd argument is magic number
|
||||||
|
|
||||||
call clear ; Clear the screen
|
call clear ; Clear the screen
|
||||||
|
|
||||||
;; BEGIN OF CHECKLIST
|
;; BEGIN OF CHECKLIST
|
||||||
|
|
|
@ -43,6 +43,6 @@ noreturn void StartKern(void *mbInfo, int mbMagic)
|
||||||
InitTerms();
|
InitTerms();
|
||||||
|
|
||||||
// We're out
|
// We're out
|
||||||
StartPanic("Goodbye World :(");
|
StartPanic("We had\n *mbInfo : %x\n mbMagic : %x\n\nGoodbye World :(", mbInfo, mbMagic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue