Author Topic: EVE2 Lines and Bitmaps  (Read 641 times)

warriorofwire

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
EVE2 Lines and Bitmaps
« on: October 05, 2018, 10:11:32 PM »
Hi Newhaven!

I'm working on a simple displaylist that has a few lines.
At a glance:
  • Clear
  • 2 bitmaps (L1 then L8) placed with vertex2f
  • 3 white lines
  • green lines:
    • 64 green lines work great. (attached as dl_working_trim.hex)
    • 65 or more green lines cause garbage to be drawn on the display (attached as dl_broken_trim.hex)
Confusingly, if I remove the L8 bitmap, I can draw 65+ green lines without a problem.  If you take a peek at the display lists (1 command per line) you'll see that the broken DL only adds 2 commands (corresponding to a pair of vertex2f invocations to drop another line in the LINES primitive mode, the 65th green line).  I need that L8 bitmap though :-)

The upper garbage red bar does not even smoothly make a rectangle.  Its top row begins ~80% scanned to the right and the bottom row ends ~60% scanned to the right (of the apparent red rectangle).  Both of the garbage bars occur beneath all the lines, and the change that causes them to appear is the uppermost line on the display.

I've attached pictures of the 64 and 65 states, as well as the display lists that produce them.  The display lists were pulled from display memory and stored locally as a straight binary byte-for-byte dump.  I processed them via `hexdump -ve '/4 "%08X\n"' working_displaylist.dump > dl_working.hex` and trimmed to the first 0x00000000 command (END_DISPLAYLIST).  The diff is as expected by adding one green line; near the end of the broken (65 green line) display list, there are 2 commands:
```
diff dl_working_trim.hex dl_broken_trim.hex
159a160,161
> 51381B80
> 51381B40
```

What's going on with this display list?



P.S.  I'm sorry, the forum does not permit attachment of non-image files.  I'll have to paste these text hex displays of the display lists:
Working 64 lines |Broken 65 lines
02000000
26000007
22000000
04000000
1F000001
05000000
07086E91
08136A91
01000000
451812B0
21000000
04400606
1F000001
05000000
071BC08D
0813C08D
01001F27
44701140
21000000
04808080
1F000003
0E000006
44F018C0
44F01C20
44F01C20
52E01C20
52E01C20
52E01410
0E000020
04063006
1F000003
45381B80
45381B40
45681B80
45681B40
45981B80
45981B40
45C81B80
45C81B40
45F81B80
45F81B40
46281B80
46281B40
46581B80
46581B40
46881B80
46881B40
46B81B80
46B81B40
46E81B80
46E81B40
47181B80
47181B40
47481B80
47481B40
47781B80
47781B40
47A81B80
47A81B40
47D81B80
47D81B40
48081B80
48081B40
48381B80
48381B40
48681B80
48681B40
48981B80
48981B40
48C81B80
48C81B40
48F81B80
48F81B40
49281B80
49281B40
49581B80
49581B40
49881B80
49881B40
49B81B80
49B81B40
49E81B80
49E81B40
4A181B80
4A181B40
4A481B80
4A481B40
4A781B80
4A781B40
4AA81B80
4AA81B40
4AD81B80
4AD81B40
4B081B80
4B081B40
4B381B80
4B381B40
4B681B80
4B681B40
4B981B80
4B981B40
4BC81B80
4BC81B40
4BF81B80
4BF81B40
4C281B80
4C281B40
4C581B80
4C581B40
4C881B80
4C881B40
4CB81B80
4CB81B40
4CE81B80
4CE81B40
4D181B80
4D181B40
4D481B80
4D481B40
4D781B80
4D781B40
4DA81B80
4DA81B40
4DD81B80
4DD81B40
4E081B80
4E081B40
4E381B80
4E381B40
4E681B80
4E681B40
4E981B80
4E981B40
4EC81B80
4EC81B40
4EF81B80
4EF81B40
4F281B80
4F281B40
4F581B80
4F581B40
4F881B80
4F881B40
4FB81B80
4FB81B40
4FE81B80
4FE81B40
50181B80
50181B40
50481B80
50481B40
50781B80
50781B40
50A81B80
50A81B40
50D81B80
50D81B40
51081B80
51081B40
21000000
23000000
00000000
02000000
26000007
22000000
04000000
1F000001
05000000
07086E91
08136A91
01000000
451812B0
21000000
04400606
1F000001
05000000
071BC08D
0813C08D
01001F27
44701140
21000000
04808080
1F000003
0E000006
44F018C0
44F01C20
44F01C20
52E01C20
52E01C20
52E01410
0E000020
04063006
1F000003
45381B80
45381B40
45681B80
45681B40
45981B80
45981B40
45C81B80
45C81B40
45F81B80
45F81B40
46281B80
46281B40
46581B80
46581B40
46881B80
46881B40
46B81B80
46B81B40
46E81B80
46E81B40
47181B80
47181B40
47481B80
47481B40
47781B80
47781B40
47A81B80
47A81B40
47D81B80
47D81B40
48081B80
48081B40
48381B80
48381B40
48681B80
48681B40
48981B80
48981B40
48C81B80
48C81B40
48F81B80
48F81B40
49281B80
49281B40
49581B80
49581B40
49881B80
49881B40
49B81B80
49B81B40
49E81B80
49E81B40
4A181B80
4A181B40
4A481B80
4A481B40
4A781B80
4A781B40
4AA81B80
4AA81B40
4AD81B80
4AD81B40
4B081B80
4B081B40
4B381B80
4B381B40
4B681B80
4B681B40
4B981B80
4B981B40
4BC81B80
4BC81B40
4BF81B80
4BF81B40
4C281B80
4C281B40
4C581B80
4C581B40
4C881B80
4C881B40
4CB81B80
4CB81B40
4CE81B80
4CE81B40
4D181B80
4D181B40
4D481B80
4D481B40
4D781B80
4D781B40
4DA81B80
4DA81B40
4DD81B80
4DD81B40
4E081B80
4E081B40
4E381B80
4E381B40
4E681B80
4E681B40
4E981B80
4E981B40
4EC81B80
4EC81B40
4EF81B80
4EF81B40
4F281B80
4F281B40
4F581B80
4F581B40
4F881B80
4F881B40
4FB81B80
4FB81B40
4FE81B80
4FE81B40
50181B80
50181B40
50481B80
50481B40
50781B80
50781B40
50A81B80
50A81B40
50D81B80
50D81B40
51081B80
51081B40
51381B80
51381B40
21000000
23000000
00000000

 

NHD‐0420DZW‐AB5 Lines

Started by RickJBoard OLEDs

Replies: 1
Views: 5035
Last post January 09, 2015, 04:18:32 PM
by Michael_L
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

Replies: 5
Views: 11804
Last post June 18, 2014, 10:09:49 AM
by Michael_L
Problem with WHITE COLOR CHAR on NHD-0440WH-ATMI-JT with 2 lines

Started by Mic71Board Character LCDs

Replies: 1
Views: 1007
Last post November 21, 2018, 01:33:08 PM
by Alee_S
EVE2 TFT Module VHDL Code Support (NHD-3.5-320240FT-CSXN-CTP)

Started by bivinBoard TFTs

Replies: 0
Views: 2513
Last post March 19, 2018, 12:06:34 AM
by bivin
NHD-0420H1Z-FL-GBW-33V3 - 2 Lines Mode Problem

Started by gnyturanBoard Character LCDs

Replies: 6
Views: 6705
Last post October 29, 2015, 01:23:58 PM
by Saurabh_B