I want to print a string using bios interrupt 0x10. But I get only a blue fiel, without letters in it. Maybe I habe a problem by adressing my string.
Edit: I have two code files. The first is written on the first sector of a floppy. It copys the second sector from the floppy to the memory (starting at 0x5000) and jump to 0x5000. Here is my second file, where I should print my string.
[BITS 16]
org 0x5000
sect2:
mov ah, 0x03 ;get curser position
mov bh, 0x00 ;page number
int 0x10
mov ax, 0x0500
mov es, ax
mov bp, bsy1msg
mov ah, 0x13 ;write string
mov al, 0x01 ;update cursor after writing
mov bh, 0x00 ;page number
mov bl, 0x1F ;atributes
mov cx, bsy1len ;number of characters in string
int 0x10
end:
jmp end
bsy1msg db 13,10,"BSY1 via INT 0x10"
bsylen equ $ - bsy1msg