1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-01-27 04:11:51 +00:00

[ATARI ST] CPU bug fix. Fixes MAGIC620 ROM

This commit is contained in:
Till Harbaum
2015-11-22 21:37:57 +01:00
parent 39e78de9b2
commit a598847eb9

View File

@@ -1660,7 +1660,7 @@ PROCESS (clk, cpu, OP1out, OP2out, opcode, exe_condition, nextpass, micro_state,
trapmake <= '1';
END IF;
ELSE --chk
IF opcode(7)='1' THEN
IF opcode(7)='1' AND opcode(5 downto 0) /= "111111" THEN
datatype <= "01"; --Word
set(trap_chk) <= '1';
IF (c_out(1)='0' OR OP1out(15)='1' OR OP2out(15)='1') AND exec(opcCHK)='1' THEN