huc6272: Change KING green border to black

This commit is contained in:
David Hunter
2026-04-25 23:13:21 -07:00
parent fd2324957b
commit fb4a38d0e4
3 changed files with 14 additions and 10 deletions

View File

@@ -77,8 +77,11 @@ always @(posedge CLK) begin
end
end
// Use U/V=128, because yuv2rgb converts all zeros to green.
localparam [23:0] PD_BLACK = {8'd0, 8'd128, 8'd128};
always @* begin
cgpd = '0;
cgpd = PD_BLACK;
if (RENDER) begin
if (format_clr_16m) begin
// 16M CG is ordered in KRAM as {Y0,Y1,U,V}.
@@ -90,7 +93,7 @@ end
always @(posedge CLK) begin
if (~RESn) begin
cgpdo <= '0;
cgpdo <= PD_BLACK;
cgpdeo <= '0;
end
else if (cgrce) begin

View File

@@ -28,7 +28,7 @@ initial begin
$dumpfile("pcfx_top_tb.vcd");
$dumpvars();
`else
#(222e3) $dumpfile("pcfx_top_tb.verilator.fst");
#(215e3) $dumpfile("pcfx_top_tb.verilator.fst");
$dumpvars();
`endif
end
@@ -513,7 +513,7 @@ end
initial begin
@(running) ;
//repeat (4) #(1000e3) ;
#(300e3) ;
#(230e3) ;
`ifdef SAVE_SRAMS
if (bk_ena) begin

View File

@@ -1,12 +1,12 @@
[*]
[*] GTKWave Analyzer v4.0.0-prealpha (8ba24ab+) (w)1999-2022 BSI
[*] Wed Apr 15 04:23:59 2026
[*] Sun Apr 26 06:12:22 2026
[*]
[dumpfile] "/Users/dhunter/src/mister/PCFX_MiSTer/rtl/tb/pcfx_top_tb.verilator.fst"
[dumpfile_mtime] "Wed Apr 15 03:57:18 2026"
[dumpfile_size] 52875093
[dumpfile_mtime] "Sun Apr 26 06:09:47 2026"
[dumpfile_size] 8279202
[savefile] "/Users/dhunter/src/mister/PCFX_MiSTer/rtl/tb/pcfx_top_tb.verilator.gtkw"
[timestart] 248156930
[timestart] 215000000
[size] 1334 601
[pos] -1 -1
*-11.858119 248168920 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
@@ -83,6 +83,7 @@ pcfx_top_tb.pcfx_top.bk_sdrd_din[31:0]
pcfx_top_tb.pcfx_top.bk_sdrd_dout[31:0]
pcfx_top_tb.pcfx_top.sdbuf_a[7:0]
pcfx_top_tb.pcfx_top.sdbuf_din[15:0]
@23
pcfx_top_tb.pcfx_top.sdbuf_dout[15:0]
@28
pcfx_top_tb.pcfx_top.sdbuf_rden
@@ -91,7 +92,7 @@ pcfx_top_tb.pcfx_top.bmp_rom_inserted
@22
pcfx_top_tb.pcfx_top.bmp_ioctl_blk_cnt[31:0]
pcfx_top_tb.pcfx_top.bmp_sd_blk_cnt[31:0]
@1001200
@1000200
-pcfx_top
@800200
-sdram
@@ -102,7 +103,7 @@ pcfx_top_tb.pcfx_top.sdram.ch2_req
pcfx_top_tb.pcfx_top.sdram.ch2_ready
pcfx_top_tb.pcfx_top.sdram.ch3_req
pcfx_top_tb.pcfx_top.sdram.ch3_ready
@23
@22
pcfx_top_tb.pcfx_top.sdram.refresh_wait[3:0]
@1000200
-sdram