Message-ID: <373E56C8.6383CA0C@yahoo.com> From: leroy X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en,ja MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: A way of emulating a BASIC routine in C. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 Date: Sun, 16 May 1999 15:25:28 +1000 NNTP-Posting-Host: 203.27.197.34 X-Complaints-To: abuse AT telstra DOT net X-Trace: nswpull.telstra.net 926832661 203.27.197.34 (Sun, 16 May 1999 15:31:01 EST) NNTP-Posting-Date: Sun, 16 May 1999 15:31:01 EST Organization: Customer of Telstra Big Pond Direct To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all, I'm writing a BASIC to C converter for DJGPP, I'm wondering about two things. Firstly the basic routine CALL ABSOLUTE takes a pointer to a string containing CPU opcodes (not ASM mnemonics), how could I emulate this in C? Secondly with DJGPP does the DPMI host trap all real-mode requests or just the ones it knows about? If it does could I implement a BASIC Call absolute routine, written for real-mode and would it run in pmode without having to modify anything? Cheers, leroy.