www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/09/01:07:37

Date: Tue, 9 Jan 1996 08:01:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Boon van der RJ <rjvdboon AT cs DOT vu DOT nl>
Cc: djgpp AT delorie DOT com
Subject: Re: Q: what/where is segread ?

On Mon, 8 Jan 1996, Boon van der RJ wrote:

> When I was compiling GhostScript 3.51 with DJGPP V2, I got the following
> error:
> gdevsvga.c(.text)..: Undefined reference to segread

It's best to change the source so it uses `__dpmi_int' library function
instead of `int86x', because the latter only supports a subset of x86
interrupts.  It's all explained in the library docs (and the FAQ,
available as faq102.zip from the same place you get DJGPP v1.12, has the
rest).  The VESA API which the code tries to use isn't supported by
`int86x'. 

`segread' has no meaning in the DJGPP context, because DJGPP gives you a 
linear address space where the segment registers are (almost) always 
loaded with constant values.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019