Message-Id: <3.0.2.32.20001029024820.007c8150@pop3.uol.com.br> X-Sender: slotman AT pop3 DOT uol DOT com DOT br X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Date: Sun, 29 Oct 2000 02:48:20 -0200 To: djgpp AT delorie DOT com From: SLotman Subject: Porting to djgpp Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com Can anyone help me with this? I found some source code on how to copy cd tracks to wav files. All the code compiles well under djgpp except this routine: void CallDevice(void *ptr) { static union REGS reg; static struct SREGS seg; segread(&seg); seg.es=FP_SEG(ptr); reg.x.ax=0x1510; reg.x.bx=FP_OFF(ptr); reg.x.cx=CDROM; int86x(0x2f, ®, ®, &seg); } I know it is about the flat address memory djgpp uses, and I read the djgpp FAQ, but I have no clue on how to convert it to djgpp - I only know the basics of C... Any help appreciated.... Thanks in advance, SLotman