FIxed Bug, when no Boot rom was inserted

This commit is contained in:
MHeinrichs
2022-03-12 21:52:16 +01:00
parent 876b2adb5b
commit e2a09186e2
2 changed files with 1010 additions and 1004 deletions
+8 -2
View File
@@ -464,7 +464,13 @@ begin
when "100110" => when "100110" =>
Dout1 <= "1111" ; Dout1 <= "1111" ;
if(RW='0')then if(RW='0')then
AUTO_CONFIG_DONE_CYCLE <= AUTO_CONFIG_DONE-1; --done here if(AUTO_CONFIG_DONE = 3)then
AUTO_CONFIG_DONE_CYCLE <= "10"; --done here
elsif(AUTO_CONFIG_DONE = 2)then
AUTO_CONFIG_DONE_CYCLE <= ('0' & IDE_OFF); --done here, if Autoboot_off = 0 skip ide part!
elsif(AUTO_CONFIG_DONE = 1)then
AUTO_CONFIG_DONE_CYCLE <= "00"; --done here
end if;
end if; end if;
when others => Dout1 <= "1111" ; when others => Dout1 <= "1111" ;
end case; end case;
@@ -550,7 +556,7 @@ begin
DQ <= D_IN when (RW='0' and AS='0' and (lan_adr ='0' or cp ='0' or ide ='0')) or SET_FREQUENCY ='1' DQ <= D_IN when (RW='0' and AS='0' and (lan_adr ='0' or cp ='0' or ide ='0')) or SET_FREQUENCY ='1'
else (others => '1') when (RW='1' and AS='1' and ide ='0') -- The bus must be cleared to avoid a hang, if no IDE drive is attached else (others => '0') when (RW='1' and AS='1' and ide ='0') -- The bus must be cleared to avoid a hang, if no IDE drive is attached
else (others => 'Z'); else (others => 'Z');
IDE_W <= IDE_W_S when AS = '0' else '1'; IDE_W <= IDE_W_S when AS = '0' else '1';
File diff suppressed because it is too large Load Diff