[comp.sys.ibm.pc] VGA mode with 80 col and >25 lines?

mcdonald@uxe.cso.uiuc.edu (09/22/88)

>Are there any PD utilities that can give 80 x 40-50 text on VGA?

Yes. Here it is, uuencoded:

begin 0666 mode5080.com
>N , S1"T$; 2LP#-$+02L "S(,T0M &Y!P3-$,T@

end

This thing should generate a 30 byte file called mode5080.com.
Here is the assembler code:

cseg    segment para public 'code'
        org     100h
SETMOD  proc far
        assume cs:cseg,ds:cseg
        mov     ax,3
        int     16
        mov     ah, 17
        mov     al, 18
        mov     bl, 0
        int     16
        mov     ah, 18
        mov     al, 0
        mov     bl, 32
        int     16
        mov     ah, 1
        mov     cx, 0407h
        int     16
        int     020h
SETMOD  endp
end     SETMOD
It can be reversed by typing "mode co80".

In DOS 3.3 dos itself runs just fine in this mode. So does WordPerfect
5.00, but precious little else.

Doug McDonald