[comp.sys.ibm.pc] Some help please? CGA, QuickC, PS/2 Mouse?

sam@ncsuvx.ncsu.edu (Sam Moore) (02/18/88)

I have a few questions:

1.  I want to be able to do an XOR into the display buffer when I write
    a line with QuickC's line functions. Is this possible?

2.  When using the mouse on my PS/2 I can't move it while doing a drawing
    operation with QuickC. I have written a simple icon editor that I
    use the PS/2's mouse and QuickC's graphics functions in. When I am
    drawing a line, say, I can't move the mouse or I get garbage where I
    am drawing. The mouse cursor is no where near the drawing operation. Is
    there a way to avoid this?

3.  I have an application that needs the top 128 charcters to be addressable
    in CGA graphics mode(6). I know there is a vector that is in low memory
    that the BIOS uses to look for those character maps. And I know that it
    is not initialized on some systems. This makes it my responsibility. I
    would like to have it done programatically, and not by a DOS utility
    program. Is there a generic way of doing this that will be portable
    across systems? Is the table at the same address, always? Need I just
    set the vector to this address? If so, what address is it? Otherwise,
    how else is it done? It is hard for me to know what a true CGA adapter
    is going to do. I don't have one. My system sets the vector for me.


Any help is appreciated. Mail to me or post to comp.sys.ibm.pc or comp.graphics.
Whatever is easier for you, and appropriate for the net.

Thanks.


-- 
Sam Moore                          ||\\  || //==\\ //==\\ ||   ||
NCSU Computing Center              || \\ || ||     ||==\\ ||   ||
Raleigh, NC                        ||  \\|| ||         || ||   ||
sam@ncsuvx.ncsu.edu                ||   \\  \\==// \\==||  \\==//