🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4400

Re: Video Modes..

#4400
From: ONG ENG TENG
Date: Mon, 28 Jan 1991 20:39
27 lines
1459 bytes
From article <42952@nigel.ee.udel.edu>, by shearer@cis.udel.edu (Rob Shearer):
> The question is...  how can i get MY program to put the VGA card into 80x50
> mode...??  I have looked at several different memory locations...  I can
> have my program FIND the fact that it is 80x50 (I can even calculate the 50
> lines based on scan lines...)..  BUT INT 10 function 0x0f informs me I am in
> mode 0x03..  (80x25..)  no matter what I do (unless I go to 132x43 mode).
> 
> So, evidentatly all NCC is doing is changin the number of scan lines per
> char..  is that correct?
> 
> I would  like an example.... either pseudo code, "C" code, Pascal code,
> Assembly code, basic, ada...  ANYTHING!... I am desperate!

You have to execute the following machine assembler sequence to
get into 80x50 mode (or 80x43 on EGA cards): 
 
          mov  ax,1112h       ; go into 80x50 mode
          sub  bl,bl
          int  10h  
>
> Thanks in Advance
> Robb Shearer
> shearer@sol.cis.udel.edu

You are welcome.

E. Teng Ong (ong@d.cs.okstate.edu) 
Technical Details
Message-ID: <1991Jan28.203958.24561@d.cs.okstate.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!unmvax!uokmax!d.cs.okstate.edu!ong
References: <42952@nigel.ee.udel.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!unmvax!uokmax!d.cs.okstate.edu!ong
From: ong@d.cs.okstate.edu (ONG ENG TENG)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Video Modes..
Message-ID: <1991Jan28.203958.24561@d.cs.okstate.edu>
Date: 28 Jan 91 20:39:58 GMT
References: <42952@nigel.ee.udel.edu>
Organization: Oklahoma State University
Lines: 27