Page 1 of 1

access hardrive

Posted: Thu Apr 12, 2012 4:31 am
by compro
i made a simple kernel. also i have certain files in main memory that i would like to store on harddrive.
is there any way to do this?
i mean simply write certain part of main memory to a disk.
i am using grub. btw i am loading a module from the floppy drive. is it possible i can overwrite this module with the data i want to write from the memory??

Re: access hardrive

Posted: Thu Apr 12, 2012 9:06 am
by brain
The x86 RTFM instruction is what you need to write this, its behaviour when applied to a program is fully documented on the osdev wiki. it takes one willing developer with an urge to learn under their own steam as its only parameter.