Re: Problem with BitBLT
From: Fredrik Söderqvist <hidden>
Date: 2003-07-09 19:29:52
I'm a bit concerned about the tenth bit in the BR04 register. Datasheet (page 325) says:
"10 Source select
0: Configures the BitBLT engine to read the source data from the frame buffer ...
1: Configures the BitBLT engine to accept the source data from the host CPU via the BitBLT data port ..."
So if we want copy VRAM->VRAM bit 10 should be 0 - no?
Regarding BR04 (bits 0-7):
Since 0xFF is the "write all 1:s" and you see a small block, I believe you are correct when you think the problem is with the transfer from System RAM -> VRAM. The 0xCC should though be what we need... (source copy).
Maybe you could try moving the source data to a different offset than 0? If there are any issues with overlapping...
Filling the entire VRAM with a pattern could perhaps also help in find the problem.
Regards,
F. Söderquist
Content-Type: multipart/alternative;
boundary="----_=_NextPart_002_01C3463F.4D99F2A8"
------_=_NextPart_002_01C3463F.4D99F2A8
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
HI!
Iam trying to program the Bit BLT engine of 69030 with the attached code, but nothing is visible on the screen.
When I select the bitwise operation as 0xFF(write to BR04) ,the white block is coming at desired location and of desired size.
But whwn I choose it as 0xCC nothing comes on screen...
Can any one please help me out of this......
THANKING U IN ADAVANCE
regards,
Nitin Mahajan
mail:nitin@soc-soft.com
Ph:51101667. Mobile : 9886099925
======================================
The Lord gave us two ends -- one to sit on and the other to think with. Success depends on which one we use the most.
------_=_NextPart_002_01C3463F.4D99F2A8
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=863152217-09072003>HI!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=863152217-09072003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=863152217-09072003>Iam trying to
program the Bit BLT engine of 69030 with the attached code, but nothing is
visible on the screen.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=863152217-09072003>When I select the
bitwise operation as 0xFF(write to BR04) ,the white block is coming at
desired location and of desired size.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=863152217-09072003>But whwn I choose it
as 0xCC nothing comes on screen...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=863152217-09072003>Can any one please
help me out of this......</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=863152217-09072003>THANKING U IN
ADAVANCE</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=863152217-09072003>regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana size=2>Nitin Mahajan</FONT></DIV>
<DIV align=left><FONT face=Verdana size=2>
<DIV align=left><FONT face=Verdana
size=2>mail:nitin@soc-soft.com</FONT></DIV></FONT></DIV>
<DIV align=left><FONT face=Verdana size=2>Ph:51101667. Mobile :
9886099925</FONT></DIV>
<DIV align=left><FONT face=Verdana
size=2>======================================</FONT></DIV>
<DIV align=left><FONT face=Verdana size=2>The Lord gave us two ends -- one to
sit on and the other to think with. Success depends on which one we use the
most.</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_002_01C3463F.4D99F2A8--