![]() |
![]() |
#1 |
Registered User
Join Date: Jan 2019
Location: Malmö / Sweden
Posts: 10
|
Blitter line draw BLTADAT
I'm trying to draw multiple lines using only one line draw - and it's not working. I hope some of you can help. Btw. I'm using WinUAE.
I'm setting BLTADAT to 0x8888 which should draw one line as four parallel lines. However, the output is not as I expect. Instead of seeing four parallel lines I see lines interrupted by a saw-tooth pattern. Here shown using the simple minterm D=A (0xf0) in BLTCON0 bits 0-7. I also tried another minterm D=!A (0x0f) so that I paint everything but the line. This last image reveals the areas that are blitted during the line draw. It sure looks like the blitter never can draw four parallel lines, because that would require the blit areas to be different. And if that's true, then what's the point of setting BLTADAT to anything else than 0x8000? EDIT: Standard Amiga 500 1.3 kickstart using WinUAE. Last edited by Markowitch; 26 September 2021 at 14:12. |
![]() |
![]() |
#2 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 2,846
|
Quote:
Apparently, and UAE seems to emulate this properly, it is a state-dependent right-shift, which sounds quite plausible. This is hardware, not kickstart related. Don't bang the hardware, please. |
|
![]() |
![]() |
#3 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 310
|
|
![]() |
![]() |
#4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 26,090
|
Result is like that because blitter is always word based, even in line mode. Linedraw mode is basically a hack.
(And do keep banging the hardware unless you want to do something serious and boring ![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Jan 2019
Location: Malmö / Sweden
Posts: 10
|
Thanks for the replies - much appreciated.
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitter line consistency | Jobbo | Coders. Asm / Hardware | 7 | 04 December 2020 19:59 |
Blitter line drawing: nothing happens | Crank | Coders. General | 21 | 25 April 2018 21:43 |
Blitter poly-line draw & filling - the 100th | Herpes | Coders. Asm / Hardware | 12 | 14 May 2014 01:34 |
Clipping line for blitter fill | leonard | Coders. Asm / Hardware | 12 | 27 April 2013 12:03 |
Line mode blitter | absence | Coders. General | 4 | 25 September 2009 20:50 |
|
|