flat assembler
Message board for the users of flat assembler.
Index
> DOS > How to get the 160x25 text mode |
Author |
|
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
|
|||
17 Aug 2011, 04:21 |
|
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 |
|||
10 Dec 2011, 18:26 |
|
freecrac 11 Dec 2011, 12:24
rugxulo wrote: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/ 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 |
|||
11 Dec 2011, 12:24 |
|
rugxulo 12 Dec 2011, 13:57
Quote:
Dunno, sorry, just try it and see. |
|||
12 Dec 2011, 13:57 |
|
freecrac 13 Dec 2011, 08:20
rugxulo wrote:
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:
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 |
|||
13 Dec 2011, 08:20 |
|
rugxulo 16 Dec 2011, 20:49
Oops, sounds risky. Well, have fun trawling through Linux sources ....
EDIT: Sorry if that's not helpful, that's just what came to mind. If I knew a better way .... |
|||
16 Dec 2011, 20:49 |
|
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
|
|||
17 Dec 2011, 01:32 |
|
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 |
|||
17 Dec 2011, 09:17 |
|
freecrac 17 Dec 2011, 09:38
rugxulo wrote: Oops, sounds risky. Well, have fun trawling through Linux sources .... 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 |
|||
17 Dec 2011, 09:38 |
|
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 ! |
|||
23 Dec 2011, 19:03 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.