Path: utzoo!attcan!uunet!peregrine!elroy!ames!ncar!tank!uxc!uxc.cso.uiuc.edu!uxg.cso.uiuc.edu!uxe.cso.uiuc.edu!mcdonald
From: mcdonald@uxe.cso.uiuc.edu
Newsgroups: comp.sys.ibm.pc
Subject: Re: VGA mode with 80 col and >25 lines?
Message-ID: <45900154@uxe.cso.uiuc.edu>
Date: 22 Sep 88 14:55:00 GMT
References: <5385@ecsvax.uncecs.edu>
Lines: 40
Nf-ID: #R:ecsvax.uncecs.edu:5385:uxe.cso.uiuc.edu:45900154:000:857
Nf-From: uxe.cso.uiuc.edu!mcdonald    Sep 22 09:55:00 1988



>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