From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Real Mode function doesn't work Date: Sun, 16 Mar 2003 22:58:42 CST Organization: Rice University, Houston TX Lines: 12 Message-ID: <3e755602.sandmann@clio.rice.edu> References: NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1047877414 10886 128.42.105.3 (17 Mar 2003 05:03:34 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 17 Mar 2003 05:03:34 GMT X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > > dosmemput (disp_str, __tb, length); > > check the argument order here > That is the only order of the arguments that will compile. The prototype is void dosmemput(const void *_buffer, size_t _length, unsigned long _offset); (you can see this in include/sys/movedata.h). If it doesn't compile then there is something wrong with your code. Randomly changing argument order is no way to try to debug code. If you pass the wrong arguments it will never work.