hiyee there luggers.......
i am using a i810 board with Award Bios. Part of the project on Linux is that i have to make direct acess to a memory location f000:cdcd part of the flash bios and grep fpr a string in the bios.
This real address is wat i hav obtained from DOS real mode using debug f000:cdcd.
#include <stdio.h>
int main() {
int i; char *ptr; ptr = (char *)0xf000cdcd;
for(i=0; i<=500; i++) { printf("%c",ptr); *ptr++; }
}
This is some code i got together with some help for a dear friend...But this still doesnt get the string from memory. I doubt Linux is even allowing me to access the BIOS memory. Is this funda of protected mode not allowing me to access those parts of memory. If so wat system calls need i to pass to get into real mode and make that access to the BIOS memory.
Luggers.....ny help is highly appreciated...
TIA.
Trevor Warren
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.trevorwarren.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / / _|_| ___________________________________/
__________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com