Date: Sun, 22 Jun 1997 12:24:02 +0300 (IDT) From: Eli Zaretskii To: ERKI SAARTS cc: djgpp AT delorie DOT com Subject: Re: passing data to conventional memory In-Reply-To: <4C615216502@voru.pv.ee> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 21 Jun 1997, ERKI SAARTS wrote: > movedata((unsigned)_my_ds,(unsigned)&my_send,send_info.pm_selector, > send_info.pm_offset,sizeof(my_send)); (this line faults) `_my_ds' is a function, not a variable! Your code should read like so: movedata((unsigned)_my_ds(), (unsigned)&my_send, send_info.pm_selector, send_info.pm_offset, sizeof(my_send)); When everything else fails, read the documentation (the libc reference, in this case). From the DOS prompt: info libc alpha _my_ds [Enter]