Re: ntvdm encountered a hard error
- From: Frank Kotler <spamtrap@xxxxxxxxxx>
- Date: Sat, 28 Oct 2006 15:08:57 -0400
Galbu wrote:
Hi all. While writing a boot sector reader, I encountered this error:
NTVDM encountered a hard error. That occurs when i call the int 13h
with these parameters:
ah=02h
al=1 ;how many sectors?
ch=0 ;cylinder
cl=0 ;sector to read
dh=0 ;head
dl=80h ;first hard drive
es:bx => buffer 512 bytes long
if I read a floppy drive (dl=0), than everything goes right, but I
cannot read a hd. What is wrong? I'm using windows vista rc1 (but I
don't think it's a beta system bug)
thx everybody
Shouldn't cause a "hard error", but sector numbering usually starts at 1 (weird, I know). I'm surprised it worked on a floppy.
Best,
Frank
.
- Follow-Ups:
- Re: ntvdm encountered a hard error
- From: Galbu
- Re: ntvdm encountered a hard error
- References:
- ntvdm encountered a hard error
- From: Galbu
- ntvdm encountered a hard error
- Prev by Date: ntvdm encountered a hard error
- Next by Date: Re: ntvdm encountered a hard error
- Previous by thread: ntvdm encountered a hard error
- Next by thread: Re: ntvdm encountered a hard error
- Index(es):
Relevant Pages
|