24 November 2007, 08:37 | #1 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,770
|
Interlace question. Solved!
Good day folks,
Does anyone know how to setup an interlace screen using only the hardware registers? I currently have a 1280x256 ham8 screen up and running, and I want to make this 1280x512. Just setting the interlace bit in bplcon0 seems to be only one step, one would think it would be enough... Any help is greatly appreciated. Last edited by Thorham; 24 November 2007 at 16:01. |
24 November 2007, 09:28 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,002
|
You have to double the modulo so that only every second line is displayed and then you have to alternate the memory address every frame. Use the first line for a long frame and the second line for a short frame. I don't remember how to identify a long frame, though.
To do this with the copper only, you can use two copper lists and set the address of the second list at the end of the first one and vice versa. |
24 November 2007, 10:14 | #3 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,770
|
Sounds good. Thanks
I seem to remember something about this, but only very vaguely. |
24 November 2007, 10:27 | #4 |
Total Chaos AGA is fun!
Join Date: Jun 2005
Location: USA
Posts: 873
|
Are you coding an interlace demo?
|
24 November 2007, 10:52 | #5 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,770
|
It works! Hurray!! There are still some issues, though. But I guess I can fix them (hopefully).
Major thanks to thomas |
24 November 2007, 11:00 | #6 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,770
|
It's for a bmp viewer example I've coded. I wanted to see how fast a 3x1 pixel shires ham8 24 bit bmp viewer with scaling would be. The program scales down a 24bit bmp to 33%x50% in good quality. I just needed the interlace mode to get the aspect ratio of the display right. It's a good idea, though, however I'm not really a graphics/music guy, so any demo I would make wouldn't really be very cool. Also, my current c2p routine is quite unoptimized so I wouldn't be able to code up anything impressive!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need a TV with flicker free interlace | VoltureX | support.Hardware | 15 | 28 December 2011 21:37 |
interlace a3k | lost_loven | support.Hardware | 11 | 27 November 2011 16:16 |
Resolution Autoswitch and Interlace | Leandro Jardim | support.WinUAE | 4 | 06 April 2011 10:47 |
de-interlace algorythm | VermillioN | request.UAE Wishlist | 4 | 15 August 2004 05:50 |
|
|