Mail Archives: djgpp/1995/10/15/03:50:55
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:2644
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!news.clark.net!not-for-mail
|
From: | fenric AT clark DOT net (Andrew McCaffrey)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | 2 quick questions
|
Date: | 14 Oct 1995 19:22:35 GMT
|
Organization: | the beginning of all beginnings
|
Lines: | 20
|
Nntp-Posting-Host: | clark.net
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I've checked the faq for this and the header file and the info system but
cannot seem to find an answer:
I include sys/farptr.h in my program and then use farpokeb. When I
compile, I get an unresolved reference to farpokeb. What library should
I include? I didn't see anything documented so I assumed it was in the
standard libs...
Also, I'm using graphics code with 2.0 beta 3 and would like someone to
tell me if I'm doing this right:
I'm using 0xD0000000 for the address to VGA mem, I've set the machine
into Mode 13h with an int 10h call.
I'm using farpokeb like this:
farpokeb (0xD0000000 , x + (y * 320) , c);
x and y are the coordinates and c is an unsigned char for the color (its
a put pixel func). Am I doing this appropiatley for DPMI? Thanks for
the info
Andrew McCaffrey
- Raw text -