TASM ES:BX
mov ah,02h
mov al,1 ;number of sectors to read
mov ch,0 ;track
mov cl,0 ;sector
mov dh,0 ;head
mov dl,00h
int 13h
The function above is for reading a disk with bios.
The question I have is:
It loads the read contents into es:bx..
How would I load this into a string?
example string:
disk_data db 515 dup(' ')
I have tried a lot of different ways and have searched the net..
The onlything I can find is reading and executing the data.. I just want to read a disk and display the data read..
Thanks in advance for any help.. and please don't offer c or c++ help!
low level programming only..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement