I'm starting learning how to make a Hello World in a Boot Loader in assembly. I have a problem because for some reason when I start of the floppy disk in "BOCHS" he can show me the Hello World. But when I try in "VMware" he identifies the Boot Loader but don't show anything.
In VMWare, I can already print a character on the screen but a entire string i can't.
[org 0x7c00]
mov bp, 0x7c00
mov sp, bp
mov bx, TestString
call PrintString
jmp $
PrintString:
mov ah, 0x0e
.Loop:
cmp [bx], byte 0
je .Exit
mov al, [bx]
int 0x10
inc bx
jmp .Loop
.Exit:
ret
TestString:
db 'Hello World',0
times 510-($-$$) db 0
dw 0xaa55