From: Bernhard Urban Date: Fri, 21 May 2010 17:29:50 +0000 (+0200) Subject: display: farben ftw X-Git-Tag: abgabe~69 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hwmod.git;a=commitdiff_plain;h=cc4034555bcd150fbcb82e5b3610c3648d1ec617 display: farben ftw --- diff --git a/src/display.vhd b/src/display.vhd index e374f7e..ccb8ba3 100644 --- a/src/display.vhd +++ b/src/display.vhd @@ -249,22 +249,21 @@ begin case state_int is when S_INIT => null; - -- TODO: coole farben when S_PS1_0 => command_next <= COMMAND_SET_CHAR; - command_data_next <= x"ffffff" & x"28"; -- '(' + command_data_next <= x"0000ff" & x"28"; -- '(' when S_PS1_1 => command_next <= COMMAND_SET_CHAR; - command_data_next <= x"ffffff" & zeile2char(d_zeile_int,1); -- 'x' + command_data_next <= x"00ff00" & zeile2char(d_zeile_int,1); -- 'x' when S_PS1_2 => command_next <= COMMAND_SET_CHAR; - command_data_next <= x"ffffff" & zeile2char(d_zeile_int,2); -- 'y' + command_data_next <= x"00ff00" & zeile2char(d_zeile_int,2); -- 'y' when S_PS1_3 => command_next <= COMMAND_SET_CHAR; - command_data_next <= x"ffffff" & x"29"; -- ')' + command_data_next <= x"0000ff" & x"29"; -- ')' when S_PS1_4 => command_next <= COMMAND_SET_CHAR; - command_data_next <= x"ffffff" & x"24"; -- '$' + command_data_next <= x"00ffff" & x"24"; -- '$' when S_PS1_5 => command_next <= COMMAND_SET_CHAR; command_data_next <= x"ffffff" & x"20"; -- ' ' @@ -299,10 +298,9 @@ begin command_next <= COMMAND_SET_CHAR; command_data_next <= x"ffffff" & x"0a"; -- newline - -- TODO: coole farben when S_READ_RESULT_0 => command_next <= COMMAND_SET_CHAR; - command_data_next <= x"ffffff" & x"3e"; -- '>' + command_data_next <= x"ff0000" & x"3e"; -- '>' when S_READ_RESULT_1 => command_next <= COMMAND_SET_CHAR; command_data_next <= x"ffffff" & x"20"; -- ' '