On Sun, 30 Jan 2005 14:32:54 +0100, Stefan Franz <[EMAIL PROTECTED]> wrote:
> > Does anyone know of a way to "stretch" the ZSNES screen on the
> > TV-output usind SDL/DirectFB to eliminate the black borders on the
> > left and the right and make the pixels have the proper aspect ratio
> > instead of 1:1?  I was hoping there might be some special DirectFB
> > magic that will scale this in hardware to the right demensions.
> > Shawn
> 
> Hi,
> 
> I spent the whole night yesterday to get ZSNES
> running in fullscreen.
> Now it do but only in PAL mode but i prefer NTSC
> (NTSC games will run at 50 Hz :().
> With NTSC its not really fullscreen but the borders are
> alot smaller. Before it was 3:4 aspect ratio.
> 
> Ok , here is what i did and my settings:
> 
> Changes :
> 
> Changed code (+ DirectFB patch) in ZSnes 1.42 sw_draw.c :
> ==========================================================
>       //unsigned int color32, p;
>       //int i;
> //    Uint32 flags = SDL_DOUBLEBUF | SDL_SWSURFACE | SDL_FULLSCREEN;
>       Uint32 flags = SDL_DOUBLEBUF | SDL_HWSURFACE | SDL_RESIZABLE |
> SDL_ANYFORMAT;
>       DWORD GBitMask;
> 
> //    flags |= (FullScreen ? SDL_FULLSCREEN : 0);
> 
> ~/.zsnes/zsnesl.cfg :
> ======================
> VideoModeLin = 2
> 
> env | grep SDL :
> ======================
> SDL_DIRECTFB_MGA_OVERSCAN=1
> SDL_VIDEODRIVER=directfb
> SDL_DIRECTFB_MGA_CRTC2=1
> SDL_VIDEO_YUV_HWACCEL=1
> SDL_DIRECTFB_MGA_STRETCH=1
> 
> cat /etc/directfbrc :
> =======================
> matrox-crtc2
> matrox-tv-standard=pal
> primary-layer=1
> 
> dfbinfo :
> =======================
> (01) FBDev Primary Layer
>           Type: graphics
>           Caps: brightness contrast saturation surface
> 
> (00) Matrox Backend Scaler           (primary layer)
>           Type: graphics picture video
>           Caps: brightness contrast deinterlacing dst_colorkey
> screen_location surface
> 
> (02) Matrox CRTC2
>           Type: graphics picture video
>           Caps: brightness contrast flicker_filtering hue saturation surface
> 
> Another thing is , i have made some changes to DirectFB-0.9.20 ,
> so it can handle with sysfs and work on kernel > 2.5.x ( 2.6.10 here).
> I wasnt lucky with > 0.9.20.
> 
> Well , its not the usual configuration. Primary layer is now
> "Matrox Backend scaler" with the result , that mostly everything is
> fullscreen ;).
> BTW. its funny to play Monkey Islands(ScummVM) on TV.
> Bad that i only own a Duron 750 in my HTPC , so
> Command & Conquer (dosbox) is pretty slow :(
> 
> I hope this help a bit :D.
> 
> BYE


I'll give those a try; I have an NTSC television, so we'll see if I
can make it work with your new changes.  Thanks for your info and
contribution!

-- 
Want free stuff?  Find out how to get it:
- - - - -  http://dowler.homelinux.org   - - - - -

"Hey Fat Mike, did you eat all the food on the ISS?"


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to