News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Debug

Started by xxxx, February 14, 2005, 07:22:42 AM

Previous topic - Next topic

xxxx



my OS is Windows XP and when i type this in DEBUG:

   l cs:100 2 10 100

i get a message that says an application attempted to access the hard disk directly which is not supported.how do i solve this error?

MichaelW

Windows 2000 and XP will not allow a DOS app to access the hard disk drive (not even for a read access), and AFAIK there is no way around it. But if you are just curious, you should be able to access a diskette drive.
eschew obfuscation

Gustav

> and AFAIK there is no way around it

One can write a VDD for that, which in fact is a win32 dll running in a win32 process (ntvdm)

MichaelW

QuoteOne can write a VDD for that, which in fact is a win32 dll running in a win32 process (ntvdm)

Yes, I am aware of that.  But DEBUG is a 16-bit DOS app, the internal commands are hard-coded to use DOS interrupts, and AFAIK xxxx is a beginner. Ultimately, there probably is some way around the problem, but who in their right mind would go to that much trouble just so they could access the hard drive (logical sectors only) with a DEBUG command.

eschew obfuscation

xxxx

"One can write a VDD for that, which in fact is a win32 dll running in a win32 process (ntvdm)"

are there any online tutorial on that subject?


thanks.

AeroASM

Four-F's Kernel Mode Driver tutorial