mirror of
https://github.com/UzixLS/TSConf_MiST.git
synced 2025-07-18 14:51:25 +03:00
Update sys.
This commit is contained in:
35
TSConf.sv
35
TSConf.sv
@ -1,8 +1,8 @@
|
||||
//============================================================================
|
||||
// Atari 800 replica
|
||||
// TSConf for MiSTer
|
||||
//
|
||||
// Port to MiSTer
|
||||
// Copyright (C) 2017,2018 Sorgelig
|
||||
// Copyright (C) 2017-2019 Sorgelig
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU General Public License as published by the Free
|
||||
@ -48,6 +48,8 @@ module emu
|
||||
output VGA_HS,
|
||||
output VGA_VS,
|
||||
output VGA_DE, // = ~(VBlank | HBlank)
|
||||
output VGA_F1,
|
||||
output [1:0] VGA_SL,
|
||||
|
||||
output LED_USER, // 1 - ON, 0 - OFF.
|
||||
|
||||
@ -94,9 +96,30 @@ module emu
|
||||
output SDRAM_nCS,
|
||||
output SDRAM_nCAS,
|
||||
output SDRAM_nRAS,
|
||||
output SDRAM_nWE
|
||||
output SDRAM_nWE,
|
||||
|
||||
input UART_CTS,
|
||||
output UART_RTS,
|
||||
input UART_RXD,
|
||||
output UART_TXD,
|
||||
output UART_DTR,
|
||||
input UART_DSR,
|
||||
|
||||
// Open-drain User port.
|
||||
// 0 - D+/RX
|
||||
// 1 - D-/TX
|
||||
// 2..5 - USR1..USR4
|
||||
// Set USER_OUT to 1 to read from USER_IN.
|
||||
input [5:0] USER_IN,
|
||||
output [5:0] USER_OUT,
|
||||
|
||||
input OSD_STATUS
|
||||
);
|
||||
|
||||
assign USER_OUT = '1;
|
||||
assign VGA_F1 = 0;
|
||||
assign {UART_RTS, UART_TXD, UART_DTR} = 0;
|
||||
|
||||
assign LED_USER = (vsd_sel & sd_act) | ioctl_download;
|
||||
assign LED_DISK = {1'b1, ~vsd_sel & sd_act};
|
||||
assign LED_POWER = 0;
|
||||
@ -129,7 +152,7 @@ localparam CONF_STR = {
|
||||
"-;",
|
||||
"R0,Reset and apply settings;",
|
||||
"J,Fire 1,Fire 2;",
|
||||
"V,v1.20.",`BUILD_DATE
|
||||
"V,v",`BUILD_DATE
|
||||
};
|
||||
|
||||
wire [27:0] CMOSCfg;
|
||||
@ -352,13 +375,15 @@ end
|
||||
assign CLK_VIDEO = clk_vid;
|
||||
|
||||
wire [1:0] scale = status[2:1];
|
||||
assign VGA_SL = {scale == 3, scale == 2};
|
||||
|
||||
video_mixer video_mixer
|
||||
(
|
||||
.*,
|
||||
.clk_sys(clk_vid),
|
||||
.ce_pix_out(CE_PIXEL),
|
||||
|
||||
.scanlines({scale == 3, scale == 2}),
|
||||
.scanlines(0),
|
||||
.scandoubler(scale || forced_scandoubler),
|
||||
.hq2x(scale==1),
|
||||
.mono(0)
|
||||
|
Reference in New Issue
Block a user