1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-01-26 20:01:48 +00:00

TG68K fix, fixing EmuTOS problems

This commit is contained in:
Till Harbaum
2016-06-03 11:21:42 +02:00
parent 0ab0768f59
commit 7693765c78

View File

@@ -1133,11 +1133,15 @@ PROCESS (clk, IPL, setstate, state, exec_write_back, set_direct_data, next_micro
end if;
nextpass <= '0';
elsif setopcode='1' THEN
opcode <= X"4E71"; --nop
elsif setinterrupt = '1' then
opcode(15 downto 12) <= X"7"; --moveq
opcode(8 downto 6) <= "001"; --word
nextpass <= '0';
else
-- if setnextpass='1' or (regdirectsource='1' and state="00") then
if setnextpass = '1' or regdirectsource = '1' then
nextpass <= '1';