mirror of
https://github.com/alangarf/apple-one.git
synced 2024-06-02 04:41:26 +00:00
Updated DE0 project to fix lumination bug in VGA.
This commit is contained in:
parent
157af7c111
commit
9357c5b5dd
|
@ -64,7 +64,7 @@ module apple1_de0_top #(
|
||||||
clk25 <= ~clk25;
|
clk25 <= ~clk25;
|
||||||
end
|
end
|
||||||
|
|
||||||
wire r_bit, g_bits, b_bits;
|
wire r_bit, g_bit, b_bit;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// Core of system
|
// Core of system
|
||||||
|
@ -92,12 +92,9 @@ module apple1_de0_top #(
|
||||||
);
|
);
|
||||||
|
|
||||||
// set the monochrome base colour here..
|
// set the monochrome base colour here..
|
||||||
assign VGA_R[3] = r_bit;
|
assign VGA_R[3:0] = {4{r_bit}};
|
||||||
assign VGA_G[3] = g_bit;
|
assign VGA_G[3:0] = {4{g_bit}};
|
||||||
assign VGA_B[3] = b_bit;
|
assign VGA_B[3:0] = {4{b_bit}};
|
||||||
assign VGA_R[2:0] = 3'b000;
|
|
||||||
assign VGA_G[2:0] = 3'b000;
|
|
||||||
assign VGA_B[2:0] = 3'b000;
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// Display 6502 address on 7-segment displays
|
// Display 6502 address on 7-segment displays
|
||||||
|
|
Loading…
Reference in New Issue
Block a user