Page 2 of 2

Re: HD with more than 1023 cylinder

Posted: Sat Aug 25, 2012 4:39 am
by JamesBond
iansjack wrote:
JamesBond wrote:The assembler is created by me!
You've probably pinpointed your problem there. Try comparing the generated code with that from a mainline assembler.
teh problem is not at the assembler because it works perfectly and the executable is equal of an executable created by MASM for example! Probably the problem is at disk address packet!

Re: HD with more than 1023 cylinder

Posted: Sat Aug 25, 2012 4:42 am
by iansjack
Well, the disk packet as you printed it certainly doesn't make sense. Put that right first before worrying about anything else.

Re: HD with more than 1023 cylinder

Posted: Sat Aug 25, 2012 5:02 am
by Combuster
I'm going to call a troll on this one. You can't spell and program and yet you wrote your own assembler?

Re: HD with more than 1023 cylinder

Posted: Sat Aug 25, 2012 6:04 am
by iansjack
That's the bit I find difficult to believe. Writing an x86 assembler is not a trivial undertaking and requires a fairly comprehensive understanding of the processor and the way it stores data in memory. Yet the guy can't, apparently, construct the disk packet correctly. Doesn't ring true.

Re: HD with more than 1023 cylinder

Posted: Sat Aug 25, 2012 12:15 pm
by egos

Code: Select all

disk address packet = 1000010300100000000000
What does it mean? Is it a byte sequence? If so why does it consist of 11 bytes?