flat assembler
Message board for the users of flat assembler.

Index > DOS > How to get the 160x25 text mode

Author
Thread Post new topic Reply to topic
CandyMan



Joined: 04 Sep 2009
Posts: 413
Location: film "CandyMan" directed through Bernard Rose OR Candy Shop
CandyMan 16 Aug 2011, 17:18
I used SVGATextMode to get nonstandard text mode.
I can't get mode with more than 132 columns on my video card (NVIDIA GeForce 9600 GSO).
Maybe you know how to get this mode?
Post 16 Aug 2011, 17:18
View user's profile Send private message Reply with quote
Stephen



Joined: 13 Aug 2011
Posts: 30
Stephen 17 Aug 2011, 04:21
My couple of GeForce cards are kind of funny about hi rez Vesa modes and hi rez modes called through the video bios int. Some that report as invalid really are there, if you just call them and some that report as valid aren't or have some bugs. I think the video card makers quit putting out more then a token effort to support that kind of access to their hardware. The basic ones that were defined when basic was in use do seem to work, but higher rez stuff seems buggy or not well supported. I don't have a 9600, so can't do any checking
Post 17 Aug 2011, 04:21
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 10 Dec 2011, 18:26
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/

Code:
   svgatextmode_1_9_16rc1-dos.tgz  05-Jan-2007 04:29   562K
        svgatextmode_1_9_16rc1-src.tgz  05-Jan-2007 04:29   467K
        svgatextmode_1_9_16rc1.txt      05-Jan-2007 04:29   793
    
Post 10 Dec 2011, 18:26
View user's profile Send private message Visit poster's website Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac 11 Dec 2011, 12:24
rugxulo wrote:
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/

Code:
       svgatextmode_1_9_16rc1-dos.tgz  05-Jan-2007 04:29   562K
        svgatextmode_1_9_16rc1-src.tgz  05-Jan-2007 04:29   467K
        svgatextmode_1_9_16rc1.txt      05-Jan-2007 04:29   793
    

Are these modes works only on older video cards, because i only found a list of older cards inside the sources?

SVGATextMode.des:
Code:
SVGA textmode manipulation/enhancement tool. Uses SVGA card features (esp.
high pixel clocks) to enhance Linux text modes. S3, Tseng Labs, Cirrus
Logic, Trident, Western Digital, ATI, Video7 (Headland), Avance Logic (ALI),
Oak Technology (OTI), SiS, RealTek, ARK, NCR, Genoa (GVGA), MX, Matrox
Millennium and Mystique, Neomagic and RIVA128 cards supported.    

Dirk
Post 11 Dec 2011, 12:24
View user's profile Send private message Send e-mail Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 12 Dec 2011, 13:57
Quote:

Are these modes works only on older video cards, because i only found a list of older cards inside the sources?


Dunno, sorry, just try it and see.
Post 12 Dec 2011, 13:57
View user's profile Send private message Visit poster's website Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac 13 Dec 2011, 08:20
rugxulo wrote:
Quote:

Are these modes works only on older video cards, because i only found a list of older cards inside the sources?


Dunno, sorry, just try it and see.

But i found inside of the "STMText.cfg" only a Riva 128 card from NVIDIA, so i donĀ“t know how to configure a modern NVIDIA-card like a Geforce.
Same with modern cards from ATI/AMD wich are different to older ones like one of the Rage series, Fire GL series, or the VGA Wonder series.
And it is long time ago that i use a ET4000 card.

At last i found a comment in the "Nosuport.txt":
Quote:
....Modern VGA controllers are much more difficult to set up. More work for less results? Hmm...

and additional a comment in the "STMText.man":
Quote:

WARNING 3:
The clocks lines in the distribution TextConfig are just exam-
ples, and only work for some cards. Don't use them unless you
know they're OK.

And what is happend if we use a LCD-monitor with 60 hz horizontal frequency/refreshrate instead of a CRT-monitor with 96khz/160hz like most 19"-CRTs provide?

Dirk
Post 13 Dec 2011, 08:20
View user's profile Send private message Send e-mail Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 16 Dec 2011, 20:49
Oops, sounds risky. Well, have fun trawling through Linux sources .... Sad
EDIT: Sorry if that's not helpful, that's just what came to mind. If I knew a better way ....
Post 16 Dec 2011, 20:49
View user's profile Send private message Visit poster's website Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1166
Location: Overflow
Matrix 17 Dec 2011, 01:32
well i'd just use a bios font, and set up a graphic mode, then define some simple functions that display a virtual textmode
Post 17 Dec 2011, 01:32
View user's profile Send private message Visit poster's website Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac 17 Dec 2011, 09:17
Matrix wrote:
well i'd just use a bios font, and set up a graphic mode, then define some simple functions that display a virtual textmode

Yes this is simple possible to read every dot of an ASCII from the character table of the bios and set it pixel by pixel to the videoram using a high resolution of a graphic mode with 8 Bit, 15/16 Bit, 24/32 Bit-color width.
If the ouput of the ASCII in a high resolution is to small, then we can enlarge every dot using 4 pixel for each one to become taller signs.

Additonal we can use an own table of character like this example below:
Code:
T21 DB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;                
    DB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;                
    DB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;                
    DB 0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0 ;   **           
    DB 0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0 ;   ********     
    DB 0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0 ;   **********   
    DB 0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0 ;   ***********  
    DB 0,0,0,1,1,0,0,0,0,0,0,1,1,1,0,0 ;   **      ***  
    DB 0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0 ;          ****  
    DB 0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0 ;      ********  
    DB 0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0 ;    **********  
    DB 0,0,0,1,1,1,1,1,0,0,0,1,1,1,0,0 ;   *****   ***  
    DB 0,0,0,1,1,1,0,0,0,0,0,1,1,1,0,0 ;   ***     ***  
    DB 0,0,0,1,1,1,0,0,0,0,0,1,1,1,0,0 ;   ***     ***  
    DB 0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0 ;   ************ 
    DB 0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0 ;    *********** 
    

Dirk
Post 17 Dec 2011, 09:17
View user's profile Send private message Send e-mail Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac 17 Dec 2011, 09:38
rugxulo wrote:
Oops, sounds risky. Well, have fun trawling through Linux sources .... Sad

For me it is also not very simple to read the linux sources.

Quote:
EDIT: Sorry if that's not helpful, that's just what came to mind. If I knew a better way ....

Thanks for to try to find a solution. It is really not simple to understand those behavior around to set up stable CRTC values and all the things that are importend to establish such modes.

Dirk
Post 17 Dec 2011, 09:38
View user's profile Send private message Send e-mail Reply with quote
Czerno



Joined: 02 Jun 2009
Posts: 8
Czerno 23 Dec 2011, 19:03
Matrix wrote:
well i'd just use a bios font, and set up a graphic mode, then define some simple functions that display a virtual textmode


NO NO NO - that can't replace sVGA text modes. Doesn't support hardware fonts and other attributes, and above all that's incredibly slow - scrolling in particular is unbearable.

This is where you need to tweak the VGA HW - using svgatext or otherwise.
It's not rocket science, the difficult part as always being to obtain accurate datasheet from the videoadapter manufacturer.

Happy XMas you all !
Post 23 Dec 2011, 19:03
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.