home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
dirutl
/
dups.arc
/
FARPTR.C
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1987-04-04
|
327 b
|
14 lines
unsigned long far_ptr(unsigned int,unsigned int);
unsigned long far_ptr(segment,offset)
unsigned int segment;
unsigned int offset;
{
unsigned long result;
result=(unsigned long) segment;
result*=(unsigned long) 0x10000;
result+=(unsigned long) offset;
return(result);
}