From: "Andrew Fairburn" Newsgroups: comp.os.msdos.djgpp Subject: Accesing real mode services.... Date: Wed, 14 Nov 2001 11:41:55 -0000 Organization: University of Durham, Durham, UK Lines: 15 Message-ID: <9stl4l$9ki$1@sirius.dur.ac.uk> NNTP-Posting-Host: secom189.dur.ac.uk X-Trace: sirius.dur.ac.uk 1005737941 9874 129.234.207.189 (14 Nov 2001 11:39:01 GMT) X-Complaints-To: usenet AT durham DOT ac DOT uk NNTP-Posting-Date: Wed, 14 Nov 2001 11:39:01 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MSMail-Priority: Normal To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hi, I've been writing a application which uses a packet driver to talk to the network card, ive been able to pass instructions to the packet driver through the registers using int86x command but the problem starts when i send the packet driver a pointer (es:di / code segment:offset) to one of my programmes functions, when it calls it back teh whole thing just crashes, without error message. Is this because it is a real mode service trying to call my protected programme? Is there anyway to call the interrupt and pass the pointer from my programme so it does not do this? Thanks, andy.