however, i can't find any way to print my string in protected mode.
the only way i could think that obviously should work is to move each character to the $b8000 address, which would be an easy but very time-wasting solution.
here's what i tried to do, but failed miserably:
Code: Select all
include 'boot.asm'
main:
mov ebp,$b8000
mov si,str0
print0:
mov ah,$0f
mov al,[si]
cmp al,0
je print1
mov [ebp],ax
inc si
add ebp,2
jmp print0
print1:
ret
str0: db "test",0