Commit 848e5c2

Nick committed on
Add register debugging
commit 848e5c2d38de8ce47f0675f5ae669e0138bf1a3f parent e34da70
1 changed files +1−0
Modifiedmainloop.pas +1−0
@@ -305,6 +305,7 @@ begin
305 end; // Set the Carry-Flag to zero 305 end; // Set the Carry-Flag to zero
306 if (RomName[2] <> 'A') and (code <> 118) then Writeln('OP ', code); 306 if (RomName[2] <> 'A') and (code <> 118) then Writeln('OP ', code);
307 Count := z80[code]; 307 Count := z80[code];
308 if (RomName[2] <> 'A') and (code <> 118) then Writeln('REGS pc=', pc.w, ' sp=', sp_.w, ' af=', af.w, ' hl=', hl.w, ' bc=', bc.w, ' de=', de.w);
308 SoundUpdate(Count * (3 - gb_speed)); 309 SoundUpdate(Count * (3 - gb_speed));
309 cnumber := Count div gb_speed; 310 cnumber := Count div gb_speed;
310 311