Hi, I have looked all over for a tutorial or at least an example of how to read/write to and from an ATA drive. The only things I found were written in C, and I would prefer one that is not (it is easier for me to understand it when written in assembly). I don't want to use BIOS interrupts, because I am planning on doing this in protected mode. Does anyone know of a tutorial, or can someone give me a quick, to the point one right here?
6 replies to this topic
#1
Posted 08 November 2010 - 04:31 PM
Latinamne loqueris?
|
|
|
#2
Posted 12 November 2010 - 02:45 PM
You can just compile the C code and look at the assembly, I guess. C is pretty good about corresponding almost directly to machine code anyway.
sudo rm -rf /
#3
Posted 12 November 2010 - 07:46 PM
The thing is, the examples contained functions such as "outb()" and such, which, as far as I'm aware, isn't available on a modern compiler.
Latinamne loqueris?
#4
Posted 12 November 2010 - 10:16 PM
mebob said:
The thing is, the examples contained functions such as "outb()" and such, which, as far as I'm aware, isn't available on a modern compiler.
http://git.kernel.or...ic/io.h;hb=HEAD
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 13 November 2010 - 08:19 AM
This is what I'm looking at: IDE - OSDev Wiki
None of it is making any sense to me. All I am looking for is a really basic, beginner tutorial/guide to this stuff, if one exists.
None of it is making any sense to me. All I am looking for is a really basic, beginner tutorial/guide to this stuff, if one exists.
Latinamne loqueris?
#6
Posted 13 November 2010 - 10:47 AM
#7
Posted 13 November 2010 - 01:57 PM
What I mean is I just can't comprehend it all. It would be really great if you could explain it.
Latinamne loqueris?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









