home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netscape Plug-Ins Developer's Kit
/
Netscape_Plug-Ins_Developers_Kit.iso
/
source
/
Chap16
/
mkfp.c
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-09-10
|
248 b
|
14 lines
#include <dos.h>
#include <stdio.h>
#include <stdlib.h>
int main()
{
char far *p;
unsigned int segment = 0xb800, offset = 0;
p = MK_FP(segment, offset);
printf("The CGI video buffer is at %lp\n", p);
return EXIT_SUCCESS;
}