From: "James Slater" Newsgroups: comp.os.msdos.djgpp Subject: Far pointers.. no less.. Date: Wed, 30 Dec 1998 21:44:43 -0000 Organization: Cable Internet (post doesn't reflect views of Cable Internet) Lines: 18 Message-ID: <76e75d$ien$1@news1.cableinet.co.uk> NNTP-Posting-Host: ppp-361.telinco.net X-Trace: news1.cableinet.co.uk 915054573 18903 212.1.129.124 (30 Dec 1998 21:49:33 GMT) X-Complaints-To: abuse AT cableinet DOT net NNTP-Posting-Date: 30 Dec 1998 21:49:33 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I was wondering if anyone could help me with a small problem I have, I have some code like the following, inregs.x.bx = FP_OFF (block); sregs.es = FP_SEG (block); Which compiles fine under Turbo C - this expands to, inregs.x.bx = (unsigned)(block); sregs.es = (unsigned)(void _seg *)(void far *)(block); I know that djgpp doesn't have the 'far' keyword, so how can I simulate the above code?