HD with more than 1023 cylinder

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
JamesBond
Posts: 10
Joined: Thu Aug 23, 2012 2:19 am

Re: HD with more than 1023 cylinder

Post 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!
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: HD with more than 1023 cylinder

Post by iansjack »

Well, the disk packet as you printed it certainly doesn't make sense. Put that right first before worrying about anything else.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: HD with more than 1023 cylinder

Post 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?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: HD with more than 1023 cylinder

Post 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.
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: HD with more than 1023 cylinder

Post 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?
If you have seen bad English in my words, tell me what's wrong, please.
Locked