mirror of
https://github.com/realmicrosoft/windows.git
synced 2024-08-14 22:46:44 +00:00
added a few things
This commit is contained in:
parent
4870d85d5e
commit
62905d08ca
9 changed files with 398 additions and 30 deletions
|
@ -4,29 +4,20 @@
|
|||
|
||||
xor ax, ax
|
||||
mov ds, ax
|
||||
mov es,ax
|
||||
|
||||
cli
|
||||
mov ss,bx
|
||||
mov sp,ax
|
||||
sti
|
||||
|
||||
; set graphics mode
|
||||
mov ax, 00h
|
||||
mov ah, 0x00
|
||||
int 0x10
|
||||
|
||||
; write string to screen
|
||||
mov bh, 0
|
||||
mov bl, 0b00001111
|
||||
mov al, 1
|
||||
mov ah, 13h
|
||||
mov cx, WINDOWS_STR_END - WINDOWS_STR
|
||||
mov dl, 0
|
||||
mov dh, 0
|
||||
push cs
|
||||
pop es
|
||||
mov bp, WINDOWS_STR
|
||||
int 0x10
|
||||
|
||||
|
||||
|
||||
WINDOWS_STR: db 'microsoft windows', 0
|
||||
WINDOWS_STR_END:
|
||||
; jump after bootloader
|
||||
jmp 0x07E0:0x0000
|
||||
|
||||
times 510-($-$$) db 0
|
||||
dw 0xAA55
|
Loading…
Add table
Add a link
Reference in a new issue