aboutsummaryrefslogtreecommitdiffstats
path: root/display.v
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-09-17 06:53:54 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-09-17 06:53:54 +0000
commit897a2965629e5a5873492d9b06edd4b7d50c44b9 (patch)
tree0d431ee6da6dadbfdd27a77de45f2283bfabb455 /display.v
parent387791bfff608734392447e73a85e80ffea880d0 (diff)
downloadabc80-897a2965629e5a5873492d9b06edd4b7d50c44b9.tar.gz
abc80-897a2965629e5a5873492d9b06edd4b7d50c44b9.tar.xz
abc80-897a2965629e5a5873492d9b06edd4b7d50c44b9.zip
Handle more control codes correctly
Diffstat (limited to 'display.v')
-rw-r--r--display.v17
1 files changed, 10 insertions, 7 deletions
diff --git a/display.v b/display.v
index 39ea78e..2a8f328 100644
--- a/display.v
+++ b/display.v
@@ -164,15 +164,18 @@ module display (
fg <= thischar[2:0];
isgraph <= thischar[4];
end
- 5'b1100x:
- isflsh <= thischar[0];
- 5'h19:
+ 5'b0100x:
+ isflsh <= ~thischar[0];
+ 5'b11001:
isgsep <= 1'b0;
- 5'h1A:
+ 5'b11010:
isgsep <= 1'b1;
- 5'h1C:
- bg <= 3'b000;
- 5'h1D:
+ 5'b11100:
+ begin
+ bg <= 3'b000;
+ fg <= bg;
+ end
+ 5'b11101:
begin
bg <= fg;
fg <= 3'b000;