Mail Archives: djgpp/1997/06/20/00:24:17
hey all again :)
i have another problem...
i have read the faq concering buffers and segments/offset how ever it
doesn't seem to work....
what i need to do is get the ipxaddress now to do this u put 0x09 into
BX and a pointer to a 10 byte buffer into ES:SI and then call INT 0x7a.
now i cant work out how to do this. This is my code so far...
void IPXAddress(unsigned char buffer[10])
{
regs.x.bx = 0x09;
regs.x.si = &buffer;
int86x(0x7a,®s,®s,&sregs);
}
now hopefully the ipxaddress should be stored in the 10 byte buffer....
but it doesn't.
can someone plz help :?
Dave.
- Raw text -