Dex HDD PIO Driver problem

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.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Dex HDD PIO Driver problem

Post by Dex »

You should not be doing

Code: Select all

   mov   ecx,256
   mov   edi,hdbase
It should be

Code: Select all

  mov   edi,[HddBuffer]
   mov   ecx,256
   mov   edx,hdbase
It needs to be edx.
User avatar
djsilence
Member
Member
Posts: 70
Joined: Wed Oct 01, 2008 11:18 am
Location: Ukraine, Kiev
Contact:

Re: Dex HDD PIO Driver problem

Post by djsilence »

Sorry, I've made a little misstake (But you too, Dex! :D ).

See, when I write about problems with putting values to that registers I've made a misstake (that code I wrote from my minds). But have you seen the code below? I mean my file HDD.inc (which is copied trully exactly), the content of what is posted in my post (there is exactly that you wrote should be). So it something another problem is in... Baaaaad! :(

Daniel.
Don't think a ****, but in ukrainian schools English is TOO BAD!
Post Reply