Mail Archives: djgpp/1995/09/27/11:09:47
On Mon, 25 Sep 1995, Todd Muhlfelder wrote:
> So, I tried to do this line in DJGPP (works fine in Turbo C++):
>
> _AX = 0x0013 /* Gets into Mode 13H */
>
> and i got an error message. How do I write this in DJGPP's ASM? Please
> help me out and tell me if there is a special way to do ASM in DJGPP.
Please, *please*, PLEASE read the DJGPP FAQ list! The above question is
answered there in so many words, in section 17.1. This issue is too
large and complex to answer here, so please read the docs, including the
GCC Info files which explain how to use the inline assembly.
> Plus, if anyone has time, please tell me how to do this DJGPP:
>
> unsigned char *vga = (unsigned char *) MK_FP(0xA000, 0);
This is also explained in the FAQ, section 10.6.
The latest version of the DJGPP FAQ list is available as faq102.zip from
the same place you get DJGPP.
- Raw text -