mirror of
https://github.com/MiSTer-devel/Gameboy_MiSTer.git
synced 2026-05-17 03:03:43 +00:00
T80: skip byte after a stop opcode, fixes the Konami Collection Startup bugs
This commit is contained in:
committed by
GitHub
parent
f75bc918a5
commit
6602ca8795
@@ -1170,9 +1170,15 @@ begin
|
||||
when "11101001" =>
|
||||
-- JP (HL)
|
||||
JumpXY <= '1';
|
||||
when "00010000" =>
|
||||
if Mode = 3 then
|
||||
when "00010000" =>
|
||||
if Mode = 3 then -- STOP and skip next byte
|
||||
MCycles <= "010";
|
||||
I_DJNZ <= '1';
|
||||
case to_integer(unsigned(MCycle)) is
|
||||
when 2 =>
|
||||
Inc_PC <= '1';
|
||||
when others => null;
|
||||
end case;
|
||||
elsif Mode < 2 then
|
||||
-- DJNZ,e
|
||||
MCycles <= "011";
|
||||
|
||||
Reference in New Issue
Block a user