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:
parent
b911d01e3d
commit
7ab45fdea5
@ -47,9 +47,6 @@ bfs_start:
|
||||
push %ds
|
||||
pop %es
|
||||
|
||||
// mov $hello_string, %si
|
||||
// call printString
|
||||
|
||||
cli // no interrupts please
|
||||
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
|
||||
* the BIOS, and, if that fails, will use the old style AT mechanism
|
||||
* using the keyboard port.
|
||||
@ -136,10 +113,6 @@ _a20_done:
|
||||
|
||||
//--------------------------------------------------------------
|
||||
|
||||
hello_string:
|
||||
.byte 10, 13
|
||||
.string "Welcome to the OpenBeOS Bootloader"
|
||||
|
||||
/* global data table */
|
||||
|
||||
gdt:
|
||||
|
Loading…
Reference in New Issue
Block a user