Skip to content

Commit

Permalink
Add a VGA Output option for choosing centering
Browse files Browse the repository at this point in the history
  • Loading branch information
gyurco committed Nov 21, 2018
1 parent e5dec43 commit 45593ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mist/MSX.sv
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ parameter CONF_STR = {
"O45,Slot2,Empty,MegaSCC+ 2MB,MegaRAM 1MB,MegaRAM 2MB;",
"O6,RAM,2048kB,4096kB;",
"O7,Swap joysticks,No,Yes;",
"O8,VGA Output,CRT,LCD;",
"T0,Reset;",
"V,v1.0.",`BUILD_DATE
};
Expand Down Expand Up @@ -193,7 +194,7 @@ wire msx_ps2_kbd_data = (ps2_kbd_data == 1'b0 ? ps2_kbd_data : 1'bZ);
reg [7:0] dipsw;

always @(posedge clk_sys) begin
dipsw <= {1'b0, ~status[6], ~status[5:4], ~status[3], ~scandoubler_disable, scandoubler_disable, ~status[2]};
dipsw <= {1'b0, ~status[6], ~status[5:4], ~status[3], ~scandoubler_disable & status[8], scandoubler_disable, ~status[2]};
end

always_comb begin
Expand Down

0 comments on commit 45593ad

Please sign in to comment.