Skip to content

Commit

Permalink
disable Y inversion in CGA modes
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed May 28, 2021
1 parent 26ef6f1 commit 8d371fd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/capture_line_ntsc_8bpp.S
Expand Up @@ -365,9 +365,9 @@ done_non_white\@:
mov r11, r11, lsr #4
bic r11, #0x00003000

tst r12, #NTSC_Y_INVERT
eorne r8, r8, #(0x12 << PIXEL_BASE)
eorne r8, r8, #(0x12 << (PIXEL_BASE + 6))
// tst r12, #NTSC_Y_INVERT
// eorne r8, r8, #(0x12 << PIXEL_BASE)
// eorne r8, r8, #(0x12 << (PIXEL_BASE + 6))

and r9, r8, #(0x07 << PIXEL_BASE)

Expand Down Expand Up @@ -446,9 +446,9 @@ done_non_white\@:
mov r11, r11, lsr #2
bic r11, #0x00003000

tst r12, #NTSC_Y_INVERT
eorne r8, r8, #(0x12 << PIXEL_BASE)
eorne r8, r8, #(0x12 << (PIXEL_BASE + 6))
// tst r12, #NTSC_Y_INVERT
// eorne r8, r8, #(0x12 << PIXEL_BASE)
// eorne r8, r8, #(0x12 << (PIXEL_BASE + 6))

and r9, r8, #(0x07 << PIXEL_BASE)

Expand Down

0 comments on commit 8d371fd

Please sign in to comment.