Removed unused welcome message print code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7198 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -47,9 +47,6 @@ bfs_start:
|
|||||||
push %ds
|
push %ds
|
||||||
pop %es
|
pop %es
|
||||||
|
|
||||||
// mov $hello_string, %si
|
|
||||||
// call printString
|
|
||||||
|
|
||||||
cli // no interrupts please
|
cli // no interrupts please
|
||||||
call enable_a20 // enable a20 gate
|
call enable_a20 // enable a20 gate
|
||||||
|
|
||||||
@@ -82,26 +79,6 @@ _protected_code_segment:
|
|||||||
|
|
||||||
//--------------------------------------------------------------
|
//--------------------------------------------------------------
|
||||||
|
|
||||||
.code16
|
|
||||||
printString:
|
|
||||||
// write a 0 terminated string from ds:si to screen
|
|
||||||
// si - string to be printed
|
|
||||||
// changes al, ah
|
|
||||||
push %bx
|
|
||||||
_printstart:
|
|
||||||
lodsb
|
|
||||||
test %al, %al
|
|
||||||
jz _printdone
|
|
||||||
mov $0x0e, %ah
|
|
||||||
mov $0x0007, %bx
|
|
||||||
int $0x10
|
|
||||||
jmp _printstart
|
|
||||||
_printdone:
|
|
||||||
pop %bx
|
|
||||||
ret
|
|
||||||
|
|
||||||
//--------------------------------------------------------------
|
|
||||||
|
|
||||||
/** Enables the a20 gate. It will first try to enable it through
|
/** Enables the a20 gate. It will first try to enable it through
|
||||||
* the BIOS, and, if that fails, will use the old style AT mechanism
|
* the BIOS, and, if that fails, will use the old style AT mechanism
|
||||||
* using the keyboard port.
|
* using the keyboard port.
|
||||||
@@ -136,10 +113,6 @@ _a20_done:
|
|||||||
|
|
||||||
//--------------------------------------------------------------
|
//--------------------------------------------------------------
|
||||||
|
|
||||||
hello_string:
|
|
||||||
.byte 10, 13
|
|
||||||
.string "Welcome to the OpenBeOS Bootloader"
|
|
||||||
|
|
||||||
/* global data table */
|
/* global data table */
|
||||||
|
|
||||||
gdt:
|
gdt:
|
||||||
|
|||||||
Reference in New Issue
Block a user