Re: MAX_REGS 5000

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Fri 20 Oct 2000 - 19:33:20 IST


> > > #define MAX_REGS 5000
> 
> well: ist this size in `bytes' ? -- who cares about
> 5000 vs. 8000 bytes nowadays anyway.

While it does not seem much, there is no reason to waste more than is
needed. If there is a problem, svgalib gives the following error
message:
"Set MAX_REGS at least to %d in src/driver.h and recompile everything.\n"

This value is the size of the buffer svgalib uses to save the video card
state (not related to the video ram). The vga driver uses 60 bytes. most
drivers don't use more than 100 bytes more, so raising this size is
unnecessary, unless there are cards that require it.

> SuperProbe:
> 
> First video: Super-VGA
> 	Chipset: ATI 264LT Pro (3D Rage LT Pro) (Port Probed)
> 	Memory:4096 Kbytes
> 	RAMDAC:ATI Mach64 integrated 15/16/24/32-bit DAC w/clock
> 		 (with 6-bit wide lookup tables (or in 6-bit mode))
> 		 (programmable for 6/8-bit wide lookup tables)
> 	Attached graphics coprocessor:
> 		Chipset: ATI Mach64
> 		Memory:4096 Kbytes
> 
> But I got libvga only running with
>
> chipset VESA
> colortext
> VesaText

This should work with the rage driver (or at least almost work).
It should at least be recognised and the memory amount probed correctly.
Please try running vgatest (latest svgalib, without any chipset line),
and tell me what does not work.


-- 
Matan Ziv-Av.                         matan@svgalib.org


------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST