Skip to content

Commit

Permalink
Fix autocalibrate in teletext 12bpp mode
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Dec 15, 2021
1 parent 00f49a3 commit d84104b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/rgb_to_fb.S
Expand Up @@ -3090,8 +3090,9 @@ scan_for_single_pixels_12bpp:
mov r2, #0
mov r3, #0xff
orr r3, r3, #0xff00
ldr r12, [r0]
and r12, r12, r3 //first pixel used as background colour reference
//ldr r12, [r0]
//and r12, r12, r3 //first pixel used as background colour reference
mov r12, #0x7000 //black with alpha = 7 (i.e. dimmed)
mov r4, #0 //pixel 6
mov r5, #0 //pixel 7
mov r6, #0 //pixel 8
Expand Down

0 comments on commit d84104b

Please sign in to comment.