Skip to content

Commit

Permalink
corrects blue line one the left in Outrun credits, by shifting the ti…
Browse files Browse the repository at this point in the history
…lemaps one pixel to the left
  • Loading branch information
jotego committed May 9, 2024
1 parent d7cdc1b commit f3c1149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cores/outrun/hdl/jtoutrun_video.v
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jtoutrun_road u_road(
.ioctl_addr ( ioctl_addr )
);
/* verilator tracing_off */
jts16_tilemap #(.MODEL(1)) u_tilemap(
jts16_tilemap #(.MODEL(1),.SCR2_DLY(10'd10)) u_tilemap(
.rst ( rst ),
.clk ( clk ),
.pxl2_cen ( pxl2_cen ),
Expand Down
4 changes: 2 additions & 2 deletions cores/s16/hdl/jts16_tilemap.v
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ parameter MODEL = 1;
// leftmost pixel of the screen is $00B6, and the rightmost is $1F5."
parameter [8:0] HB_END = 9'h0bf;

localparam [9:0] SCR2_DLY= MODEL ? 10'd9 : 10'd17;
localparam [9:0] SCR1_DLY= SCR2_DLY;
parameter [9:0] SCR2_DLY= MODEL ? 10'd9 : 10'd17;
parameter [9:0] SCR1_DLY= SCR2_DLY;

assign flipx = flip;
assign ext_flip = flip;
Expand Down

0 comments on commit f3c1149

Please sign in to comment.