1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 23:54:41 +00:00

C64: remove unused CTRL-D cart detach key

Bug: #127
This commit is contained in:
Gyorgy Szombathelyi
2019-11-09 14:50:55 +01:00
parent a4e82ddd83
commit 5f4274f811
3 changed files with 1 additions and 15 deletions

View File

@@ -54,8 +54,6 @@ entity fpga64_keyboard_matrix is
trace2Key : out std_logic;
disk_num : out std_logic_vector(7 downto 0);
cart_detach_key : out std_logic; -- CTRL D - remove active cartridge signal - LCA
tapPlayStopKey: out std_logic;
-- Config
@@ -367,7 +365,6 @@ begin
videoKey <= '0';
joySelKey <= '0';
diskChgKey <= '0';
cart_detach_key <= '0';
tapPlayStopKey <= '0';
if newScanCode = '1' then
if theScanCode=X"F0" then
@@ -407,14 +404,7 @@ begin
when X"1E" => key_2 <= not releaseFlag;
when X"21" => key_C <= not releaseFlag;
when X"22" => key_X <= not releaseFlag;
when X"23" => -- key_D - if CTRL-D the detach cartridge else its a "D" - LCA
if key_ctrl = '1' then
cart_detach_key <= '1';
else
-- if releaseFlag = '0' then
key_D <= not releaseFlag;
-- end if;
end if;
when X"23" => key_D <= not releaseFlag;
when X"24" => key_E <= not releaseFlag;
when X"25" => key_4 <= not releaseFlag;
when X"26" => key_3 <= not releaseFlag;

View File

@@ -44,7 +44,6 @@ entity fpga64_sid_iec is
kbd_clk : in std_logic;
kbd_dat : in std_logic;
reset_key : out std_logic;
cart_detach_key : out std_logic;
tap_playstop_key : out std_logic;
-- external memory
@@ -805,7 +804,6 @@ div1m: process(clk32) -- this process devides 32 MHz to 1MHz (for the SID)
trace2Key => trace2Key,
reset_key => reset_key,
restore_key => restore_key,
cart_detach_key => cart_detach_key, -- cartridge detach key CTRL-D - LCA
tapPlayStopKey => tap_playstop_key,
disk_num => disk_num,

View File

@@ -403,7 +403,6 @@ end component cartridge;
signal potB_x : std_logic_vector(7 downto 0);
signal potB_y : std_logic_vector(7 downto 0);
signal reset_key : std_logic;
signal cart_detach_key :std_logic; -- cartridge detach key CTRL-D - LCA
signal c64_r : std_logic_vector(5 downto 0);
signal c64_g : std_logic_vector(5 downto 0);
@@ -1097,7 +1096,6 @@ begin
c64rom_addr => c64rom_addr,
c64rom_data => ioctl_data,
c64rom_wr => c64rom_wr,
-- cart_detach_key => cart_detach_key,
tap_playstop_key => tap_playstop_key,
reset_key => reset_key
);