summaryrefslogtreecommitdiffstats
path: root/de1/fpga-bbc-pq/master/saa5050-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'de1/fpga-bbc-pq/master/saa5050-fixes.patch')
-rw-r--r--de1/fpga-bbc-pq/master/saa5050-fixes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/de1/fpga-bbc-pq/master/saa5050-fixes.patch b/de1/fpga-bbc-pq/master/saa5050-fixes.patch
new file mode 100644
index 0000000..060f2f6
--- /dev/null
+++ b/de1/fpga-bbc-pq/master/saa5050-fixes.patch
@@ -0,0 +1,13 @@
+diff --git a/saa5050.vhd b/saa5050.vhd
+index f198aa8..573aaa3 100644
+--- a/saa5050.vhd
++++ b/saa5050.vhd
+@@ -274,7 +274,7 @@ begin
+ -- character and separated/hold graphics modes apply.
+ -- We don't just assume this to be the case if gfx=1 because
+ -- these modes don't apply to caps even in graphics mode
+- if rom_data(7) = '1' then
++ if rom_data(7) = '1' and rom_data(6)='0' then
+ -- Apply a mask for separated graphics mode
+ if gfx_sep = '1' then
+ shift_reg(5) <= '0';