added a few things

This commit is contained in:
husky 2022-04-03 00:44:08 -07:00
parent 4870d85d5e
commit 62905d08ca
Signed by: MlCROSOFT
GPG key ID: E00F7FA3381F0647
9 changed files with 398 additions and 30 deletions

View file

@ -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