how to read data from hard disk using int86() function
-
how to read data from hard disk using int86() function??i have used the 0x13 interrupt and then passed 0x42 to a.h.ah.but m not too sure of wat m reading
prashant jain malviya national institute of technology
Ummm, that function doesn't exist in the Win32 API. INT86 and INT86X were part of QBasic 2 and 3, many, Many, MANY years ago. This is doable using the Win32 API CreateFile and various other functions, but without further details about what you're doing and using, it's difficult to describe.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Ummm, that function doesn't exist in the Win32 API. INT86 and INT86X were part of QBasic 2 and 3, many, Many, MANY years ago. This is doable using the Win32 API CreateFile and various other functions, but without further details about what you're doing and using, it's difficult to describe.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007actually i am trying to make read the data from a hard disk using dos.i am using dos because of memory requirements.in os after win98 this function does not work.
prashant jain malviya national institute of technology
-
actually i am trying to make read the data from a hard disk using dos.i am using dos because of memory requirements.in os after win98 this function does not work.
prashant jain malviya national institute of technology
I believe 0x26 interrupt was the old DOS absolute disk write. I believe you should look at the Digital Mars compiler, as it still supports dos_abs_disk_write() and other ancient function calls. In addition it supports COFF format and can generate a MS-DOS stub. http://www.digitalmars.com/rtl/dos.html#dos_abs_disk_write[^] Best Wishes, -Randor (David Delaune)
-
actually i am trying to make read the data from a hard disk using dos.i am using dos because of memory requirements.in os after win98 this function does not work.
prashant jain malviya national institute of technology
The problem with using the old DOS functions under WinNT kernels is that, one, DOS doesn't exist anymore (except for a compatibilty box), and two, the functions are off-limits to user mode applications. I already told you under today's O/S, you have to use the Win32 API to do what you want.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007