Mail Archives: djgpp/2000/10/29/00:41:06
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
- Raw text -