hey guys,
i am going to make an app which will tell you things about your BIOS. well i need to get the string by SEGMENT:OFFSET adressing.
do you know any function in C/C++ which can do this (it will be in a dll file) ?
i tried this code:
int foo, i;
char strDate[8];
char _stdcall GetBiosDate()
{
for(i=0;i<8;i++)
{
foo = peekb(0xf000, 0xFFF5+i);
strDate = foo;
}
return strDate;
}
but i cant use the peekb command in dll without some library which i dunno. so it just gives me errors and dont compile...
i am going to make an app which will tell you things about your BIOS. well i need to get the string by SEGMENT:OFFSET adressing.
do you know any function in C/C++ which can do this (it will be in a dll file) ?
i tried this code:
int foo, i;
char strDate[8];
char _stdcall GetBiosDate()
{
for(i=0;i<8;i++)
{
foo = peekb(0xf000, 0xFFF5+i);
strDate = foo;
}
return strDate;
}
but i cant use the peekb command in dll without some library which i dunno. so it just gives me errors and dont compile...