Re: video modes ocs_ecs_aga.txt
On Sun, 1 Feb 2004, Lance Tagliapietra wrote:
> I'm trying to get Linux-m68k to boot up in the ntsc-lace video mode
> using the information in the ocs_ecs_aga.txt and more recently, the
> kernel-options.txt in the kernel source tree for m68k.
> So far I have been unsuccessful. I'd appreciate what I would need to
> put on the command line for a video= option which makes this work.
> Note that this machine has a 1M agnus and a ocs denise chip.
> I have a de-interlacer card in this machine and I would like to take
> advantage of the increased resolution.
`video=amifb:ntsc-lace' (or just `video=ntsc-lace') should work.
BUT, while looking this up to be 100% sure, I found there's a bug in the
ami_modedb entry for that mode. The vertical resolution is missing, so it
won't work :-(
Time to convert it to C99 initializers... In the mean time, try this patch, it
should apply to almost anything:
--- linux-m68k-2.4.24/drivers/video/amifb.c.orig 2003-04-06 10:29:30.000000000 +0200
+++ linux-m68k-2.4.24/drivers/video/amifb.c 2004-02-02 10:46:21.000000000 +0100
@@ -807,7 +807,7 @@
FB_SYNC_BROADCAST, FB_VMODE_NONINTERLACED | FB_VMODE_YWRAP
/* 640x400, 15 kHz, 60 Hz interlaced (NTSC) */
- "ntsc-lace", 60, 640, TAG_HIRES, 106, 86, 88, 33, 76, 4,
+ "ntsc-lace", 60, 640, 400, TAG_HIRES, 106, 86, 88, 33, 76, 4,
FB_SYNC_BROADCAST, FB_VMODE_INTERLACED | FB_VMODE_YWRAP
/* 640x256, 15 kHz, 50 Hz (PAL) */
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- email@example.com
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds