X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.224.110.68 with SMTP id m4mr1932404qap.2.1362757541295; Fri, 08 Mar 2013 07:45:41 -0800 (PST) X-Received: by 10.49.58.167 with SMTP id s7mr162139qeq.5.1362757541261; Fri, 08 Mar 2013 07:45:41 -0800 (PST) Newsgroups: comp.os.msdos.djgpp Date: Fri, 8 Mar 2013 07:45:41 -0800 (PST) Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.26.164.76; posting-account=hisACQoAAAC2UgU1qQdb7yDHwI0CXBhT NNTP-Posting-Host: 85.26.164.76 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: FATPTRGS From: starus2013 AT gmail DOT com Injection-Date: Fri, 08 Mar 2013 15:45:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 1867 Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello! I have a question FARPTRGS I use to use the register GS (the title FARPTRGS.h) instead FS register. Compile. But it turns out that is still used in operations FS register. (I noticed when viewing messages (Exiting due to signal Sigil) How can that be (I use the title FARPTRGS.h and applied FS register?) Maybe some linking options should I use? #include #include #include int main(){ int f,selector; __dpmi_meminfo info; info.size=1023; info.address=0x50000; selector = __dpmi_allocate_ldt_descriptors(1); if(selector == -1) return 0; if(__dpmi_set_segment_base_address(selector,info.address)==-1) return 0; if(__dpmi_set_segment_limit(selector,info.size-1)==-1) return 0; _farsetsel(selector); f=f/0; //call SIGIL return 1; }