diff options
author | hpa <hpa@trantor.hos.anvin.org> | 2008-12-22 12:06:23 -0800 |
---|---|---|
committer | hpa <hpa@trantor.hos.anvin.org> | 2008-12-22 12:06:23 -0800 |
commit | 4fce22f9566f27ed87c906c09b0b575207b1661f (patch) | |
tree | 922a81a5379c600fcdb25e1e7950afe6aa7839d9 /display.v | |
parent | 7cc0ac95ae8d8392fcd0ca90560c66b3e975caab (diff) | |
download | abc80-4fce22f9566f27ed87c906c09b0b575207b1661f.tar.gz abc80-4fce22f9566f27ed87c906c09b0b575207b1661f.tar.xz abc80-4fce22f9566f27ed87c906c09b0b575207b1661f.zip |
display.v: fix HIDE and FLSH in the presence of DBLE
Use the proper row attributes for HIDE and FLSH.
Diffstat (limited to 'display.v')
-rw-r--r-- | display.v | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -114,6 +114,8 @@ module display ( wire [2:0] bg = wasdble ? oldbg : curbg; wire [7:0] somechar = wasdble ? thatchar : thischar; wire gsep = wasdble ? wasgsep : isgsep; + wire do_flsh = wasdble ? wasflsh : isflsh; + wire do_hide = wasdble ? washide : ishide; // Address mapping for 80 characters; for 40 characters // we shift this left by 1 @@ -153,7 +155,7 @@ module display ( always @(posedge clk) begin if ( xvideo & yvideo ) - if ( pixrow[7] & ~(isflsh & flash_blank) & ~(ishide & ~reveal) ) + if ( pixrow[7] & ~(do_flsh & flash_blank) & ~(do_hide & ~reveal) ) begin rgb[5] <= fg[2] ^ iflash; rgb[4] <= fg[2] ^ iflash; |