On Tue, 18 Nov 2003, MEGHAZI FABIEN wrote:
> Hi all,
>
> I would like to set up my own mame arcade cabinet, I saw that
> lot of people use AdvanceMame that programs good frequencies
> directly to the video card, but I don't want to use AdvanceMenu,
> I want to code my own menu using SDL under X. But as I don't know
> very much about this, I would like to know if it is possible to
> write a modeline for X so it will use a 640x480 resolution using
> a 25Khz horizontal frequency and a 60Hz Vertical frequency.
> And if it's possible, do I need to get a special gfx card, or
> is there a chance it will work on my old Nvidia Riva TNT 2 ?
>
>
> Here are the specification of my monitor :
>
> MEDIUM RESOLUTION
>
> HORIZONTAL VERTICAL
> Scan Frequency: 25.00 KHz Scan Frequency: 60.0 Hz
> Scan Period: 40.0 �Sec Scan Period: 16.7 mSec
> Active Video: 32.0 �Sec Active Video: 15.4 mSec
> Video Delay: 7.2 �Sec Video Delay: 1.2 mSec
115 clocks. 30 scanlines.
> Sync Pulse: 4.0 �Sec Sync Pulse: 0.2 mSec
64 clocks. 5 scanlines.
> Scan Line: 640 Pixels Screen: 416 Lines
htotal vtotal
> Resolution: 512 Pixels Resolution: 384 Lines
hdisplay vdisplay
> Clock Freq: 16.00 MHz
That's 512x384 not 640x480
# 512x384 @ 60.00 Hz hsync: 25.00 kHz; pclk: 16.00 MHz
Modeline "512x384" 16.00 512 525 589 640 384 386 391 416 -HSync +VSync
Yes, a TNT2 should be able to generate that. You might need to
play with +/- HSync, VSync depending on how picky the monitor is.
Mark.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86