From owner-freebsd-multimedia Sat Mar 29 14:53:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA18547 for multimedia-outgoing; Sat, 29 Mar 1997 14:53:29 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA18542 for ; Sat, 29 Mar 1997 14:53:27 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id OAA12381; Sat, 29 Mar 1997 14:53:28 -0800 (PST) Message-Id: <199703292253.OAA12381@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Richard Tobin cc: multimedia@freebsd.org Subject: Re: newest bt848 driver In-reply-to: Your message of "Sat, 29 Mar 1997 22:37:41 GMT." <28072.199703292237@pitcairn.cogsci.ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 29 Mar 1997 14:53:28 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Oh, there are other PAL users some of them I believe are just hiding out. Okay Luigi, where are you?? ---- Yeap, the default dma_prog size allocation per the bug that you reported for sure will not work for PAL. Here is an approximate breakdown for NTSC (640*480 interlace) for a single frame (240*320). 3840 = Interlaced lines * (full word size) * (4 instructions) 240 * 4 * 4 Plus a few more full words so the frame fits within the 4096 memory segment. Looking forward to the NTSC/PAL version 8) Have fun guys, Amancio >From The Desk Of Richard Tobin : > > The reason why it is working is because of round_page in vm_page.c > > rounds up to the nearest page so get_bktr_mem is getting 1 Page (4096 bytes ). > > I think I was having problems because the DMA program has a few > instructions for each scan line, and PAL has more lines than NTSC! > > I will shortly be releasing a version with PAL support for testing (I > don't know if there are any other PAL users out there, but I want to > know whether I've broken the NTSC code). > > -- Richard >