From: phreadd AT powerup DOT com DOT au (David Orme) Newsgroups: comp.os.msdos.djgpp Subject: newbie doing a port from BC to DJGPP Date: 12 Apr 1997 13:12:22 GMT Organization: Power Up Lines: 27 Message-ID: <5io1nm$t3c$1@grissom.powerup.com.au> Reply-To: phreadd AT powerup DOT com DOT au NNTP-Posting-Host: ts1510.powerup.com.au Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Ok, so I'm a newbie to the newgroup (I found it today) so I don't know what the main topics are. I've visited www.delorie.com (and used the links) but I'm having trouble with a _tiny_ problem, maybe I'm just blind :). If I can't use MK_FP, FP_SEG or FP_OFF, how do I do the following: union REGS r; struct SREGS s; s.es=FP_SEG(VESA_mode_info_ptr); r.x.di=FP_OFF(VESA_mode_info_ptr); to change the data degment reference and get the VESA mode information put in my VESA_mode_info structs? This is bugging me because my libs work fine in Borland C but it's tricky (if not difficult) to port them to DJGPP. Thanx in advance. +----------------------------------------+ | David Orme \/\ | | Phreadd AT powerup DOT com DOT au /\/ | +----------------------------------------+ | "Striving for Excellence" | +----------------------------------------+