0

hello every body
code below make directory in an address that is define in data part.

; create c:\emu8086\vdrive\C\test1
mov dx,ah 
mov ah, 39h 
int 21h

but i want to get address from user. i can do this with macros . anyone know this with intrrupts?

best Regard

Edited by mike_2000_17: Fixed formatting

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Ancient Dragon
0

you need to use a keyboard interrupt -- int 16h. Put it in a loop, saving each character in your own buffer, until user presses the Enter key. I would make this a separate function. You will have to check that user does not type spaces in the path because 16-bit code can not handle them.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.