Category : Assembly Language Source Code
Archive   : PDISK.ZIP
Filename : RDIOCTL.ASM

 
Output of file : RDIOCTL.ASM contained in archive : PDISK.ZIP
.radix 16
% .MODEL memmodel,C
; .286
.code
read_ioctl proc buffer:ptr byte, drive:word
If @DataSize
push ds
lds dx,buffer
Else
mov dx,buffer
Endif
mov bx,drive
mov ax,4405
mov cx,12 ; somewhat arbitrary
int 21
jnc @F
neg ax
@@:
If @DataSize
pop ds
Endif
ret
read_ioctl endp
end


  3 Responses to “Category : Assembly Language Source Code
Archive   : PDISK.ZIP
Filename : RDIOCTL.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/