This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Regards. Antoine
On Thu, Feb 28, 2008 at 09:01:44PM +0100, Antoine.Amirault@esial.uhp-nancy.fr wrote:Hi!
I'm trying to write on the VGA buffer of a PC at the 0xa0000 address on graphical mode (and not text).
I wrote a C program using interruption in ASM, trying to switch into graphical mode :
asm volatile ( " movl $0x0013,%eax; int $0x10; " )
But apparently, it doesn't work. I think it's because the int mnemonic hasn't any effect.
Do you know how to use software interrupt under eCos (with or without the HAL)?
Or do you know another way to write something on a screen by writing on the video buffer? I've managed to print some characters by writing directly in the text buffer at the 0xb8000 address, but it doesn't work for the video buffer.
In summary, is there another way to emit software interruption ?
Is this to do with real and protected mode? I no nothing about this, but there has been some discussion about similar things in the past. So check the email archive. But i think the processor is in the wrong mode to be able to call the BIOS.
Andrew
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |