cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/03:31:44

From: juergen AT peak-Service DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: How to convert a selector into a pointer?
Date: Wed, 11 Aug 1999 16:11:50 GMT
Organization: OMNILINK - Your link to the net
Message-ID: <37b19b34.33491353@NotesXnt>
NNTP-Posting-Host: board-69.darmstadt.netsurf.de
X-Trace: gazette.omnilink.net 934388114 17576 194.163.86.197 (11 Aug 1999 16:15:14 GMT)
X-Complaints-To: news AT omnilink DOT net
NNTP-Posting-Date: 11 Aug 1999 16:15:14 GMT
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello!
I've got the following problem:
I 'm a newbie to 32-Bit Dos-programming.
I transfer via DMA from a frame Grabber Card (BT848) to  memory that
is allocated by __dpmi_allocate_dos_memory(). 
This returns a DOS segment and a selector.
I want to port some image processing routines to DJGPP. These routines
use pointers to Bytes. 
To mimimize the porting effort, i want to create a pointer which
points to the memory allocated by __dpmi_allocate_dos_memory()
and can be used by the image processing routines.

I'd be happy if somebody could help.

- Raw text -


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