Q: 80x50 text-mode and hiding the cursor 
Author Message
 Q: 80x50 text-mode and hiding the cursor

Any information regarding the following questions would be greatly
appreciated:

What is the mode number (via int 10h) for 80x50x16 colour textmode?
It doesn't appear in Ralph Brown's Interrupt List...
and
How does one hide the text cursor?

Thanx in advance...



Mon, 25 Oct 1999 03:00:00 GMT  
 Q: 80x50 text-mode and hiding the cursor

Quote:
>What is the mode number (via int 10h) for 80x50x16 colour textmode?
>It doesn't appear in Ralph Brown's Interrupt List...

It's the same as for 80x25. The difference is the font size. For normal
VGA
text modes, the font size is 8x16 (9x16 displayed). To get 80x50, you
have to select a 8x8 font using INT 10h, AH=11h, etc...

Quote:
>How does one hide the text cursor?

This depends on the used video card. Using:

  mov  ah,1
  mov  cx,2000h
  int  10h

seems to work on any PC video system, AFAIK.

Herman



Tue, 26 Oct 1999 03:00:00 GMT  
 Q: 80x50 text-mode and hiding the cursor

Quote:

> Any information regarding the following questions would be greatly
> appreciated:

> What is the mode number (via int 10h) for 80x50x16 colour textmode?
> It doesn't appear in Ralph Brown's Interrupt List...
> and
> How does one hide the text cursor?

> Thanx in advance...

The text cursor can be hidden by calling int10/02 or so (set cursor)
with CX = 2000h. I don't know the answer to your first question, but
it can probably be done by playing with the standard EGA/VGA ports,
see HelpPC or so.
--
               *** When you build it, they will come ***


telnet://bbs.hro.nl

http://www.ptf.hro.nl/~walter/



Tue, 26 Oct 1999 03:00:00 GMT  
 Q: 80x50 text-mode and hiding the cursor

Quote:
>Any information regarding the following questions would be greatly
>appreciated:

>What is the mode number (via int 10h) for 80x50x16 colour textmode?
>It doesn't appear in Ralph Brown's Interrupt List...
>and
>How does one hide the text cursor?

>Thanx in advance...

there is no default mode nr. 80x50x16 !! that's why it isn't in the
list !
to set 80x50x16 :

        mov     dx, 03D4h
        mov     ax, 0814h                       ;// underline pos
        out     dx, ax
        mov     ax, 0709h                       ;// character height
        out     dx, ax
        mov     al, 12h
        out     dx, al
        mov     ah, ((43*8)-256-1)
        out     dx, ax
        xor     ax, ax
        mov     es, ax
        mov     word ptr es:[044Ah], 0050h
        mov     byte ptr es:[0484h], 2Ah
        mov     word ptr es:[0485h], 0008h
        mov     ax, 1112h
        mov     bl, 0
        int     10h                    

and to hide the cursor you whould do :

        mov     ax, 0100h
        mov     cx, 2000h
        int     10h

to get it back set cx to 0607h

greets,
  John

  http://www.dra.nl/~blade



Tue, 26 Oct 1999 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. 80x50 text mode

2. coding 80x50 text mode

3. Problem implementing 80x50 text mode with inline ASM

4. Funcky Protected Mode Graphical Mouse Cursor in Text Mode

5. Need Help: Get Cursor Position in text mode (mode 3)

6. Need Help: Get Cursor Position in text mode (mode 3)

7. Hiding and moving text cursor!

8. Q: how to show cursor in the Text widget in Read-Only mode

9. Would like to switch into 80x43/80x50 mode

10. 80x50 textmode

11. 80x50 textmode!

12. Question: How to hide text in text-widgets

 

 
Powered by phpBB® Forum Software