🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #252

Turbo C console i/o routines and non-standard video modes

#252
From: Richard Brittain
Date: Tue, 14 Nov 1989 23:22
22 lines
1606 bytes
Hello, 
    I'm writing some code that I would like to be usable in non-standard
text modes like 43x80 and larger.  As I don't have the neccessary hardware to
hack on I hope that someone can tell me if this is worth pursuing:
1)  Whether Borlands console i/o routines will work (cputs, cprintf etc.) in
    a window larger than 25x80
2)  Whether the standard i/o routines will work, assuming the display is
    already in the required mode, or can be set using something nnansi.sys

I have already established that the gettextinfo() routine does not return
the correct screen size but I think I can fix that.  If the window() routine
won't accept the larger values however, it isn't worth it.
With the large screen capabilities on some video cards, is the normal way to
provide for them by giving replacement bios routines for int 10h, or do they
usually provide a replacement console device driver and do everything via that.

Thanks in advance

Richard Brittain,                   School of Elect. Eng.,  Upson Hall   
                                    Cornell University, Ithaca, NY 14853
ARPA: richard@calvin.spp.cornell.edu	
UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard
Technical Details
Message-ID: <2090@calvin.EE.CORNELL.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!calvin!richard

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!calvin!richard
From: richard@calvin.EE.CORNELL.EDU (Richard Brittain)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc
Subject: Turbo C console i/o routines and non-standard video modes
Message-ID: <2090@calvin.EE.CORNELL.EDU>
Date: 14 Nov 89 23:22:57 GMT
Organization: Cornell Space Plasma Physics, Ithaca, NY
Lines: 22