Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE30136C05D@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Assembly in Libraries Date: Wed, 5 May 1999 10:07:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Matthias Skobowsky writes: > I got a nice library and a nice program, but the library is written > using Borlands Inline Assembly. So I went to the news group and read a > lot of mails concerning assembly. I looked at the FAQ chapter 17 and > tried to change it to the AT&T syntax. After some trying there were no > more syntax errors but a general protection fault. This sort of routine works very differently in protected mode, so you will need to do much more work than just converting the asm format: basically you have to understand what it is trying to do, and then rewrite it in a protected mode style. The djgpp FAQ has lots of information about how to write to video memory. But you probably don't need to bother, because there are libc functions that can do all this stuff for you: see "info libc func conio". Shawn Hargreaves.