Mail Archives: djgpp/1996/01/21/04:45:34
On Sat, 20 Jan 1996 strider7 AT unm DOT edu wrote:
> Im trying to set my palette and i need to put the offset of a pointer in
> the dx register and the segment of the pointer in the es register. Here's
> what it looks like in bc++:
You will be far better off if you do it in C, not in assembly. Gcc's
inline assembly syntax is *very* different from that of BC++. Even in C,
you'll have to learn how to issue software interrupts which use buffers
from protected mode. A good place to start is the DJGPP FAQ list
(faq102.zip from the same place you get DJGPP), Chapter 18.
- Raw text -