Re: Boot sector problems...
- From: "Cranky" <spamtrap@xxxxxxxxxx>
- Date: 25 Oct 2006 01:56:02 -0700
spamtrap@xxxxxxxxxx wrote:
;Begin ASM Code
cmp bl,0x04
jne cont
;End ASM code
INT 13h AH=2 uses ES:BX as the buffer, each time you increment bl you
haven't reset it before reading a sector, therefore you are loading to
ES:0001, ES:0002 etc... Try setting bx to zero before calling INT 13h.
.
- References:
- Boot sector problems...
- From: spamtrap
- Boot sector problems...
- Prev by Date: Re: Do "nops" add to the latency of a program?
- Next by Date: Re: Boot sector problems...
- Previous by thread: Boot sector problems...
- Next by thread: Re: Boot sector problems...
- Index(es):
Relevant Pages
|